FedoraQt / QGnomePlatform

QPlatformTheme for a better Qt application inclusion in GNOME
GNU Lesser General Public License v2.1
263 stars 38 forks source link

Titlebar is always dimmed on Qt5 Wayland #125

Closed Eloston closed 1 year ago

Eloston commented 1 year ago

Not sure if this is a known issue, but here we are.

Because of 6a3e8ffa83fff2cd33cb1ce1726566587d43311f, Qt5 applications running on Wayland will always have their titlebar in an inactive/unfocused state. Reverting this commit seems to restore the correct behavior.

Environment:

grulja commented 1 year ago

cc: @polter-rnd

polter-rnd commented 1 year ago

Looks like it's because https://github.com/FedoraQt/QGnomePlatform/commit/6a3e8ffa83fff2cd33cb1ce1726566587d43311f was aimed on Fedora-patched Qt and works incorrectly on vanilla 5.15.2 (which did not have that problem with titlebar dimming originally), sorry. I will look in detail later, will try to fix for both