Created attachment 133043 [details]
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
Menu outline isn't visible and other elements that cover the area of the outline appear to "stick out".
Menu outline should appear as it does with dark based color schemes.
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.20.2
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
This affects all light color schemes, 3rd party too.
Inside Qt Widget apps the bug doesn't appear.
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
M +2 -2 kstyle/breezestyle.cpp