Summary: | Popup menu item hover decoration color not always correct | ||
---|---|---|---|
Product: | [Plasma] Oxygen | Reporter: | Eike Hein <hein> |
Component: | style | Assignee: | Hugo Pereira Da Costa <hugo.pereira.da.costa> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hugo.pereira.da.costa, kdebug |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Screenshot of context menu showing the problem |
Any chance you try reproduce with older version of kde ? (like 4.4) ? This code has not changed at all (I think) for a long time ... Sorry, got no 4.4 anymore. ok. I can reproduce. As far as I know the bug was also there in 4.4 Its due to the fact that for submenu items the background color is not blended to the menu background (unlike other items). Fixing now. Cool :) SVN commit 1162679 by hpereiradacosta: Fixed checkAutoFillBackground to avoid false positive on QMenu. BUG: 247389 M +2 -0 oxygenhelper.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1162679 SVN commit 1162683 by hpereiradacosta: Backport r1162679 Fixed checkAutoFillBackground to avoid false positive on QMenu. CCBUG: 247389 M +2 -0 oxygenhelper.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1162683 *** Bug 247595 has been marked as a duplicate of this bug. *** |
Created attachment 50013 [details] Screenshot of context menu showing the problem With current Oxygen trunk, the popup menu item hover decoration sometimes has the wrong color. A reproducable test case is the context menu of file items in Plasma Folder View widgets. See the attached screenshot. This was originally reported by Nece228 in #oxygen on Freenode IRC.