Re: SystemTray: pop-up window position

2012-11-17 Thread Marco Martin
On Saturday 17 November 2012, Aaron J. Seigo wrote: > > like if is more than ~20 characters wide, we would assume is not > > something serving as a simple menu, but is a complex thing, so center... > > or maybe just compare the popup size to the target item size .. if the > target item is N times

Re: SystemTray: pop-up window position

2012-11-17 Thread Aaron J. Seigo
On Saturday, November 17, 2012 14:03:59 Marco Martin wrote: > On Saturday 17 November 2012, Aaron J. Seigo wrote: > > and really, if the item the popup originates from is really bigger than > > the > > popup, the popup probably should be centered on the press event position. > > if triggered via a

Re: Homerun sources and Plasma runners

2012-11-17 Thread Aaron J. Seigo
On Friday, November 16, 2012 13:36:59 Luiz Romário Santana Rios wrote: > Beyond that, I think it would be nice if runners were turned into a > library (something like librunner) so that other applications can > benefit from it. rekonq (example you used) can't use libplasma? if not, please describe

Re: SystemTray: pop-up window position

2012-11-17 Thread Aaron J. Seigo
On Friday, November 16, 2012 23:23:30 Djuro Drljaca wrote: > the problem with alignment to center is that you can't know where the text > will be positioned on the screen. a small nitpick: you also don't know where it will be positioned when left aligned. it is only the frame that is aligned; th

Re: SystemTray: pop-up window position

2012-11-17 Thread Marco Martin
On Saturday 17 November 2012, Aaron J. Seigo wrote: > and really, if the item the popup originates from is really bigger than the > popup, the popup probably should be centered on the press event position. > if triggered via a non-press event (e.g. a keyboard shortcut) then > centered-on- top-level

Re: SystemTray: pop-up window position

2012-11-17 Thread Aaron J. Seigo
On Saturday, November 17, 2012 13:25:01 Marco Martin wrote: > On Saturday 17 November 2012, Aaron J. Seigo wrote: > > On Friday, November 16, 2012 18:57:17 Dmitry A. Ashkadov wrote: > > > 2. At center: > > this has been the standard alignment for several releases for popups. it > > looks nice, mini

Re: SystemTray: pop-up window position

2012-11-17 Thread Marco Martin
On Saturday 17 November 2012, Aaron J. Seigo wrote: > On Friday, November 16, 2012 18:57:17 Dmitry A. Ashkadov wrote: > > 2. At center: > this has been the standard alignment for several releases for popups. it > looks nice, minimizes mouse movement, etc. > > Corona::popupPosition calculates this

Re: Review Request: DBus-interface for changing wallpapers

2012-11-17 Thread Aaron J. Seigo
--- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/105319/#review22118 --- plasma/desktop/shell/plasmaapp.cpp

Re: Homerun sources and Plasma runners

2012-11-17 Thread Aaron J. Seigo
On Friday, November 16, 2012 17:04:04 Aurélien Gâteau wrote: > A preliminary subject is API compatibility: I don't think it is possible > to extend the current AbstractRunner interface in a BC way to meet our > needs. Would you be ready to create a new runner interface? > > This would require: > -

Re: SystemTray: pop-up window position

2012-11-17 Thread Aaron J. Seigo
On Friday, November 16, 2012 18:57:17 Dmitry A. Ashkadov wrote: > 2. At center: this has been the standard alignment for several releases for popups. it looks nice, minimizes mouse movement, etc. Corona::popupPosition calculates this for you, so if you use that function it should all be good.