[patch] KDialog::centerOnScreen()

Gregory Hayes syncomm at gmail.com
Tue Jan 3 04:39:08 GMT 2006

I agree! I have a two screen setup and the first time login dialog in trunk
creates a window which is centered based on the total computed geometry of
both displays. It is very difficult to use a dialog split between two
monitors, or resize a beast that big easily. I personally believe we should
center/size dialogs based on the size of the physical screen. Perhaps, we
should not even let them be larger that a single physical display.

Just my thoughts,


On 12/27/05, Aaron J. Seigo <aseigo at kde.org> wrote:
> On Tuesday 27 December 2005 04:45, Jarosław Staniek wrote:
> > Since KDE Kicker (and win32's "kicker") is "always on top", it could be
> > better for centered dialogs to use availableGeometry() instead of
> > screenGeometry(), to avoid covering them by Kicker (at least sometimes).
> it will look visually odd to have a dialog "centered" on the screen using
> anything but the physical extent of the whole screen geometry. what ought
> to
> be done is to ensure that the calculation made based on screen geometry
> doesn't cause overlap due to a smaller available geometry. in that case
> the
> dialog should be shifted/resized to compensate.
> --
> Aaron J. Seigo
> GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43
> Full time KDE developer sponsored by Trolltech (http://www.trolltech.com)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060102/ecdf1408/attachment.htm>

More information about the kde-core-devel mailing list