Re: suggestion & PATCH: center shutdown-dialog on screen containing mouse-pointer

2011-09-16 Thread Thomas Gahr
> The question is whether a workaround in KDialog::screenRect replacing > QDesktopWidget::geometry is in order. I think it won't do any harm to use > QDesktopWidget::screenGeometry(-1) instead - any objections/suggestions? > Without further ado, I'll reply to myself and suggest a patch replacing

Re: suggestion & PATCH: center shutdown-dialog on screen containing mouse-pointer

2011-09-16 Thread Aaron J. Seigo
On Thursday, September 15, 2011 18:03:20 Thomas Gahr wrote: > QDesktopWidget::screenGeometry(-1) instead - any objections/suggestions? sounds perfect... -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Q

Re: suggestion & PATCH: center shutdown-dialog on screen containing mouse-pointer

2011-09-15 Thread Thomas Gahr
Firstly: Aaron, thanks for the clarification! Secondly: Testcase & Results: The testcase investigates the following things: If Qt reacts correctly in case a screen is (dis)connected: -QDesktopWidget::screenCountChanged is connected to a slot updating "the info labels" (see below) -an event-f

Re: suggestion & PATCH: center shutdown-dialog on screen containing mouse-pointer

2011-09-13 Thread Aaron J. Seigo
On Saturday, September 10, 2011 03:08:44 Thomas Gahr wrote: > Anyway, as I said before, I will build a testcase to investigate great; let us know how it goes ... > Reading this mail you might've noticed that > a) I'm talking (writing) a lot ;) heh. from one person who suffers from this another:

Re: suggestion & PATCH: center shutdown-dialog on screen containing mouse-pointer

2011-09-10 Thread Thomas Gahr
Yay! What a great feeling to contribute, even if it's just a tiny bit :) Anyway, I found an issue which seems to be either a bug in Qt (mind I'm using 4.8 beta) or KWin (seems not unlikely, see below) as far as I can tell. Before I start babbling: at the moment of writing this, I do not have a s

Re: suggestion & PATCH: center shutdown-dialog on screen containing mouse-pointer

2011-09-07 Thread Aaron J. Seigo
On Tuesday, September 6, 2011 20:17:54 Thomas Gahr wrote: > So I cooked up this little patch which adds 6 characters of code and a lot > of joy for me ;) thanks Thomas; i've applied the patch and it seems to work nicely! you can expect to see it in Plasma Workspaces 4.8... :) -- Aaron J. Seigo

suggestion & PATCH: center shutdown-dialog on screen containing mouse-pointer

2011-09-06 Thread Thomas Gahr
Hello! This concerns kde-workspace In my dual-screen setup I have a second instance of the kde-menu on the second screen and what has always been bugging me: When I activate "logout" or "shutdown" or alike from this kde-menu the confirmation-dialog always gets shown on screen #0 no matter what.