Bug 332377 - Popup menu highlight doesn't disappear if moving the mouse very fast
Summary: Popup menu highlight doesn't disappear if moving the mouse very fast
Status: RESOLVED FIXED
Alias: None
Product: Oxygen
Classification: Plasma
Component: style (show other bugs)
Version: 4.11.6
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Hugo Pereira Da Costa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-20 21:24 UTC by Albert Astals Cid
Modified: 2015-05-20 13:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot showing the problem (34.44 KB, image/png)
2014-03-20 21:24 UTC, Albert Astals Cid
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Albert Astals Cid 2014-03-20 21:24:45 UTC
Created attachment 85654 [details]
Screenshot showing the problem

This is tricky to reproduce, but what i do is:
 * Open a popup menu that is very long (in my case right click on a kmail folder, but i could reproduce it also in short konversation menu that apears on right click over the chat view)
 * Move the mouse like crazy up and down over the menu

Eventually you end up with two rows highlighted, the one where your mouse is resting and one where it had been previously but failed to unhighlight
Comment 1 Christoph Feck 2014-03-20 21:52:21 UTC
This could be a duplicate of bug 307372, depending on whether the same code is used to handle the hover animations in QMenu and QMenuBar.
Comment 2 Eike Hein 2015-01-23 22:29:23 UTC
This still happens with the Qt 5 version, and is fairly easy to reproduce with menu items above a separator.
Comment 3 Albert Astals Cid 2015-05-15 22:39:31 UTC
Fixed my own bug, one year later, reviews plz?

https://git.reviewboard.kde.org/r/123807/
Comment 4 Albert Astals Cid 2015-05-20 13:04:09 UTC
Git commit b680714d4845aef3ad44c39b6e48e029f000a62d by Albert Astals Cid.
Committed on 20/05/2015 at 13:02.
Pushed by aacid into branch 'Plasma/5.3'.

Fix popup menu items getting stray highlighted

Make sure we "finish" the animation before stopping it.

Moved the mouse like crazy over the "Help" menu of konsole and can't get it to be wrong anymore.
REVIEW: 123807

Acked by Lukáš Tinkl and David Edmundson

M  +4    -1    kstyle/animations/oxygenmenubardata_imp.h

http://commits.kde.org/oxygen/b680714d4845aef3ad44c39b6e48e029f000a62d