ActionButton mouse area issue

Dirk Hohndel dirk at hohndel.org
Tue Feb 9 16:01:23 UTC 2016


On Tue, Feb 09, 2016 at 03:53:53PM +0100, Marco Martin wrote:
> On Tuesday 09 February 2016 14:38:42 Sebastian K├╝gler wrote:
> > > Sorry, that's just broken.
> > 
> > Can we make it react to horizontal swipe, but nothing else?
> 
> no, for how Qt events work, once it eats the events there, the events are 
> eaten and items under it will never receive anything.
> I think I would have to put in place a complicated (c++ based)  eventfilter 
> mechanism to do this

Yeah, I looked into that - way too complicated.

I'd go with the principle of least surprise here.

If there's only a small round button and the rest of that horizontal area
is visible "below" it, then the user will likely expect to be able to
interact with the button by "touching" the button and with what's shown
"below" it, otherwise.

Current Subsurface-mobile APKs are based on a forked version of
mobilecomponents (again) which implement just that.

/D


More information about the Plasma-devel mailing list