Bug 481935 - Not all window colors fully change when an inactive window is activated by opening one of its menus
Summary: Not all window colors fully change when an inactive window is activated by op...
Status: CONFIRMED
Alias: None
Product: Breeze
Classification: Plasma
Component: QStyle (other bugs)
Version First Reported In: 6.0.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-02-28 14:53 UTC by Unused Account
Modified: 2024-12-11 22:04 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Konsole (background) and Dolphin (foreground), showing the accent colour glitch. (94.64 KB, image/png)
2024-02-28 14:53 UTC, Unused Account
Details
dolphin's main window focused, settings subwindow unfocused (408.34 KB, image/png)
2024-12-11 22:04 UTC, Luis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Unused Account 2024-02-28 14:53:51 UTC
Created attachment 166158 [details]
Konsole (background) and Dolphin (foreground), showing the accent colour glitch.

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

Using the Breeze Light theme with accented title bars turned on (did not test Breeze Dark), activating a window by opening a menu results in the accent colour not being correctly set in the newly activated window. This does not occur in GTK apps using the Breeze-GTK theme, only Qt apps.


STEPS TO REPRODUCE
1. Have two windows open (e.g. Konsole and Dolphin)
2. Click on the inactive window's menu, which will activate the window and open the menu
3. The newly activated window's accent colour is not correctly set, specifically in the "header" area and menu bar.

OBSERVED RESULT
The accent colour is not correctly set in the newly active window

EXPECTED RESULT
The accent colour is correctly set

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.0-0.rc5.41.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 3800X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 570 Series
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X570 AORUS MASTER
System Version: -CF

ADDITIONAL INFORMATION
Comment 1 athaswildwhisper55232.untainted604 2024-02-28 15:51:48 UTC
Same thing with EndeavourOS (a derivative of Arch Linux) Plasma 6.0. via the "extra-testing" pacman repository.

Operating System: EndeavourOS 
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.6-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Celeron® N4100 CPU @ 1.10GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 600
System Version: 1.0
Comment 2 athaswildwhisper55232.untainted604 2024-02-28 16:04:43 UTC
More information:

This also happens in Plasma themes, too.

1. Create a separate color scheme from Breeze but check "tint all colors with accent colors", then save it as a separate file (ala-Material You).

https://files.catbox.moe/wqibfc.png

Notice the color of the dolphin icon in the Icons-only task manager does not change.

However, the folders in the dolphin app do change color.
Comment 3 Nate Graham 2024-03-01 20:27:43 UTC
Can reproduce. I *think* this is a Breeze QStyle bug, but it might also be something in KWin.

The presence or absence of accent colors also doesn't seem to be relevant. I can reproduce the issue with the standard color scheme and no manually set accent color, just the stock color-scheme-provided highlight color.
Comment 4 Luis 2024-12-11 22:04:02 UTC
Created attachment 176535 [details]
dolphin's main window focused, settings subwindow unfocused

This also happens here, notice the titlebar of the unfocused dolphin settings window.
Also, when taking screenshots of windows, the colors seem to be lost except in the main window's titlebar