Bug#1061166: qt6-gtk-platformtheme: GTK Theme not applied on wayland unless QT_QPA_PLATFORM=xcb is set
Package: qt6-gtk-platformtheme
Version: 6.6.1+dfsg-6
Severity: normal
X-Debbugs-Cc: kocelfc@tutanota.com
Dear Maintainer,
When using Gnome/Wayland, if you install qt6-gtk-platformtheme, and try to run
qbittorrent for example, you can notice that it's using a generic qt6 theme,
and not the one that the system is using. Cursor size is also messed up. This
can be worked around by setting `QT_QPA_PLATFORM=xcb`. The environmental
variable is not needed when using X11.
Steps to reproduce:
1. Have a working GNOME setup
2. Log into a wayland session
3. Install qt6-gtk-platformtheme and qbittorrent
4. Run qbittorrent and notice that the theme is all messed up.
5. Try running it as follows: `QT_QPA_PLATFORM=xcb qbittorrent` or start it
from an X11 session, and notice that the proper theming is applied.
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.5.0-5-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages qt6-gtk-platformtheme depends on:
ii libc6 2.37-13
ii libgdk-pixbuf-2.0-0 2.42.10+dfsg-3
ii libglib2.0-0 2.78.3-1
ii libgtk-3-0 3.24.39-1
ii libpango-1.0-0 1.51.0+ds-3
ii libqt6core6 [qt6-base-private-abi] 6.6.1+dfsg-6
ii libqt6gui6 6.6.1+dfsg-6
ii libstdc++6 13.2.0-9
ii libx11-6 2:1.8.7-1
qt6-gtk-platformtheme recommends no packages.
qt6-gtk-platformtheme suggests no packages.
-- no debconf information
Reply to: