FS#71541 - [telegram-desktop] telegram-desktop doesn't work after update to 2.8.11-1

Attached to Project: Community Packages
Opened by Nick Novikov (novns) - Sunday, 18 July 2021, 17:16 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 02 August 2021, 02:59 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Jiachen Yang (farseerfc)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 8
Private No

Details

Gnome with all extenstions disabled.

telegram-desktop doesn't work after update to 2.8.11-1


It starts, there are two processes, but no window anywhere:

6457 ? Sl 0:00 \_ /usr/bin/telegram-desktop -basegtkintegration :1.212 org.telegram.desktop.BaseGtkIntegration-870a3dfc19d4f5513cd82393a94839c0
6459 ? Sl 0:00 \_ /usr/bin/telegram-desktop -gtkintegration :1.212 org.telegram.desktop.GtkIntegration-870a3dfc19d4f5513cd82393a94839c0


Here are the error messages:

(telegram-desktop:6450): Telegram-WARNING **: 01:07:51.294: Application was built without embedded fonts, this may lead to font issues.
(telegram-desktop:6450): GLib-GObject-WARNING **: 01:07:51.371: cannot register existing type 'GtkWidget'
(telegram-desktop:6450): GLib-GObject-CRITICAL **: 01:07:51.371: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(telegram-desktop:6450): GLib-GObject-WARNING **: 01:07:51.371: cannot register existing type 'GtkBuildable'
(telegram-desktop:6450): GLib-GObject-CRITICAL **: 01:07:51.371: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed
(telegram-desktop:6450): GLib-CRITICAL **: 01:07:51.371: g_once_init_leave: assertion 'result != 0' failed
(telegram-desktop:6450): GLib-GObject-CRITICAL **: 01:07:51.371: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(telegram-desktop:6450): GLib-GObject-CRITICAL **: 01:07:51.371: g_type_register_static: assertion 'parent_type > 0' failed
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Monday, 02 August 2021, 02:59 GMT
Reason for closing:  Fixed
Comment by Nick Novikov (novns) - Sunday, 18 July 2021, 20:54 GMT
I've found that it doesn't work with QT_QPA_PLATFORMTHEME=gtk2

The previous version of Telegram showed warnings about this variable and ignored it.
New version doesn't warn anymore but fails to show the window.

It shall be unset explicitely for the Telegram app somehow.

(edit: spelling)
Comment by Nick Novikov (novns) - Sunday, 18 July 2021, 21:22 GMT
And the variable QT_STYLE_OVERRIDE shall be unset too.
Comment by Ilya Fedin (ilya-fedin) - Sunday, 18 July 2021, 21:44 GMT
New versions splitted gtk usage to separate processes, so it's supposed to work. This is some bug.
Comment by Adam Hirst (aphirst) - Monday, 19 July 2021, 15:39 GMT
The issue seems to persist with 2.8.11-2 from earlier today.
Comment by Ilya Fedin (ilya-fedin) - Tuesday, 20 July 2021, 04:48 GMT Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 01 August 2021, 23:06 GMT
Should be fixed now. Please confirm.
Comment by Nick Novikov (novns) - Monday, 02 August 2021, 02:35 GMT
It works now.

Thank you!

Loading...