Closed
Bug 194299
Opened 22 years ago
Closed 20 years ago
WM_CLASS is "<unknown> / <unknown>"
Categories
(SeaMonkey :: UI Design, defect)
Tracking
(Not tracked)
People
(Reporter: jwz, Assigned: blizzard)
References
Details
Attachments
(1 file)
3.75 KB,
patch
|
Details | Diff | Splinter Review |
'nuff said: % xprop -name "Mozilla {Build ID: 2003021120}" WM_CLASS WM_CLASS(STRING) = "<unknown>", "<unknown>" Naturally this results in Mozilla windows not being labelled as such in the Gnome Tasklist or in the window manager's window list. Mozilla 1.3b Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030211 Red Hat Linux release 8.0 (Psyche) Linux 2.4.18-14 #1 Wed Sep 4 12:13:11 EDT 2002 i686 athlon i386 GNU/Linux
Comment 2•22 years ago
|
||
This is actually pretty nasty for those of us who rely on applications correctly reporting their classes. This breaks the matched windows functionality in Sawfish, for example, and there are probably other problems out there.
Comment 3•21 years ago
|
||
To be clear, this is about mozilla built with the gtk2 widget set. Bug 29856 is about the window class when using gtk 1. This patch is a followup to attachment 116067 [details] [diff] [review] to bug 29856 ("Set window class & role, round 3"). This patch makes gtk2 do the same thing that patch does for gtk1. This patch must be applied after the gtk1 patch; The gtk1 patch contains some changes to pieces outside of widget/src/gtk* which aren't repeated in this patch. Briefly, after both patches have been installed, a gtk2 navigator window will have the following properties: WM_WINDOW_ROLE(STRING) = "browser" WM_CLASS(STRING) = "Navigator", "Mozilla"
Updated•21 years ago
|
Attachment #116068 -
Flags: review?(blizzard)
Reporter | ||
Comment 4•20 years ago
|
||
For the record, Mozilla 1.7 (gtk2) now seems to use WM_CLASS(STRING) = "Gecko", "Mozilla-bin" which is better but still wrong (the first string should be the application name, "Mozilla", and the second string should be the type of window, e.g., "Navigator", "Communicator", "Editor", "Bookmarks", "Chat", etc.)
Assignee | ||
Comment 5•20 years ago
|
||
*** This bug has been marked as a duplicate of 29856 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Product: Core → Mozilla Application Suite
Updated•19 years ago
|
Attachment #116068 -
Flags: review?(blizzard)
You need to log in
before you can comment on or make changes to this bug.
Description
•