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

            Bug ID: 511547
           Summary: Wrong background color in *top* tool bar after
                    switching to a different style
    Classification: Plasma
           Product: Breeze
      Version First unspecified
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Color scheme
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 186434
  --> https://bugs.kde.org/attachment.cgi?id=186434&action=edit
Source code for a small Qt application (in C++) to demonstrate the issue.

SUMMARY

The bizarre bug manifests after switching from Breeze to other Qt styles (e.g.
Fusion).

This issue was previously reported to Qt in
https://bugreports.qt.io/browse/QTBUG-141634 but, after some quick look at
Breeze's source code, it appears that Breeze _may_ be the culprit.

STEPS TO REPRODUCE
1. Start a Qt application (which would be using the Breeze style in Plasma).
2. Switch to Fusion (assuming the application permits the switch, like in the
`qt-tool-bars.cpp` attached example).
3. Attempt to set the `QPalette::window` / `QPalette::base` color in the Qt
application (again assuming the application offers this action).

OBSERVED RESULT
The top tool bar (if it exists in the application) shows a background color
that matches that color that Breeze would use.

EXPECTED RESULT
The top tool bar color should use the customized color set in the application
palette.

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

Reply via email to