FS#78458 - Telegram desktop crashes after opening photo or video

Attached to Project: Community Packages
Opened by Aria Moradi (ArMor007) - Tuesday, 09 May 2023, 17:35 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 09 May 2023, 21:31 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Telegram desktop crashes on start up or hangs when opening images.

The only output I get when opening from terminal is
```
QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter
```
A window opens but doesn't show anything.

An issue has already been opened upstream but it seems that it is an Archlinux issue: https://github.com/telegramdesktop/tdesktop/issues/26237

Additional info:
* package version(s): telegram-desktop 4.8.1-2
* config and/or log files etc. : no special config, running `i3-wm` and `picom`
* link to upstream bug report, if any : attached
This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 09 May 2023, 21:31 GMT
Reason for closing:  Not a bug
Comment by Aria Moradi (ArMor007) - Tuesday, 09 May 2023, 17:38 GMT
Same issue running telegram-desktop-bin from the aur, though logs are different

```
(telegram-desktop:23847): Gtk-WARNING **: 21:08:37.937: Theme parsing error: gtk.css:1649:16: '-gtk-icon-size' is not a valid property name

(telegram-desktop:23847): Gtk-WARNING **: 21:08:37.937: Theme parsing error: gtk.css:1652:16: '-gtk-icon-size' is not a valid property name
Gtk-Message: 21:08:37.948: Failed to load module "colorreload-gtk-module"
Gtk-Message: 21:08:37.948: Failed to load module "window-decorations-gtk-module"

```
Comment by Aria Moradi (ArMor007) - Tuesday, 09 May 2023, 20:47 GMT
The issue was fixed after reinstalling mesa and all pipewire and qt5 related packages.

Loading...