[Panel-devel] Plasma::Icon highlighting issues

Marco Martin notmart at gmail.com
Sat Dec 15 14:22:46 CET 2007


On Saturday 15 December 2007, Jason Stubbs wrote:
> On Saturday 15 December 2007 02:32:51 Aaron J. Seigo wrote:
> > pressed(false) should be emitted on button up. so through a full
> > interaction the signals would go like this:
> >
> > 	pressed(true)
> > 	clicked()
> > 	pressed(false)
> >
> > or like this:
> >
> > 	pressed(true)
> > 	pressed(false)
> >
> > in the case when the use presses, moves off the button, releases the
> > mouse.
>
> After some thinking, I found a theoretical use case that needs a
> pressed(false) and it would require it regardless of whether clicked()
> occurred, so I've come to agree with the above. :)
>
> I've attached new patches which should address all the other issues too.

i've tried it now and seems to work quite well here
it has even almost fixed the rendering of action icons (well, it draws them 
when the mouse leaves the icon instead of the contrary, but it's an 
improvement :P, will indagate why)

Cheers,
Marco Martin


More information about the Panel-devel mailing list