QT applications don't respect environment or mouse cursor
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtbase-opensource-src (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Using Ubuntu 22.04 (very recent fresh installation)
QT applications use X11 by default instead of Wayland. This leads to incomplete menus and all sorts of graphical glitches. The workaround is to add export QT_QPA_
[Icon Theme]
Inherits=DMZ-White
which is strange because the default mouse cursor theme is Yaru nowadays and not DMZ-White. However, DMZ-White seems to have been the default in the past (I might be wrong on this), suggesting that those lines are a relic of older Ubuntu versions. Changing the above DMZ-White to Yaru (and deleting the corresponding line in .profile) solves the issue as well (presumably now for all users on this machine).
These commands, or an equivalent configuration, should be the default (it's not clear why QT applications are not supposed to use the default environment). Regarding mouse cursor I would also add: when opening a QT application without having done any of the above, the mouse cursor doesn't change. It only happens when the app is made to run using Wayland that the mouse cursor changes. The right top buttons of the window (close, maximize, minimize) also change to a different, "retro" design with Wayland (not with X11, despite all the other glitches), which is clearly not Yaru or even Adwaita.
A standard Ubuntu installation, even though it comes with GNOME, should expect users to install QT based applications at some point. They should use Wayland and use the default mouse cursor size and theme with no manual intervention by the user.
description: | updated |
affects: | launchpad → qtbase-opensource-src (Ubuntu) |