Skip site navigation (1) Skip section navigation (2)

Re: OS X Window Management

From: "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>
To: leon-pg(at)comvision(dot)com
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: OS X Window Management
Date: 2005-04-24 15:42:02
Message-ID: 426BBE4A.9030708@phlo.org (view raw or flat)
Thread:
Lists: pgadmin-hackers
leon-pg(at)comvision(dot)com wrote:
> I'm running on wxWidgets CVS and pgAdmin3 CVS. The build worked great, 
> apart from the non-executable script in the "make install" process.
Hm.. when did you checkout the sources? This should be fixed in the
latest CVS version.

> There's a window management issue that needs to be addressed if pgAdmin3 
> OS X is to be properly Mac-ish. The standard way to manage an app's open 
> windows in OS X would be to have a Window menu listing all the open 
> windows of the application, plus a Cmd-` keyboard shortcut to cycle 
> between open windows. pgAdmin3 is lacking these features. The best  
> workaround right now is to right-click the pgAdmin3 icon in the Dock 
> (taskbar analog), which gives you a list of all open windows.
As someone else here pointed out, the Cmd-Q/Cmd-W handling is wrong too...
Cmd-Q should quit pgadmin, no matter which windows is currently frontmost,
and cmd-w should close the currently open window (And should probably have
either no effect for the main window, or act like cmd-q there...)

There are also two quit-menu-items, one in the File-menu, and one
in the application menu...

I don't have an idea how to fix this, though - I believe that wxMac should
level those plattform differenced, because it's not pretty to put ifdefs
all over the code for this, but maybe it's hard to do at the library-level...

I checked the wxwindows homepage a few days ago, and didn't find
a statement if wxmac is supposed to support this behaviour...
wxMac already supports a few mac-quirks though (like moving the about-
menu-entry to the application menu), so maybe they could be persuaded
to add more of this...

Since a) my wxwidgets experience is very limited (I just added a few
line of code to pgadmin to support loading *.xrc and doc-files from the
bundle), b) my spare-time is limited too, any help on osx-improvements
would be very much appreciated ;-)

greetings, Florian Pflug

In response to

pgadmin-hackers by date

Next:From: Florian G. PflugDate: 2005-04-24 19:55:18
Subject: [PATCH] Improve Cmd-Q / Exit-Menu-Item on OSX
Previous:From: cvsDate: 2005-04-24 12:19:52
Subject: CVS Commit by andreas: more Hint enhancements

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group