Summary: | Context menu outline disappears with light color schemes | ||
---|---|---|---|
Product: | [Plasma] Breeze | Reporter: | PhilipB <filipebaltazar1> |
Component: | QStyle | Assignee: | Unassigned bugs mailing-list <unassigned-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | donoso.arn, kde, nate |
Priority: | HI | Keywords: | regression |
Version: | 5.20.2 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=428095 | ||
Latest Commit: | https://invent.kde.org/plasma/breeze/commit/20602d44341fd11de5a8221aa739ad35f1fcc988 | Version Fixed In: | 5.21 |
Sentry Crash Report: | |||
Attachments: | Bug Behavior |
Can confirm. I wonder if this, like Bug 428095, is another regression from fixing bug 399680. *** Bug 429949 has been marked as a duplicate of this bug. *** Is it only the plasma shell menu and menus for example in Dolphin are fine or all menus affected? A possibly relevant merge request was started @ https://invent.kde.org/plasma/breeze/-/merge_requests/69 Git commit 20602d44341fd11de5a8221aa739ad35f1fcc988 by Nate Graham, on behalf of David Redondo. Committed on 15/01/2021 at 16:18. Pushed by ngraham into branch 'master'. Restore correct menu border color cac4b544dbbadc5bcd57ae37ac333383bf44c2ab introduced drawing separators of transparent QMenus with WindowText color with 0.25 opacity. While the change in drawMenuItemControl uses the correct condition, drawPanelMenuPrimitive checked whether the widget had an alpha channel. This is wrong because we set Qt::WA_TranslucentBackground always on all menus. The very low opacity made it look like the section headers, separators and highlight were drawing outside of the menu. M +2 -2 kstyle/breezestyle.cpp https://invent.kde.org/plasma/breeze/commit/20602d44341fd11de5a8221aa739ad35f1fcc988 |
Created attachment 133043 [details] Bug Behavior SUMMARY Context menu outline disappears with light color schemes STEPS TO REPRODUCE 1- Select light based color scheme and Apply 2- Open context menu anywhere in plasma shell OBSERVED RESULT Menu outline isn't visible and other elements that cover the area of the outline appear to "stick out". EXPECTED RESULT Menu outline should appear as it does with dark based color schemes. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux KDE Plasma Version: 5.20.2 KDE Frameworks Version: 5.75.0 Qt Version: 5.15.1 ADDITIONAL INFORMATION This affects all light color schemes, 3rd party too. Inside Qt Widget apps the bug doesn't appear.