https://bugs.kde.org/show_bug.cgi?id=446937

            Bug ID: 446937
           Summary: Wrong menu background color with QtCurve when changing
                    color scheme in Kate
           Product: kate
           Version: 21.12.0
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: wks1...@gmail.com
  Target Milestone: ---

Created attachment 144513
  --> https://bugs.kde.org/attachment.cgi?id=144513&action=edit
Screenshot. QtCurve. Sys: Breeze Light; Kate: Breeze Dark

SUMMARY
When using QtCurve Qt theme, menu color does not change when changed "color
scheme" in the Settings menu in Kate.

STEPS TO REPRODUCE
0.  Set up system environment
    a.  Use KDE plasma desktop.
    b.  Install QtCurve Qt theme.  On ArchLinux, the package name is
`qtcurve-kde`.
1.  Use the "System Settings" app (systemsettings5) to set system-wide themes
and color scheme.
    a.  Set system-wide Qt theme (Application style) to QtCurve.
    b.  Set system-wide color scheme (Colors) to a light one, such as "Breeze
Light".
2. Start kate.
3. In Kate, use menu "settings" -> "color scheme" to choose a dark color
scheme, such as "Breeze Dark"
4. Open any menu from the menu bar, such as clicking the "Tools" menu.

OBSERVED RESULT
The menu background is still the color of the global color scheme (Breeze
Light).  The menu text seems to follow Kate's setting (Breeze Dark, in which
case the text is light).  This makes the light text invisible on light
background.

EXPECTED RESULT
I expect the menu background to follow the color scheme set in Kate (Breeze
Dark), too.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: ArchLinux, Kernel: 5.15.7-arch1-1 (64-bit)
(available in About System)
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Graphics Platform: X11
qtcurve-kde: 1.9-5 (ArchLinux package)

ADDITIONAL INFORMATION
This problem seems to only affect the QtCurve engine.  However, QtCurve
actually supports both dark and light color schemes.  If I set global color
scheme to dark, and leave Kate's color scheme to Default, the menu will be
displayed properly in the dark style.  And if I change the global color scheme
while Kate is running, the menu color scheme in Kate will change properly.

I tried other engines/styles, including Breeze, Fusion, "MS Windows 9x", and
Oxygen, and they work fine with light system color scheme and dark Kate color
scheme.

As for Kvantum, the widgets disobey both the system and the Kate color scheme
settings anyway.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to