Bug 247389 - Popup menu item hover decoration color not always correct
Summary: Popup menu item hover decoration color not always correct
Status: RESOLVED FIXED
Alias: None
Product: Oxygen
Classification: Plasma
Component: style (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Hugo Pereira Da Costa
URL:
Keywords:
: 247595 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-11 16:32 UTC by Eike Hein
Modified: 2010-08-14 13:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of context menu showing the problem (153.48 KB, image/png)
2010-08-11 16:32 UTC, Eike Hein
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***