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 96951 - windows not grouped properly
windows not grouped properly
Status: RESOLVED DUPLICATE of bug 76159
Product: gnome-panel
Classification: Other
Component: window list
unspecified
Other other
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-10-27 05:51 UTC by Jamie Zawinski
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jamie Zawinski 2002-10-27 05:50:31 UTC
Package: gnome-panel
Severity: normal
Version: gnome-panel-2.0.6-9
Synopsis: windows not grouped properly
Bugzilla-Product: gnome-panel
Bugzilla-Component: Window List Applet

Description:
I have "always group windows" selected.
My XEmacs and TkIRC windows are not being grouped together.

(Though, for example, my Mozilla windows are, so it's
not that grouping doesn't work at all.)

Here are (all of) the properties of two pairs of windows that should
be grouped together but are not.  Windows 1 and 2 are separate 
XEmacs processes running on different machines, but they should 
be grouped together because they are both WM_CLASS = "emacs", "Emacs". 

Windows 3 and 4 are two windows created by the same TkIRC process,
running on the local machine: they also are not grouped together,
and but should be, because the have the same WM class, "tkirc",
in WM_CLASS(STRING) = [...], "tkirc".

This all worked properly in /usr/bin/tasklist_applet from Gnome 1.4
(gnome-core-1.4.1-1.ximian.4).


Window 1:

_NET_WM_ICON_GEOMETRY(CARDINAL) = 515, 997, 152, 24
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS
WM_STATE(WM_STATE):
		window state: Normal
		icon window: 0x0
_NET_WM_DESKTOP(CARDINAL) = 0
_NET_WM_STATE(ATOM) = 
WM_CLIENT_LEADER(WINDOW): window id # 0x1800001
WM_LOCALE_NAME(STRING) = "C"
WM_CLASS(STRING) = "emacs", "Emacs"
WM_HINTS(WM_HINTS):
		Client accepts input or input focus: True
		Initial state is Normal State.
		bitmap id # to use for icon: 0x1800056
		window id # of group leader: 0x1800001
WM_NORMAL_HINTS(WM_SIZE_HINTS):
		user specified location: 684, 0
		user specified size: 584 by 736
		program specified minimum size: 94 by 99
		program specified resize increment: 7 by 13
		program specified base size: 24 by 86
		window gravity: NorthEast
WM_CLIENT_MACHINE(STRING) = "grendel.jwz.org"
WM_ICON_NAME(STRING) = "grendel.jwz.org"
WM_NAME(STRING) = "grendel.jwz.org emacs: 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid"


Window 2:

_NET_WM_ICON_GEOMETRY(CARDINAL) = 971, 997, 152, 24
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS
WM_STATE(WM_STATE):
		window state: Normal
		icon window: 0x0
_NET_WM_DESKTOP(CARDINAL) = 0
_NET_WM_STATE(ATOM) = 
WM_CLIENT_LEADER(WINDOW): window id # 0x2000001
WM_LOCALE_NAME(STRING) = "en_US"
WM_CLASS(STRING) = "emacs", "Emacs"
WM_HINTS(WM_HINTS):
		Client accepts input or input focus: True
		Initial state is Iconic State.
		bitmap id # to use for icon: 0x2000053
		window id # of group leader: 0x2000001
WM_NORMAL_HINTS(WM_SIZE_HINTS):
		program specified size: 584 by 605
		program specified minimum size: 94 by 98
		program specified resize increment: 7 by 13
		program specified base size: 24 by 85
		window gravity: NorthWest
WM_CLIENT_MACHINE(STRING) = "nucleus.dnalounge.com"
WM_ICON_NAME(STRING) = "nucleus.dnalounge.com"
WM_NAME(STRING) = "nucleus.dnalounge.com emacs: 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid"


Window 3:

_NET_WM_ICON_GEOMETRY(CARDINAL) = 1135, 973, 141, 24
WM_STATE(WM_STATE):
		window state: Normal
		icon window: 0x0
_NET_WM_DESKTOP(CARDINAL) = 0
_NET_WM_STATE(ATOM) = 
WM_NORMAL_HINTS(WM_SIZE_HINTS):
		program specified minimum size: 1 by 1
		program specified maximum size: 1265 by 994
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW
WM_HINTS(WM_HINTS):
		Client accepts input or input focus: True
		Initial state is Normal State.
WM_ICON_NAME(STRING) = " - tkirc[0mc] - "
WM_CLASS(STRING) = "win0", "tkirc"
WM_NAME(STRING) = " [ 0mc ] : ircd.gimp.org : @jwz on #dnalounge "


Window 4:

_NET_WM_ICON_GEOMETRY(CARDINAL) = 435, 997, 140, 24
WM_STATE(WM_STATE):
		window state: Normal
		icon window: 0x0
_NET_WM_DESKTOP(CARDINAL) = 0
_NET_WM_STATE(ATOM) = 
WM_NORMAL_HINTS(WM_SIZE_HINTS):
		program specified minimum size: 1 by 1
		program specified maximum size: 1265 by 994
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW
WM_HINTS(WM_HINTS):
		Client accepts input or input focus: True
		Initial state is Normal State.
WM_ICON_NAME(STRING) = " - tkirc[2] - "
WM_CLASS(STRING) = "win2", "tkirc"
WM_NAME(STRING) = " [ 2 ] : ircd.gimp.org : jwz on #gnome "


Here are the props are two Mozilla windows that *are* grouped
together:



Window 5:

_NET_WM_ICON_GEOMETRY(CARDINAL) = 434, 972, 1, 1
WM_STATE(WM_STATE):
		window state: Normal
		icon window: 0x0
_NET_WM_DESKTOP(CARDINAL) = 0
_NET_WM_STATE(ATOM) = 
_MOZILLA_USER(STRING) = "jwz"
_MOZILLA_VERSION(STRING) = "5.0"
_NET_WM_NAME(UTF8_STRING) = 0x4e, 0x65, 0x74, 0x53, 0x61, 0x69, 0x6e, 0x74, 0x20, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x20, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x20, 0x2d, 0x20, 0x4d, 0x6f, 0x7a, 0x69, 0x6c, 0x6c, 0x61, 0x20, 0x7b, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x20, 0x49, 0x44, 0x3a, 0x20, 0x32, 0x30, 0x30, 0x32, 0x31, 0x30, 0x31, 0x37, 0x31, 0x37, 0x7d
XdndAware(ATOM) = ARC
_MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) = 0x6c, 0x0, 0x5, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3d, 0x40, 0x10, 0x0, 0x0, 0x0
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x8f7c9f0, 0x1, 0x0, 0x0
WM_CLASS(STRING) = "Mozilla", "navigator:browser"
WM_LOCALE_NAME(STRING) = "C"
WM_CLIENT_MACHINE(STRING) = "codon"
WM_ICON_NAME(STRING) = "NetSaint Network Monitor - Mozilla {Build ID: 2002101717}"
WM_NAME(STRING) = "NetSaint Network Monitor - Mozilla {Build ID: 2002101717}"
WM_CLIENT_LEADER(WINDOW): window id # 0x1e00001
WM_HINTS(WM_HINTS):
		Client accepts input or input focus: True
		Initial state is Normal State.
		window id # of group leader: 0x1e00001
WM_NORMAL_HINTS(WM_SIZE_HINTS):
		program specified size: 200 by 200
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS


Window 6:

_NET_WM_ICON_GEOMETRY(CARDINAL) = 434, 972, 1, 1
WM_STATE(WM_STATE):
		window state: Normal
		icon window: 0x0
_NET_WM_DESKTOP(CARDINAL) = 0
_NET_WM_STATE(ATOM) = 
_MOZILLA_USER(STRING) = "jwz"
_MOZILLA_VERSION(STRING) = "5.0"
_NET_WM_NAME(UTF8_STRING) = 0x53, 0x6c, 0x61, 0x73, 0x68, 0x64, 0x6f, 0x74, 0x3a, 0x20, 0x4e, 0x65, 0x77, 0x73, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x6e, 0x65, 0x72, 0x64, 0x73, 0x2c, 0x20, 0x73, 0x74, 0x75, 0x66, 0x66, 0x20, 0x74, 0x68, 0x61, 0x74, 0x20, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x73, 0x20, 0x2d, 0x20, 0x4d, 0x6f, 0x7a, 0x69, 0x6c, 0x6c, 0x61, 0x20, 0x7b, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x20, 0x49, 0x44, 0x3a, 0x20, 0x32, 0x30, 0x30, 0x32, 0x31, 0x30, 0x31, 0x37, 0x31, 0x37, 0x7d
XdndAware(ATOM) = ARC
_MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) = 0x6c, 0x0, 0x5, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3d, 0x40, 0x10, 0x0, 0x0, 0x0
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x8547910, 0x3a, 0x0, 0x0
WM_CLASS(STRING) = "Mozilla", "navigator:browser"
WM_LOCALE_NAME(STRING) = "C"
WM_CLIENT_MACHINE(STRING) = "codon"
WM_ICON_NAME(STRING) = "Slashdot: News for nerds, stuff that matters - Mozilla {Build ID: 2002101717}"
WM_NAME(STRING) = "Slashdot: News for nerds, stuff that matters - Mozilla {Build ID: 2002101717}"
WM_CLIENT_LEADER(WINDOW): window id # 0x1e00001
WM_HINTS(WM_HINTS):
		Client accepts input or input focus: True
		Initial state is Normal State.
		window id # of group leader: 0x1e00001
WM_NORMAL_HINTS(WM_SIZE_HINTS):
		program specified size: 200 by 200
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS




------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-10-27 01:50 -------

Reassigning to the default owner of the component, gnome-panel-maint@bugzilla.gnome.org.

Comment 1 Vincent Untz 2002-10-27 13:33:31 UTC
cc'ing Havoc. Still guessing it's something with libwnck.
Comment 2 Havoc Pennington 2002-10-27 14:50:34 UTC
Right now the grouping groups windows "in the same application"
(which means same group leader window). It should be changed to 
work on window class instead.

*** This bug has been marked as a duplicate of 76159 ***