New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qubes ignores _NET_WM_NAME, which causes Toggl to show no title #1026

Closed
v6ak opened this Issue Jun 6, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@v6ak

v6ak commented Jun 6, 2015

Steps to reproduce

  1. Install Toggl in an AppVM. You can download it for example from https://toggl.com/api/v8/installer?app=td&platform=linux&channel=stable .
  2. Run it.

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_NAME and WM_NAME with the same content. (Maybe it is a different data type, there is probably something related to Unicode.) However, xprop shows that Toggl has only _NET_WM_NAME and no WM_NAME. Setting WM_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_NAME when 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.

@v6ak

This comment has been minimized.

Show comment
Hide comment
@v6ak

v6ak Jun 13, 2015

This also affects ReText and probably some other Qt apps.

v6ak commented Jun 13, 2015

This also affects ReText and probably some other Qt apps.

marmarek 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