Thread: pgAdmin III commit: Fix the restore of a window position when using mul
pgAdmin III commit: Fix the restore of a window position when using mul
From
Guillaume Lelarge
Date:
Fix the restore of a window position when using multiscreen The previous code used to get the geometry of the good display and check position and size of the dialog against the geometry of the display. Unfortunately, the position and size of the dialog take into account the global geometry. So we need to compare it with the global geometry, which this patch does. Per report from Steffen Decker. Branch ------ REL-1_14_0_PATCHES Details ------- http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=57a71b21e72f66186c7a9d7301cf15db6d7e0b65 Modified Files -------------- CHANGELOG | 2 ++ pgadmin/utils/misc.cpp | 16 +++------------- 2 files changed, 5 insertions(+), 13 deletions(-)
Re: pgAdmin III commit: Fix the restore of a window position when using mul
From
Guillaume Lelarge
Date:
On Sat, 2012-03-10 at 18:08 +0000, Guillaume Lelarge wrote: > Fix the restore of a window position when using multiscreen > > The previous code used to get the geometry of the good display and check > position and size of the dialog against the geometry of the display. > Unfortunately, the position and size of the dialog take into account the > global geometry. So we need to compare it with the global geometry, which this > patch does. > > Per report from Steffen Decker. > If someone can test this with Mac OS X and Windows, I would be quite happy. I don't have (yet?) a multiscreen PC with those OS. -- Guillaume http://blog.guillaume.lelarge.info http://www.dalibo.com