Bug 1031368
Summary: | gnome-shell fails to match urxvt windows due to discrepancy between WM_CLASS and desktop files | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Maciek Borzecki <maciek.borzecki> | ||||
Component: | rxvt-unicode | Assignee: | Andreas Bierfert <andreas.bierfert> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 20 | CC: | andreas.bierfert, mlichvar | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | rxvt-unicode-9.21-3.el6 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-01-20 21:04:24 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
rxvt-unicode-9.21-3.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/rxvt-unicode-9.21-3.el7 rxvt-unicode-9.21-3.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/rxvt-unicode-9.21-3.el6 rxvt-unicode-9.21-3.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/rxvt-unicode-9.21-3.fc21 rxvt-unicode-9.21-3.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/rxvt-unicode-9.21-3.fc20 Package rxvt-unicode-9.21-3.el7: * should fix your issue, * was pushed to the Fedora EPEL 7 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing rxvt-unicode-9.21-3.el7' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-0035/rxvt-unicode-9.21-3.el7 then log in and leave karma (feedback). rxvt-unicode-9.21-3.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. rxvt-unicode-9.21-3.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. rxvt-unicode-9.21-3.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. rxvt-unicode-9.21-3.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 825118 [details] Patch for Fedora package Description of problem: Whenever instance of urxvt (or urxvt256c) is started either form run dialog or as a result of being assigned to a shortcut key, a new app icon pops up. However, if I start urxvt/urxvt256c from applications list (as via corresponding *.desktop file), the matching is mostly correct. Adding StartupWMClass to *.desktop file solves the problem (patch for Fedora package included) Version-Release number of selected component (if applicable): gnome-shell-3.10.2-1.fc20.x86_64 rxvt-unicode-256color-9.19-1.fc20.x86_64 rxvt-unicode-9.19-1.fc20.x86_64 How reproducible: always Steps to Reproduce: 1. start rxvt unicode from dashboard 2. see that an entry with a nice terminal icon appears 3. alt-f2 and start another urxvt 4. observe a missing icon in applications list, not grouped with previous urxvt instance Actual results: Expected results: Additional info: xprop of correctly matched instance: _NET_WM_STATE(ATOM) = _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_STATE_FOCUSED WM_STATE(WM_STATE): window state: Normal icon window: 0x0 _NET_FRAME_EXTENTS(CARDINAL) = 0, 0, 33, 0 _NET_WM_DESKTOP(CARDINAL) = 0 _NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW _XEMBED_INFO(_XEMBED_INFO) = 0x0, 0x1 _NET_WM_PID(CARDINAL) = 4840 WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, _NET_WM_PING WM_LOCALE_NAME(STRING) = "en_US.UTF-8" WM_CLASS(STRING) = "urxvt256c", "URxvt" WM_HINTS(WM_HINTS): Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x1400016 WM_NORMAL_HINTS(WM_SIZE_HINTS): program specified minimum size: 12 by 38 program specified resize increment: 8 by 17 program specified base size: 4 by 21 window gravity: NorthWest WM_CLIENT_MACHINE(STRING) = "localhost.localdomain" WM_COMMAND(STRING) = { "urxvt256c", "-embed", "20971529" } _NET_WM_ICON_NAME(UTF8_STRING) = "urxvt256c" WM_ICON_NAME(STRING) = "urxvt256c" _NET_WM_NAME(UTF8_STRING) = "xprop @ localhost: ~" WM_NAME(STRING) = "xprop @ localhost: ~" xprop of instance that did not match: _XEMBED_INFO(_XEMBED_INFO) = 0x0, 0x1 _NET_WM_STATE(ATOM) = _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_STATE_FOCUSED WM_STATE(WM_STATE): window state: Normal icon window: 0x0 _NET_FRAME_EXTENTS(CARDINAL) = 1, 0, 33, 0 _NET_WM_DESKTOP(CARDINAL) = 0 _NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW _NET_WM_PID(CARDINAL) = 4921 WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, _NET_WM_PING WM_LOCALE_NAME(STRING) = "en_US.UTF-8" WM_CLASS(STRING) = "urxvt256c", "URxvt" WM_HINTS(WM_HINTS): Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2e00016 WM_NORMAL_HINTS(WM_SIZE_HINTS): program specified minimum size: 12 by 38 program specified resize increment: 8 by 17 program specified base size: 4 by 21 window gravity: NorthWest WM_CLIENT_MACHINE(STRING) = "localhost.localdomain" WM_COMMAND(STRING) = { "urxvt256c", "-embed", "48234505" } _NET_WM_ICON_NAME(UTF8_STRING) = "urxvt256c" WM_ICON_NAME(STRING) = "urxvt256c" _NET_WM_NAME(UTF8_STRING) = "xprop @ localhost: ~" WM_NAME(STRING) = "xprop @ localhost: ~"