FS#77477 - [telegram-desktop] Attach file dialog freezes

Attached to Project: Community Packages
Opened by Evgeny Veretennikov (vereten) - Monday, 13 February 2023, 04:39 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 08 March 2023, 21:00 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Felix Yan (felixonmars)
Jiachen Yang (farseerfc)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

"Attach file" dialog freezes a lot. See screencast in file telegram.mp4.

Version from https://desktop.telegram.org/ works smoothly. See screencast in file telegram_works.mp4.

I guess, the problem lies in the different file chooser. Seems like the version from upstream uses GTK file chooser, and the Arch version uses Qt file chooser, which doesn't work for me.

Additional info:
* package version(s): 4.6.2-2
* config and/or log files etc.: list of my packages https://gist.github.com/evis/288b0d3f83fd76bed0f2ef5302da2568
* link to upstream bug report, if any: not an upstream bug

Steps to reproduce:

1. Open any dialog.
2. Click "Attach file".

Expected behaviour: can choose file smoothly.

Actual behaviour: UI freezes a lot.
This task depends upon

Closed by  Toolybird (Toolybird)
Wednesday, 08 March 2023, 21:00 GMT
Reason for closing:  None
Additional comments about closing:  Reporter says "fixed the problem locally"
Comment by Sven-Hendrik Haase (Svenstaro) - Wednesday, 15 February 2023, 06:32 GMT
Hm I'm not really sure how telegram determines which file picker to use. Can you check with upstream?
Comment by Evgeny Veretennikov (vereten) - Wednesday, 08 March 2023, 19:43 GMT
I've fixed the problem: https://wiki.archlinux.org/title/qt#File_dialog_are_very_slow_and_crash_the_related_application

Removed file ~/.config/QtProject.conf, that helped

Loading...