Bug 324470

Summary: Minimize/maximize by clicking taskbar entries requires double click.
Product: [Unmaintained] plasma4 Reporter: nickpantazis <pantazisnikolaos>
Component: widget-taskbarAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: aljazek, aroth, bugs, cfeck, dode, dweeble01103, eric.martin-9o8we5mw, hein, holo-doc, myriam, nicolas, volkerarmin
Priority: NOR    
Version: 4.11.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 4.11.2
Sentry Crash Report:

Description nickpantazis 2013-09-03 17:07:13 UTC
Minimize/maximize by clicking the taskbar entries of the programs running requires double click.

Reproducible: Always
Comment 1 Eike Hein 2013-09-03 17:12:16 UTC
This has been mentioned in bug 323067 and might have been caused by kde-runtime commit 98f86dc1, however neither me nor several testers I asked were able to reproduce this using various different settings. At this time better steps or conditions for reproducing would help tremendously.
Comment 2 Christoph Feck 2013-09-03 17:21:04 UTC
If launchers are part of the task manager, then bug 324469 might be a duplicate.

Eike, I could not yet find any setting that causes it. I see the bug whatever setting I change.
Comment 3 Eike Hein 2013-09-03 17:22:18 UTC
*** Bug 324469 has been marked as a duplicate of this bug. ***
Comment 4 Eike Hein 2013-09-03 17:25:50 UTC
Christoph, would you be willing to set up a new user account and see if it occurs there, and if not, make that user's Plasma config closer and closer to your normal one until it occurs? I'm not sure this is a good use of time frankly, I only have a vague notion it might be affected by the exact topology of the QGS tree in the panel somehow. The real solution is probably auditing the kde-runtime MouseEventListener code once more, or at least trying to find an alternate solution instead of what 98f86dc1 did.
Comment 5 Eike Hein 2013-09-03 18:31:56 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 324471

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

http://commits.kde.org/kde-runtime/be1a5d484c70f4f6a383150810afbfbb367db2ac
Comment 6 Eike Hein 2013-09-03 18:35:30 UTC
The above patch was actually designed to fix bug 324471, but Christoph says it also addressed this one for him - the problems are all closely related and uncovered by 98f86dc1 no longer clobbering the recorded event with an ungrab from the popup menu.
Comment 7 Eike Hein 2013-09-03 19:46:22 UTC
*** Bug 324475 has been marked as a duplicate of this bug. ***
Comment 8 Nicolas 2013-09-04 07:39:42 UTC
I can confirm that this patch fixes the issue with the double-click to maximize
Comment 9 Christoph Feck 2013-09-05 19:40:30 UTC
*** Bug 324563 has been marked as a duplicate of this bug. ***
Comment 10 Volker Hemmann 2013-09-05 20:25:19 UTC
this patch fixes the problem for me too
Comment 11 Aljaž Kolšek 2013-09-07 05:58:51 UTC
Can you help me apply this patch? I don't know how to do it. Thank you!
Comment 12 eric.martin-9o8we5mw 2013-09-07 10:01:21 UTC
How can I apply patch on ubuntu 13.04? Thanks
Comment 13 Claudio 2013-09-07 10:19:18 UTC
Hi

Today I updated Kubuntu 13.04 to KDE 4.11.1 and got also hit by this bug. To circumvent it until a patch arrives in Kubuntu you could just disable "Show tooltips" which removes the need for double click.
Comment 14 Eike Hein 2013-09-07 12:26:45 UTC
*** Bug 324612 has been marked as a duplicate of this bug. ***
Comment 15 Eike Hein 2013-09-07 17:46:35 UTC
*** Bug 324621 has been marked as a duplicate of this bug. ***
Comment 16 Eike Hein 2013-09-07 18:13:01 UTC
*** Bug 324626 has been marked as a duplicate of this bug. ***