#1053374 qgnomeplatform-qt5 fails to style window titlebar buttons

Package:
qgnomeplatform-qt5
Source:
qgnomeplatform-qt5
Description:
Qt 5 extra widget styles - GNOME Platform theme
Submitter:
Steven Jay Cohen
Date:
2023-10-11 09:57:04 UTC
Severity:
normal
Tags:
#1053374#5
Date:
2023-10-02 20:27:28 UTC
From:
To:
Dear Maintainer,

   * What led up to the situation?
Upgraded 1 computer from Stable (Bookworm) to Testing (Trixie).

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
Opened OcenAudio (ocenaudio.com) which had been properly styled when running
Stable.

   * What was the outcome of this action?
OcenAudio displays KDE-like titlebar buttons.

   * What outcome did you expect instead?
OcenAudio should display Gnome-like (Adwaita) titlebar buttons like it does
when running Stable.

#1053374#10
Date:
2023-10-09 16:55:29 UTC
From:
To:
On Mon, 02 Oct 2023 16:27:28 -0400 Steven Jay Cohen  <steven.jay.cohen@gmail.com> wrote:
 > Package: qgnomeplatform-qt5
 > Version: 0.9.2-1
 > Severity: important
 > X-Debbugs-Cc: steven.jay.cohen@gmail.com
 >
 > Dear Maintainer,
 >
 > * What led up to the situation?
 > Upgraded 1 computer from Stable (Bookworm) to Testing (Trixie).
 >
 > * What exactly did you do (or not do) that was effective (or
 > ineffective)?
 > Opened OcenAudio (ocenaudio.com) which had been properly styled when
running
 > Stable.
 >
 > * What was the outcome of this action?
 > OcenAudio displays KDE-like titlebar buttons.
 >
 > * What outcome did you expect instead?
 > OcenAudio should display Gnome-like (Adwaita) titlebar buttons like
it does
 > when running Stable.
 >
 >
 > -- System Information:
 > Debian Release: trixie/sid
 > APT prefers testing
 > APT policy: (500, 'testing')
 > Architecture: amd64 (x86_64)
 > Foreign Architectures: i386
 >
 > Kernel: Linux 6.5.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
 > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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 qgnomeplatform-qt5 depends on:
 > ii libadwaitaqt1 1.4.2-3
 > ii libc6 2.37-10
 > ii libgcc-s1 13.2.0-4
 > ii libgdk-pixbuf-2.0-0 2.42.10+dfsg-1+b1
 > ii libglib2.0-0 2.78.0-2
 > ii libgtk-3-0 3.24.38-5
 > ii libpango-1.0-0 1.51.0+ds-2
 > ii libqt5core5a [qtbase-abi-5-15-10] 5.15.10+dfsg-3
 > ii libqt5dbus5 5.15.10+dfsg-3
 > ii libqt5gui5 5.15.10+dfsg-3
 > ii libqt5quickcontrols2-5 5.15.10+dfsg-2
 > ii libqt5waylandclient5 [qtwayland-client-abi-5-15-10] 5.15.10-2
 > ii libqt5widgets5 5.15.10+dfsg-3
 > ii libstdc++6 13.2.0-4
 >
 > qgnomeplatform-qt5 recommends no packages.
 >
 > qgnomeplatform-qt5 suggests no packages.
 >
 > -- no debconf information
 >

 >

Hi Steven.

Just to clarify: This is just the window titlebars ? Does the "dark"
mode still work for you ?

I suspect upstream dropped the titlebar support in favour of
qadwaita-decorations [0]. fwiw, I started packaging it, and my local
package restores titlebars for me.

Enabling both features at the same time works. I'll see that I'll upload
it soon.

[0] https://github.com/FedoraQt/QAdwaitaDecorations

best,

#1053374#15
Date:
2023-10-11 08:25:49 UTC
From:
To:
forgot to cc the submitter.
#1053374#18
Date:
2023-10-11 08:25:49 UTC
From:
To:
forgot to cc the submitter.
#1053374#23
Date:
2023-10-11 09:06:32 UTC
From:
To:
The workaround I found was not needed previously and might provide a clue?

WORKAROUND:
Add the following line to ~/.profile:
export QT_QPA_PLATFORM=xcb

On Wed, Oct 11, 2023 at 4:25 AM Matthias Geiger <werdahias@riseup.net> wrote:

#1053374#28
Date:
2023-10-11 09:06:32 UTC
From:
To:
The workaround I found was not needed previously and might provide a clue?

WORKAROUND:
Add the following line to ~/.profile:
export QT_QPA_PLATFORM=xcb

On Wed, Oct 11, 2023 at 4:25 AM Matthias Geiger <werdahias@riseup.net> wrote:

#1053374#31
Date:
2023-10-11 09:06:32 UTC
From:
To:
The workaround I found was not needed previously and might provide a clue?

WORKAROUND:
Add the following line to ~/.profile:
export QT_QPA_PLATFORM=xcb

On Wed, Oct 11, 2023 at 4:25 AM Matthias Geiger <werdahias@riseup.net> wrote:

#1053374#36
Date:
2023-10-11 09:41:40 UTC
From:
To:
Control: -1 +tags confirmed, patch

I can confirm on my end that I can reproduce both the error and the fix
for the tiltlebar.

I think I'll upload a revision containing a notice mentioning this.
fwiw, using adwaita-decorations works too,

but it doesn't honor the GTK4 css (theme) yet.

Thanks for raising this bugreport and finding a fix !

#1053374#39
Date:
2023-10-11 09:41:40 UTC
From:
To:
Control: -1 +tags confirmed, patch

I can confirm on my end that I can reproduce both the error and the fix
for the tiltlebar.

I think I'll upload a revision containing a notice mentioning this.
fwiw, using adwaita-decorations works too,

but it doesn't honor the GTK4 css (theme) yet.

Thanks for raising this bugreport and finding a fix !