[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-frameworks-devel
Subject: Re: KGuiAddons and QGestures like tap/click-and-hold to open context menu?
From: René_J.V. Bertin <rjvbertin () gmail ! com>
Date: 2017-03-15 10:08:24
Message-ID: 6215554.qGtEnaXXVj () bola
[Download RAW message or body]
Either way it remains tricky business doing this without any knowledge about the \
widget that's being grabbed. I've already seen cases where you open a menu with a \
single mouse click and then the context menu appeared as well a short while later.
That looks as if even the standard behaviour of keeping menus open after a single \
click is implemented by simuling a form of tap-and-hold gesture. I ought to be able \
to ungrab the gesture explicitly when I receive a MouseButtonRelease event, but can't \
do that unless I can determine that the object didn't already grab the gesture before \
I subscribed it myself.
R.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic