Re: [gtk-osx-users] What is Window menu operaration logic - help needed



Probably it is off topic, but I could not reproduce issue #1 of bug #698334. On my system window minimize 
instantly and without any delay.
I would like to add comment, that if window is set transient, then focus no longer matters- even window that 
stays in focus is not removed from the list.





________________________________
From: John Ralls <jralls ceridwen us>
To: Andrius <andriusr yahoo com> 
Cc: "gtk-osx-users-list gnome org" <gtk-osx-users-list gnome org> 
Sent: Wednesday, May 8, 2013 5:26 PM
Subject: Re: [gtk-osx-users] What is Window menu operaration logic - help needed





On May 8, 2013, at 5:04 AM, Andrius <andriusr yahoo com> wrote:

Hi all,
I am working on Bluefish port to OSX 10.8. Suceeded to compile Bluefish with gtk+3.6 .4, glib 2.34.3 and 
GtkOsxApplication 2.0.1. Now I am trying to figure out how Window menu works, since it looks a little bit 
inconsistent. Windows menu is created with ..._set_window_menu() call.

By default it should track the application windows that are opened. When I create new gtk TOPLEVEL window, 
it adds window name to the list of the windows. However, when I destroy window (using 
(gtk_widget_destroy()), the window name is not always removed from the list. It looks that whether it is 
removed or not depends on how window is configured and what actions user did with the window. For example, 
if I set window to be transient with gtk_window_set_transient_for(), then the window is not removed from 
the list. The same window that is not set to be transient, is removed. If after creation of the window it 
looses focus, then it is not removed. If window stays focused after creation, everything is fine. And so on.
Is there some ideas what causes the window to be not removed from the list? Can somebody explain how the 
logic of adding/removing items from the list works?
Thanks in advance.
Andrius_

That's one of the subjects of an open bug:
https://bugzilla.gnome.org/show_bug.cgi?id=698334


The windows removal depends on OSX magic to track the toplevels, but apparently that changed since I wrote 
it. Your observation that window focus affects it is interesting. 


Regards,
John Ralls






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]