ActionButton mouse area issue

Marco Martin notmart at gmail.com
Tue Feb 9 15:17:57 UTC 2016


On Monday 08 February 2016 12:05:04 Dirk Hohndel wrote:
> On Mon, Feb 08, 2016 at 11:48:24AM -0800, Dirk Hohndel wrote:
> > I'm running into a pretty significant issues with the ActionButton:
> > 
> > Its MouseArea has an implicitWidth of parent.width. Which means that my
> > page will not receive any clicks at all in the horizontal band that
> > includes the ActionButton - so if the ActionButton "floats" above a
> > ListView, the bottom most entry in the ListView cannot be selected
> > (unless it happens to be taller than the icon size).
> > 
> > The issue appears to be that onClicked ALWAYS accepts the event. Even
> > though the onClicked code simply returns if the click wasn't on the
> > button (the math for that was just recently fixed) - the ListView
> > "behind" never receives a click.
> A patch like this might fix the problem (but I'm not sure if this would
> break anything else.

this is now in master(pushed in the proper way this time hopefully;), we'll 
see how the in the refactor pans out

-- 
Marco Martin


More information about the Plasma-devel mailing list