Bug 498001

Summary: Breeze-GTK theme artifact bugs on toggle window button
Product: [Plasma] Breeze Reporter: ZhMstr <hzmasterg9>
Component: gtk themeAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UPSTREAM    
Severity: normal CC: agrinev98, duha.bugs, nate, uhhadd
Priority: NOR    
Version: 6.2.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: KDE Bug Breeze/GTK Video

Description ZhMstr 2024-12-29 00:57:31 UTC
Bug more involved with GTK Breeze theme rather QT

When using GTK Styles in KDE > Configurations > Breeze, apps that recolorize window topbar will break while active. In example of gnome-abrt, it makes no render with broken drawing (nodraw?), until you toggle off button.
If you use any other theme, like Adwaita or Emacs, it will work normally. But not with Breeze theme.
  
SUMMARY

STEPS TO REPRODUCE
1. KDE Settings > App Styles > GTK Styles > Breeze
2. Open an app that has app topbar recoloring, in my case was gnome-abrt
3. Click the ✔️/✅ button in left side, above crash list sidebar.
4. Now the window topbar will be broke because theme until you toggle off.

OBSERVED RESULT
Broken drawing artifacts, like you move and it keeps repeating in frame.

EXPECTED RESULT
Maybe recolor app window topbar with preset color and invert any attached buttons in window topbar.

SOFTWARE/OS VERSIONS
Windows: -
macOS: -
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Fedora Linux 41
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1 
Kernel Version: 6.12.6-200.fc41.x86_64 (64-bit) (prob unnecessary)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2025-01-04 04:40:12 UTC
Can you attach a screen recording that shows the issue happening?
Comment 2 ZhMstr 2025-01-07 23:02:22 UTC
Created attachment 177185 [details]
KDE Bug Breeze/GTK Video

alr, here it is.
Comment 3 Nate Graham 2025-01-08 16:32:56 UTC
Well that's very strange.

Unfortunately this can't be an issue with the Breeze GTK theme itself as it's just a bunch of CSS. It's more likely to be an issue in GTK handling themes being swapped out at runtime, which would make it a GTK bug.