Re: Possible Bug: pgAdmin3 , OSX multi monitor quirk.

Поиск
Список
Период
Сортировка
От John Abraham
Тема Re: Possible Bug: pgAdmin3 , OSX multi monitor quirk.
Дата
Msg-id 62E3CC48-5D19-40BF-A10B-C4F8480B8998@hbaspecto.com
обсуждение исходный текст
Ответ на Re: Possible Bug: pgAdmin3 , OSX multi monitor quirk.  (Dave Page <dpage@pgadmin.org>)
Ответы Re: Possible Bug: pgAdmin3 , OSX multi monitor quirk.  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-support
On Mar 3, 2015, at 1:47 AM, Dave Page <dpage@pgadmin.org> wrote:

Hi

On Mon, Mar 2, 2015 at 9:18 PM, mark <dvlhntr@gmail.com> wrote:
Hello,


apologies if I'm not getting the UI terms right. However, I am able to
reproduce this fairly consistently.

machine: MacbookPro11,2
OSX: OS X 10.10.2 (14C109)
kernel: Darwin 14.1.0
pgAdmin3: 1.20.0

(not complied from source, installed from dmg file linked on pgadmin.org)


Steps to reproduce:
1. have multiple monitors attached prior to launching pgAdmin3. (in my case
two external dispalys in addition ), non-mirrored mode.
2. launch pgadmin3
3. connect to a database.
4. click SQL query button: ("execute arbitrary sql queries" is the tool tip)
5. the query window will launch in a 'broken' manner. The query window
launches in some full screen mode that isn't the standard full screen mode,
e.g. it can't be exited in the same fashion and keeps the top bar visible.
however the  red orange green buttons and associcated program bar are
missing.


disconnecting and reconnecting the external displays fixes the issue until
reboot.


unsure if this is an OSX quirk or something related to pgAdmin3.

I think it's an OS X quirk, as I've noticed it on my multi-monitor
setup as well. However, I've had that for years, and this is a recent
thing so I think it's a change in OS X that's causing it.

What I've found is that the window is actually perfectly normal and
works fine, except that it defaults to a position such that the title
bar is obscured behind the OS X menu bar, giving it the appearance of
full screen mode on part of the screen.

It's on my TODO list to investigate further, but I have been wondering
if it is caused by the vertical height offsets in the monitors - in my
case I have 2 23" monitors on the center and left, and my laptop
screen on the right. The broken windows spawn on the laptop screen
which is aligned (roughly) so that that bottom lines up with the
bottom of the monitors. However, the monitors have higher vertical
resolution than the laptop screen, meaning that their tops are at a
higher position.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


Here's a new solution I wasn't aware of: "Windows that support resizing from all edges can also be moved" in this case try grabbing the side, as if you wanted to make it narrower, but then instead of dragging it sideways (to make it narrower) drag it down (to show the red/orange/green buttons and title).  The query windows (now) support resizing from the edges, not just the corner (pgAdmin3 v 1.18).

I think you may be right about the vertical height offsets in the monitors.  I think maybe the reason I haven't had the problem for a while is that I've aligned the top of my monitors in System Preferences -> Displays -> Arrangement.

The generic solution on the forums and google and Apple help for dealing with this is to go to the Window menu and pick "Zoom" or "Move" or "Bring All To Front" or "Arrange All" or whatever window moving/tiling solutions are available in the app in the Window menu.  Can we just add the standard "Window" menu to the OSX version of PgAdmin3, or is that too much of an operating system specific addition?  It would be very nice to have a Window menu with the list of open windows at the bottom of it, as per standard OSX practice, so that I don't have to right-click on the dock and select "Show All Windows" and squint to figure out which one I want to interact with.

John Abraham



--
Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support

В списке pgadmin-support по дате отправления:

Предыдущее
От: Sheldon Strauch
Дата:
Сообщение: Re: Possible Bug: pgAdmin3 , OSX multi monitor quirk.
Следующее
От: Dave Page
Дата:
Сообщение: Re: Possible Bug: pgAdmin3 , OSX multi monitor quirk.