Artix Linux => Applications & Software => Topic started by: anoki on 17 July 2022, 20:53:56
Title: Qt File Dialog Freezes in most Qt-based applications
Post by: anoki on 17 July 2022, 20:53:56
When I try to save or choose a file from within some applications, the system get freezed and after some long time it might respond, or I find myself ought to restart the machine.
Examples of apps I faced that have this problem in dealing with files: ScreenGrab Telegram-desktop Falkon Transmission-qt
But for apps that use gtk file chooser, I have no problem in saving or opening files inside the application.
Anybody have this issue or have a solution please?
Title: Re: Qt File Dialog Freezes in most Qt-based applications
Post by: cat herders of linux on 17 July 2022, 21:39:23
when i have trouble with a buggy program i start it in a terminal and try to see if there's any output that might be relevant. since you have at least 4 you could try all 4 from a terminal and see whats what. and if it locks up you kill the terminal to get your system unstuck?
Title: Re: Qt File Dialog Freezes in most Qt-based applications
Post by: Hitman on 18 July 2022, 16:38:14
What desktop are you using? Run "env | grep qt" in a terminal, maybe you have some envir. variables weirdly set
Title: Re: Qt File Dialog Freezes in most Qt-based applications
Post by: anoki on 19 July 2022, 13:05:39
when i have trouble with a buggy program i start it in a terminal and try to see if there's any output that might be relevant. since you have at least 4 you could try all 4 from a terminal and see whats what. and if it locks up you kill the terminal to get your system unstuck?
Even if I start it from a terminal, I cannot kill it, because the system doesn't respond at all. When I run Falkon or ScreenGrab from the terminal, they don't give any error messages, although they get stuck, but after some time, they can unfreeze again.
For telegram, it gives me these errors, and when it gets stuck, all the system gets stuck forever, unless I press the power button:
Even if I start it from a terminal, I cannot kill it, because the system doesn't respond at all. When I run Falkon or ScreenGrab from the terminal, they don't give any error messages, although they get stuck, but after some time, they can unfreeze again.
For telegram, it gives me these errors, and when it gets stuck, all the system gets stuck forever, unless I press the power button:
qt.gui.imageio.jpeg: Corrupt JPEG data: premature end of data segment qt.svg: Error while inflating gzip file: SVG format check failed
those error messages seem to suggest your icon images aren't working or are corrupt. can i ask what theme are you using on lxqt? this could be a simple themeing issue that lxqt cant render?
Title: Re: Qt File Dialog Freezes in most Qt-based applications
Post by: anoki on 23 July 2022, 12:50:52
those error messages seem to suggest your icon images aren't working or are corrupt. can i ask what theme are you using on lxqt? this could be a simple themeing issue that lxqt cant render?
Thanks for your reply. After your message, I tried several themes, among them: breeze, Numix, Arch-color, Artix-dark... etc. After trying each one, I restart the system and try running the problematic apps, but the problem still exist.
I tried changing "Widget Style", "Icon Theme", "LXQt Theme", and "GTK Style" with no avail.
For Telegram, I temporarily bypassed its issue by downloading and running the official app from their site, which run without installation.
Title: Re: Qt File Dialog Freezes in most Qt-based applications
Post by: gavincc on 23 July 2022, 15:29:52
I'm running lxqt for quite a few months without issue for transmission-qt or screengrab (or anything else), so the question is: on initial install, did these issues exist or did they appear later, maybe after a certain package was installed from aur etc?
Title: Re: Qt File Dialog Freezes in most Qt-based applications
Post by: cat herders of linux on 23 July 2022, 17:37:29
maybe adjust the settings in the theme to select different icon sets? The only other thing is perhaps like was said above, maybe you installed something from the aur with a different version of qt that is causing a conflict?