After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 59724 - Associate X window groups with GtkWindowGroup
Associate X window groups with GtkWindowGroup
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Widget: Other
1.3.x
Other All
: Normal normal
: Medium API
Assigned To: gtk-bugs
gtk-bugs
: 116278 (view as bug list)
Depends on: 69934 119375
Blocks: 61892 340166
 
 
Reported: 2001-08-29 05:30 UTC by Havoc Pennington
Modified: 2013-10-04 12:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Havoc Pennington 2001-08-29 05:30:58 UTC
Should be able to set up a window group to look like a separate application
to window managers.
Comment 1 Owen Taylor 2003-08-07 20:04:40 UTC
Are we talking about group leaders or client leaders?
Comment 2 Havoc Pennington 2003-08-07 20:08:42 UTC
group leader, sorry.

My feeling is we should just do this as part of the modal group. 
That's got to be right in general.

A group should be a main window + dialogs, toolboxes, etc.

Though by that definition, arguably each non-dialog non-toolbox 
non-splashscreen toplevel should be in its own group by default, 
with other windows deriving their group from transient parent...
unfortunately that gives ABI compat issues.
Comment 3 Matthias Clasen 2003-08-07 20:22:47 UTC
Group leaders, I guess (otherwise, Havoc would have mentioned the
session manager, not the window manager).
  
Also see bug 68557, bug 61892 and bug 116278 for issues regarding
group leaders. Client leaders don't live on the GTK bug mountain (yet).
Comment 4 Owen Taylor 2003-08-07 21:04:58 UTC
*** Bug 116278 has been marked as a duplicate of this bug. ***
Comment 5 Owen Taylor 2003-08-07 21:37:08 UTC
I think having "applications" as groups of windows different
from GtkWindowGroup is too much complexity. And also, 
if a user sees two windows as separate applications, then
you don't expect a dialog modal for one to affect the other.

So, I think using GtkWindowGroup as the "application" object
is right.

Having window groups inherit across gtk_window_set_transient_for()
makes a lot of sense to me; I think that's a compatible change
to make.

However, if we make GtkWindowGroup the way of doing X window
groups, we clearly can't make each toplevel a separate application
by default, since we would break applications that depend
on modal dialogs being process modal. So, people will have
to be responsible for creating their GtkWindowGroup objects
themselves. That doesn't strike me as being that bad to do.

Marking dependency on bug 69934 because encouraging GtkWindowGroup
usage means we need a easy way to have process modal dialogs.
Comment 6 Matthias Clasen 2005-09-02 18:56:57 UTC
Window groups are inherited across transient parents now in cvs HEAD.