Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upQubes ignores _NET_WM_NAME, which causes Toggl to show no title #1026
Comments
marmarek
added
enhancement
C: gui-virtualization
P: minor
labels
Jun 9, 2015
marmarek
added this to the Release 3.0 milestone
Jun 9, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
v6ak
commented
Jun 13, 2015
|
This also affects ReText and probably some other Qt apps. |
marmarek
closed this
in
marmarek/old-qubes-gui-agent-linux@c069933
Jun 23, 2015
added a commit
to marmarek/old-qubes-gui-agent-linux
that referenced
this issue
Jul 14, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
v6ak commentedJun 6, 2015
Steps to reproduce
Expected result
Title is shown in titlebar and alt+tab.
Actual result
Titlebar shows only the VM name, not the title.
Cause
Many windows have both
_NET_WM_NAMEandWM_NAMEwith the same content. (Maybe it is a different data type, there is probably something related to Unicode.) However,xpropshows that Toggl has only_NET_WM_NAMEand noWM_NAME. SettingWM_NAME(e.g. xprop -id 20971532 -set WM_NAME pokus) changes the title in titlebar.Other notes
I am not sure what the correct behavior is (maybe apps are required to set
WM_NAMEwhen setting_NET_WM_NAME, I don't know the spec), but Toggl team refuses to fix it and there might be more apps affected by this issue. Even if Toggl and some other apps violate the spec, this seems to be tolerated by most window managers, so fixing the issue it on Qubes side seems to be the easiest way.