Hi Michael!

On Mon, Nov 28, 2022 at 02:24:29AM +0100, Michael Biebl wrote:
> Hi,
>
> after the lasted update of Qt5, the window decorations of KDE/Qt apps
> look out-of place under GNOME/Wayland.
>
> I've attached a before and after the upgrade screenshot.
> Keepassxc on the after screenshot doesn't use matching window
> decorations anymore.

This is caused by the change [1] that enabled native Wayland support on GNOME.
Now we don't need XWayland which is a big improvement in my opinion.

As a side effect, window decorations are now client-side (drawn by Qt itself),
not server-side.

There is a qgnomeplatform theme [2][3] which makes Qt draw decorations which
look better in a GNOME environment. After installing, you can enable it by
exporting QT_QPA_PLATFORMTHEME=gnome somewhere.

Do you think there is anything else I can do to improve the situation?

[1]: https://salsa.debian.org/qt-kde-team/qt/qtbase/-/commit/7e0886e100cb79f5
[2]: https://github.com/FedoraQt/QGnomePlatform
[3]: https://tracker.debian.org/pkg/qgnomeplatform

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature

Reply via email to