Ungrab mouse in taskmanager context menu
ClosedPublic

Authored by anthonyfieroni on Feb 9 2017, 5:26 AM.

Details

Summary

In Qt 5.8, but i'm pretty sure i'm see it in Qt 5.7, ungrabMouse called in show() does not work (i don't know why).

Test Plan

Right click on task -> Start new instance -> mouse is still grabbed -> left click in taskmanager will activate element right clicked on it.

Diff Detail

Repository
R119 Plasma Desktop
Lint
Lint Skipped
Unit
Unit Tests Skipped
anthonyfieroni retitled this revision from to Ungrab mouse in taskmanager context menu.
anthonyfieroni updated this object.
anthonyfieroni edited the test plan for this revision. (Show Details)
anthonyfieroni set the repository for this revision to R119 Plasma Desktop.
anthonyfieroni added a subscriber: Plasma.
Restricted Application added a project: Plasma. · View Herald TranscriptFeb 9 2017, 5:26 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
hein edited edge metadata.Feb 9 2017, 8:29 AM

Then maybe you can remove the call in show() ...?

anthonyfieroni edited edge metadata.
anthonyfieroni removed R119 Plasma Desktop as the repository for this revision.

Remove call to ungrabMouse in show()

anthonyfieroni set the repository for this revision to R119 Plasma Desktop.
hein accepted this revision.Feb 9 2017, 11:28 AM
hein edited edge metadata.
This revision is now accepted and ready to land.Feb 9 2017, 11:28 AM

Qt 5.8 has annoying bug, dismiss context menu by left clicking excatly over other window (not desktop or taskmanager) grabbing stays in taskmanager. I will investigate for workaround, if someone has a purpose i'll be happy :)

Qt 5.8 has annoying bug, dismiss context menu by left clicking excatly over other window (not desktop or taskmanager) grabbing stays in taskmanager. I will investigate for workaround, if someone has a purpose i'll be happy :)

did you find a solution for this?

this must be also relevant to my report: https://bugreports.qt.io/browse/QTBUG-59044
is there any other qt ticket for this?