Re: [gtk-osx-users] Dialogs opening below windows for which they are transient...
- From: John Ralls <jralls ceridwen us>
- To: Phillip Heller <pheller me com>
- Cc: gtk-osx-users-list gnome org
- Subject: Re: [gtk-osx-users] Dialogs opening below windows for which they are transient...
- Date: Fri, 25 Nov 2011 11:44:16 -0800
On Nov 25, 2011, at 10:09 AM, Phillip Heller wrote:
> Greetings,
>
> I bundle a pygtk app with py2app. When opening the resultant application, a login dialog opens beneath the main content window. However, if I directly execute the application (i.e., Application.app/Contents/MacOS/Application), then the dialog opens above the main content window. The same is true for all dialogs. This seems to have changed in the past year with the application I'm bundling, though not much has changed with respect to the application. Has anyone else run into this or anything similar? Calls to set_transient_for seemingly make no difference.
I haven't noticed that behavior with Gramps, a PyGtk app that I bundle with gtk-mac-bundler and which opens a database-selection dialog at startup. OTOH, that dialog is non-modal (it might even be a GtkWindow rather than a GtkDialog), so the circumstances might not be identical. GnuCash, a C program, sometimes pops up dialogs in weird places, but I haven't noticed any difference between launching it from Finder and a shell.
Py2app is a bit more invasive that gtk-mac-bundler, though, isn't it? Doesn't it create an executable from your python program?
Regards,
John Ralls
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]