Re: OS X Window Management - Mailing list pgadmin-hackers

From Florian G. Pflug
Subject Re: OS X Window Management
Date
Msg-id 426BBE4A.9030708@phlo.org
Whole thread Raw
In response to OS X Window Management  (leon-pg@comvision.com)
List pgadmin-hackers
leon-pg@comvision.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

Attachment

pgadmin-hackers by date:

Previous
From: cvs@developer.pgadmin.org
Date:
Subject: CVS Commit by andreas: more Hint enhancements
Next
From: "Florian G. Pflug"
Date:
Subject: [PATCH] Improve Cmd-Q / Exit-Menu-Item on OSX