Bug 414591 - Chromium with CSD: Minimize and Maximize buttons have no distinct clicked state
Summary: Chromium with CSD: Minimize and Maximize buttons have no distinct clicked state
Status: CONFIRMED
Alias: None
Product: Breeze
Classification: Plasma
Component: gtk theme (show other bugs)
Version: 5.17.3
Platform: unspecified All
: NOR minor
Target Milestone: ---
Assignee: Janet Blackquill
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-28 02:01 UTC by Patricio Villar
Modified: 2020-03-30 14:29 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Firefox 74 using CSD (1.60 MB, video/webm)
2020-03-30 13:06 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patricio Villar 2019-11-28 02:01:55 UTC
SUMMARY
Maximize button doesn't visually change when toggled.

STEPS TO REPRODUCE
1. Open a GTK3 app
2. Press 'Maximize' button
3. Window gets maximized, yet the button stays the same

OBSERVED RESULT
Maximize button remains unchanged

EXPECTED RESULT
Show the 'Restore' button

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.17.3
KDE Frameworks Version: 5.64.0
Qt Version: 5.13.2
Operating System: FreeBSD 12.1-RELEASE

ADDITIONAL INFORMATION
Bug (re)appeared since version ~5.17.0
Comment 1 Janet Blackquill 2019-11-28 02:45:35 UTC
Could you provide some information about the version of GTK? You can find it in the "General" tab of the GTK inspector. (https://wiki.gnome.org/Projects/GTK/Inspector)
Comment 2 Nate Graham 2019-11-28 04:21:17 UTC
Also, which GTK app? A GTK3 headerbar app, or a GTK3 app using the system-provided titlebar?
Comment 3 Patricio Villar 2019-11-28 11:02:35 UTC
(In reply to Carson Black from comment #1)
> Could you provide some information about the version of GTK? You can find it
> in the "General" tab of the GTK inspector.
> (https://wiki.gnome.org/Projects/GTK/Inspector)

Yeah, sorry. I'm using:
GTK3 version 3.24.10
And just realized it's not EVERY gtk3 app, but just the likes of GNOME apps which use their very own 'titlebar' (or headerbar in this case?). For example: Chromium browser
Comment 4 Patricio Villar 2019-11-28 11:06:26 UTC
(In reply to Nate Graham from comment #2)
> Also, which GTK app? A GTK3 headerbar app, or a GTK3 app using the
> system-provided titlebar?

Chromium browser, and GTK3 apps which use their own headerbar.
Nothing wrong with the system-wide window decorations, I believe this issue is GTK3-specific
Comment 5 Nate Graham 2019-11-30 06:13:16 UTC
Confirmed, and the Minimize button does the same thing. On;y in Chromium, though. Other GTK3 headerbar apps I've tried don't have this problem.
Comment 6 Patricio Villar 2019-11-30 14:37:27 UTC
(In reply to Nate Graham from comment #5)
> Confirmed, and the Minimize button does the same thing. On;y in Chromium,
> though. Other GTK3 headerbar apps I've tried don't have this problem.

Yep. My bad
Comment 7 Patrick Silva 2020-01-23 11:11:50 UTC
Cannot reproduce with chromium 79.0.3945.130 on Plasma 5.18 beta.

Operating System: Arch Linux 
KDE Plasma Version: 5.17.90
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.0
Comment 8 Nate Graham 2020-01-23 15:38:58 UTC
Bug persists for me with Chromium 79.0.3945.117 (openSUSE Build). Clicking the maximize button shows no distinct clicked state, and when maximized, the button does not change its appearance as it should.
Comment 9 Patrick Silva 2020-03-30 13:06:05 UTC
Created attachment 127107 [details]
Firefox 74 using CSD

Chromium is still working as expected here. But I can reproduce this issue with Firefox 74 using CSD.
Watch the attached screen recording please.

Operating System: Arch Linux 
KDE Plasma Version: 5.18.3
KDE Frameworks Version: 5.68.0
Qt Version: 5.14.1
Comment 10 Patrick Silva 2020-03-30 14:29:34 UTC
link to Firefox bug
https://bugzilla.mozilla.org/show_bug.cgi?id=1609927