Bug 324471

Summary: Right clicking a minimized program in the task bar does not work a second time.
Product: [Plasma] plasma4 Reporter: nickpantazis <pantazisnikolaos>
Component: widget-taskbarAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: hein
Priority: NOR    
Version: 4.11.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 4.11.2

Description nickpantazis 2013-09-03 17:15:10 UTC
1. Minimize a program
2. Right click on it.
3. Right click on it again and again.
No right click options are shown for the program.

Reproducible: Always
Comment 1 Eike Hein 2013-09-03 17:17:32 UTC
Reproduced - seems to go away if you move the mouse out of the task inbetween right-clicks, though, which hints at yet another bug in kde-runtime's MouseEventListener and might be related to bug 323067 and bug 324470.
Comment 2 Eike Hein 2013-09-03 17:21:13 UTC
Actually, any mouse movement inbetween right-clicks is enough, so it's probably a consequence of kde-runtime 98f86dc1 - previously the Ungrab event caused by the popup menu opening would result in the recorded last event being discarded, now it's kept and the identical events are ignored. This is a lesser issue than the one 98f86dc1 fixed - a crash - but still a problem of course. Not immediately seeing a way out though, either behavior is broken ...
Comment 3 Eike Hein 2013-09-03 18:31:57 UTC
Git commit be1a5d484c70f4f6a383150810afbfbb367db2ac by Eike Hein.
Committed on 03/09/2013 at 18:29.
Pushed by hein into branch 'KDE/4.11'.

Discard the recorded events in the item-local handlers.

Solves problems with identical events being ignored due to
QGraphicsView's reuse of QGraphicsSceneMouseEvent instances.

CCMAIL:rdieter@fedoraproject.org
Related: bug 324470

M  +4    -0    plasma/declarativeimports/qtextracomponents/mouseeventlistener.cpp

http://commits.kde.org/kde-runtime/be1a5d484c70f4f6a383150810afbfbb367db2ac