One of the 100+(?) update sessions during the past ~ 10 weeks rendered Qt-based programs useless, not working.
This seems to have happened to others in the past 3 years. None of the reported solutions, if any, seems suited for my system, but point into the direction that the configuration might have been corrupted by one (or more) of the updates.
Current system: Linux 6.5.5-1-MANJARO, X11, Gnome 44.5
And qt-theming.sh that I found in /etc/profile.d:
# Available options: gtk2, gnome, kde, qt5ct, xcb
# Note: Don't use in combination with QT_STYLE_OVERRIDE
export QT_QPA_PLATFORMTHEME="qt5ct"
# Available styles: HighContrastInverse, HighContrast, Adwaita-HighContrastInverse,
# Adwaita-HighContrast, Adwaita-Dark, Adwaita, kvantum-dark, kvantum, qt5ct-style,
# Windows, Fusion
# Note: Don't use in combination with QT_QPA_PLATFORMTHEME
#export QT_STYLE_OVERRIDE=""
Perhaps there are other components of the configuration that I havenāt found.
If you generated that text fom the commandline using cat, or similar, then prefix the command with LC_ALL=C to have the output in English, without unexpected artifacts; for example:
LC_ALL=C cat /etc/profile.d/qt-theming.sh
Note: This also applies to any command output requested.
You may need to provide more information for anyone to answer that question. The following tutorials may potentially help:
Post error messages from a qt application that doesnāt work. Try to start one then use journalctl -S -2m --no-pager to get the last 2 minutes of system log.
Well, in those tutorials, for example, you might have noticed that placing all that pasted text between backticks (```), top and bottom, would have produced a more human-readable preformatted text container:
Hi, I am an example of preformatted text.
Each line of the original text stays on it own
line, and makes it easier to read.
The information was important as it helps others to help you. For example, knowing your system information may help someone decide if an issue is a commonly known problem, or specific to your system.
Weāre here to help, if we can, but you need to help us too; weāre not mind-readers.
All the Qt applications donāt work anymore.
Or, they pretend to work (open and close (on clicking the āĆā in Gnomeās extra decoration (title bar)) without complaint), but the graphics is corrupt and clicks in the applicationās window hardly work at all, at least donāt work as they did before.
E.g. settings manager:
Icon and title clipped and clicking has either no effect or effects nothing but an eternal hourglass mouse pointer.
And they donāt send error messages - journalctl doesnāt get any related information.
(If any reader knows an easy markdown editor with preview and integrated cheat sheet, please let me know!)
How long is it since you updated your system? Not too long, I imagine, judging by the kernel. You might try reverting to the 6.1 LTS kernel to see if that makes any difference.
Without results from commands such as that given by MrLavender above, itās difficult for anyone to diagnose.
The problem seems to be in the system configuration (hopefully not deeper) and affects all users.
If I knew where to find all files for Qt-related settings ā¦
(the (only) one Iāve found so far and have reported in #1, doesnāt seem to affect it - or I donāt know how to change that file effectively)
⦠I could check them one by one and try to fix the problem there.
The original of that config-file, /etc/profile.d/qt-theming.sh is dated 23-08-30.
So I assume that the update of 8/30 has caused the problems.
(there have been more than 50 further updates in the meantime)
The point is, thatās a script; and it seems as it should be, at first glance. Itās likely that didnāt need to be upgraded, so it wasnāt. If your theory is based solely on the content of that script, itās probably wrong.
The problem is something else. Being that youāre using Gnome, which I have no interest in, itās likely Iām no direct help, but Iām sure someone else might be. Help them as much as you can. If someone asks you do do something, do it, and more importantly, report back the results.
Well, didnāt take that long.
⦠and didnāt seem to keep the promise: most of the files show hardly any relation to Qt-fine-tuning.
And most are specific for one (and only that one) application: so cannot contain a setting affecting all Qt-applications simultaneously.
BUT: thereās one exception.
/etc/profile.d/high-dpi-support-in-qt.sh
Have seen that earlier, but never thought it could have an effect for my ordinary 2K-Monitor (all but high-dpi).
But It has!!
Setting the QT_AUTO_SCREEN_SCALE_FACTOR (from 1.0) to 0.8 reveals a larger part of the Qt-applicationās window ā¦
Iām afraid itās not that simple. But it points in the decisive direction.
Itās about a global scale factor. And the one I used to get Gnome using the screen estate in a sensible way, i. e. not destroying it (the screen estate) by abusing 60% of it for its huge decorations.
⦠and yes I see why Gnome has lost popularity. Versions >4 make it more and more useless. But itās the only DE I found that allows to have two docks, a horizontal and a vertical one at 2 sides of the screen (via its extensions dash to panel and dash to dock) and an applications overview without a multiply nested menu.
Need to find another way to scale the Gnome - back to a gnome from the bloated giant.
p.s.: This topic is definitely solved - at a high price.
Fear that current Gnomes require an 8k Monitor or better to become sensible - but that would be a new topic.
(Still donāt know why it had worked before that update.)
Donāt get it to work: āxrandr: Configure crtc 0 failedā
Would probably need umpteen additional settings.
And: " This article or section is out of date ⦠Gnome Shell Toolkit ⦠looks unmaintained since 2009"
But I donāt think that this direction to fix these new display problems of Qt applications will work ever.
My Notebook with a <2 k display works perfectly including Qt with Linux 6.4.14-1 and Gnome 44.4 ⦠and doesnāt complain about pending updates although I just switched it on after almost 3 months of inactivity.
ā All the ~100 update sessions since end of August on this (ādesktopā) computer ¹ seem to have tried Linux 6.5 related bug fixing - to no avail.
¹) currently with Linux 6.5.5-1 and Gnome 44.5
p.s.: Well, the notebook does offer almost 3GB of updates ā¦
But Iām not going to kill my only flawlessly working Manjaro installation before Iāve prepared the space for Timeshift and configured it.