Re: [PATCH] make window preview support mouse click in plasma tooltip

2009-06-12 Thread Emdek
On 12-06-2009 at 17:44:16 Aaron J. Seigo wrote: > On Tuesday 09 June 2009, Emdek wrote: >> OK, right. > > new draft of the ToolTipManager API is attached ... Looks OK for me. ;-) >> I'm not sure if click position is really needed, I can imagine only that >> it could be used for positioning wind

Re: [PATCH] make window preview support mouse click in plasma tooltip

2009-06-12 Thread Emdek
On 12-06-2009 at 17:42:17 Aaron J. Seigo wrote: > On Tuesday 09 June 2009, Emdek wrote: >> What about showing them in grid (if there is more than x windows)? > > depends on how it would look; there's also the issue of vertical space > used... > >> Scrolling could be also good idea, for example w

Re: [PATCH] make window preview support mouse click in plasma tooltip

2009-06-12 Thread Aaron J. Seigo
On Tuesday 09 June 2009, Emdek wrote: > OK, right. new draft of the ToolTipManager API is attached ... > I'm not sure if click position is really needed, I can imagine only that > it could be used for positioning window menu for preview or something like > that. i think that if we offer a contex

Re: [PATCH] make window preview support mouse click in plasma tooltip

2009-06-12 Thread Aaron J. Seigo
On Tuesday 09 June 2009, Emdek wrote: > On 09-06-2009 at 20:09:34 Aaron J. Seigo wrote: > > On Tuesday 09 June 2009, Emdek wrote: > >> > do we need the screen position of the click? not for window previews, > >> > probably, but for links it might be useful? > >> > >> Could it be possible to send w

Re: [PATCH] make window preview support mouse click in plasma tooltip

2009-06-12 Thread Aaron J. Seigo
On Tuesday 09 June 2009, Kevin Ottens wrote: > On Monday 8 June 2009 19:22:12 Aaron J. Seigo wrote: > > my updated patch to kdelibs is attached: can others on plasma-devel give > > it a quick API review please? thank you. > > s/setIsClickable/setClickable/ ? implemented .. -- Aaron J. Seigo humr

Re: [PATCH] make window preview support mouse click in plasma tooltip

2009-06-09 Thread Emdek
On 09-06-2009 at 20:09:34 Aaron J. Seigo wrote: > On Tuesday 09 June 2009, Emdek wrote: >> > do we need the screen position of the click? not for window previews, >> > probably, but for links it might be useful? >> >> Could it be possible to send whole event object? Then we got position, >> button

Re: [PATCH] make window preview support mouse click in plasma tooltip

2009-06-09 Thread Aaron J. Seigo
On Tuesday 09 June 2009, Emdek wrote: > > do we need the screen position of the click? not for window previews, > > probably, but for links it might be useful? > > Could it be possible to send whole event object? Then we got position, > buttons etc. ... and then need to bind the entire event objec

Re: [PATCH] make window preview support mouse click in plasma tooltip

2009-06-09 Thread Emdek
On 08-06-2009 at 23:40:45 Aaron J. Seigo wrote: > On Monday 08 June 2009, Emdek wrote: >> On 08-06-2009 at 19:22:12 Aaron J. Seigo wrote: >> > my updated patch to kdelibs is attached: can others on plasma-devel >> give >> > it a >> > quick API review please? thank you. >> >> Couldn't we impleme

Re: [PATCH] make window preview support mouse click in plasma tooltip

2009-06-08 Thread Kevin Ottens
On Monday 8 June 2009 19:22:12 Aaron J. Seigo wrote: > my updated patch to kdelibs is attached: can others on plasma-devel give it > a quick API review please? thank you. s/setIsClickable/setClickable/ ? Regards. -- Kévin 'ervin' Ottens, http://ervin.ipsquad.net "Ni le maître sans disciple, Ni l

Re: [PATCH] make window preview support mouse click in plasma tooltip

2009-06-08 Thread Aaron J. Seigo
On Monday 08 June 2009, Emdek wrote: > On 08-06-2009 at 19:22:12 Aaron J. Seigo wrote: > > my updated patch to kdelibs is attached: can others on plasma-devel give > > it a > > quick API review please? thank you. > > Couldn't we implement idea discussed previously and use signal similar to > this:

Re: [PATCH] make window preview support mouse click in plasma tooltip

2009-06-08 Thread Emdek
On 08-06-2009 at 19:22:12 Aaron J. Seigo wrote: > my updated patch to kdelibs is attached: can others on plasma-devel give > it a > quick API review please? thank you. Couldn't we implement idea discussed previously and use signal similar to this: windowPreviewClicked(wid, buttons) ? And

Re: [PATCH] make window preview support mouse click in plasma tooltip

2009-06-08 Thread Aaron J. Seigo
On Saturday 06 June 2009, 潘卫平 wrote: > Hi,   I found that when kwin enables taskbarthumbnail effect, > the tooltip can show the preview of windows, but we can't click these > preview to activate or iconify the corresponding window. >    I made two patches.1 thanks for the patches; i've modified th

Re: [PATCH] make window preview support mouse click in plasma tooltip

2009-06-07 Thread Emdek
On 07-06-2009 01:19:10 Sebastian Kügler wrote: > What about tooltips == the task switchers for grouped windows? That > sounds a > lot more straightforward than the separation between tooltips and > windowlist, > they look similar (smallish plasma-styled popup above the taskbar, but > behave

Re: [PATCH] make window preview support mouse click in plasma tooltip

2009-06-06 Thread Sebastian Kügler
> On Saturday 06 June 2009, 潘卫平 wrote: > > I found that when kwin enables taskbarthumbnail effect, the tooltip can > > show the preview of windows, but we can't click these preview to activate > > or iconify the corresponding window. > > I made two patches. > > 1 kdelibs-palsma-tooltip-previewc

Re: [PATCH] make window preview support mouse click in plasma tooltip

2009-06-06 Thread Emdek
Small reminder, this topic was already discussed some time ago here: http://mail.kde.org/pipermail/plasma-devel/2009-April/004948.html (Tool tips ideas) ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-deve

Re: [PATCH] make window preview support mouse click in plasma tooltip

2009-06-06 Thread Marco Martin
On Saturday 06 June 2009, 潘卫平 wrote: > Hi, > > I found that when kwin enables taskbarthumbnail effect, the tooltip can > show the preview of windows, but we can't click these preview to activate > or iconify the corresponding window. > I made two patches. > 1 kdelibs-palsma-tooltip-previewclic

[PATCH] make window preview support mouse click in plasma tooltip

2009-06-06 Thread 潘卫平
Hi,   I found that when kwin enables taskbarthumbnail effect, the tooltip can show the preview of windows, but we can't click these preview to activate or iconify the corresponding window.    I made two patches.1 kdelibs-palsma-tooltip-previewclick.patch    It should apply to the directory  kdelibs