[PATCH] Tooltip alignment (and all the other popups too)

Marco Martin notmart at gmail.com
Fri Jan 18 17:17:41 CET 2008


On Friday 18 January 2008, Craig Duquette wrote:
> On Thursday 17 January 2008 15:56:07 Marco Martin wrote:
> > Hi,
> > at the moment the taskbar tooltips can't be viewed if the taskbar
>
> is at the
>
> > top of the screen because of the position calculation
> > this patch moves the tooltip at the bottom of the widget if there is
>
> not
>
> > enough room for displaying it at the top.
> > not sure if there is a cleaner way to position it correctly also for
> > vertical panels
> >
> > Cheers,
> > Marco Martin
>
> I haven't tried the patch out, but cool! I couldn't use the tooltips for
> the toolbox because they'd show offscreen, but we can do tooltips
> now :D.

this is another version: i made a new function popupPosition() to calc the 
position, because this is also badly needed for all the popups like kickoff 
and device notifier. because at the moment (at least for kickoff) the case of 
a lateral panel is not managed at all, this should use sane positions both in 
the panel and in the desktop

Cheers,
Marco Martin

> @Aaron: Do you have any objection to using tooltips and removing
> the text on the toolbox's icons? So we revert back to something like
> in this SS? (ignore the gradient and the wrench icon, it's an old shot).
> http://home.cfl.rr.com/gamma/images/toolbox2.png
>
> ~Craig
> _______________________________________________
> Panel-devel mailing list
> Panel-devel at kde.org
> https://mail.kde.org/mailman/listinfo/panel-devel


-------------- next part --------------
A non-text attachment was scrubbed...
Name: tooltip_alignment2.diff
Type: text/x-diff
Size: 3961 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080118/2231b066/attachment.bin 


More information about the Panel-devel mailing list