KGuiAddons and QGestures like tap/click-and-hold to open context menu?

Martin Gräßlin mgraesslin at kde.org
Mon Mar 13 18:37:45 UTC 2017



Am 13. März 2017 16:15:34 MEZ schrieb Kai Uwe Broulik <kde at privat.broulik.de>:
>>> Macs however always have two-fingers secondary click; their magic
>mouse have both (it's mouse-touchpad hybrid).
>
>If all else fails you could still Control click on Mac iirc.
>
>This feature would be useful for Plasma on touchscreens though, faking
>a right click on  *touch* long-press. Maybe that's an approach that's
>more pleasing to Martin G than doing that inside KWin which he said is
>the wrong place to do that.

It is not the wrong place, it is technically impossible to do it in KWin.
Generating context menu events must be in the applications. Only those can know what makes sense and know whether the touch event is handled or not.

In general I oppose the idea. I think we need to rethink and not emulating a decades old pattern, just because we don't have a better idea.
Especially in Plasma I would not like to see this. We can do better.

Cheers
Martin


More information about the Kde-frameworks-devel mailing list