Bug 247389

Summary: Popup menu item hover decoration color not always correct
Product: [Plasma] Oxygen Reporter: Eike Hein <hein>
Component: styleAssignee: 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

Description Eike Hein 2010-08-11 16:32:57 UTC
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.
Comment 1 Hugo Pereira Da Costa 2010-08-11 17:33:58 UTC
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 ...
Comment 2 Eike Hein 2010-08-11 18:03:03 UTC
Sorry, got no 4.4 anymore.
Comment 3 Hugo Pereira Da Costa 2010-08-11 21:56:24 UTC
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.
Comment 4 Eike Hein 2010-08-11 21:59:25 UTC
Cool :)
Comment 5 Hugo Pereira Da Costa 2010-08-12 14:22:56 UTC
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
Comment 6 Hugo Pereira Da Costa 2010-08-12 14:29:45 UTC
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
Comment 7 Christoph Feck 2010-08-14 13:49:35 UTC
*** Bug 247595 has been marked as a duplicate of this bug. ***