Description
Qubes OS version:
R3.2
Affected TemplateVMs:
fedora-25
Steps to reproduce the behavior:
Every program should be opened in the same qube.
A real world effect is reached in this way:
- Open two terminals.
- Hook one terminal to the left, and one to the right. They should be on the same workspace only for comfort.
- Go to another workspace.
- Open some webpage and maximize it.
- Remember a link's position.
- Focus the terminal that doesn't cover the link position.
- Focus the browser.
- Go to the terminal's workspace.
- Click on link's position in the terminal that covers it.
- In the webpage the link is clicked.
UPDATE 1
With xev:
- Open two terminals.
- Hook one terminal to the left, and one to the right. They should be on the same workspace only for comfort.
- Open xev with one terminal.
- Move xev in another workspace.
- Maximize xev.
- Move to the terminal's workspace.
- Move the mouse on the terminals.
- Xev receives input.
UPDATE 2
Stolen keyboard input:
- Open two terminals.
- Hook one terminal to the left, and one to the right. They should be on the same workspace only for comfort.
- Open gnome-terminal (however it's not related to gnome-terminal) and echo an URL. Remember URL position.
- Move gnome-terminal to another workspace.
- Move to the two terminals workspace.
- Focus the terminal that doesn't cover the URL (the right one, if ltr).
- Focus gnome-terminal.
- Move to the two terminals workspace.
- CTRL+CLICK on the URL position on the unfocused terminal.
- The URL is opened.
UPDATE 3
Stolen keyboard input can be reproduced also with browser (e.g. CTRL+CLICK on a link).
Actually a previous focused program (like xev or the browser) receive input iff an unfocused window and the former overlap. Furthermore input is stolen until a click happens on the unfocused window.
For example, in the first case, if the browser and the unfocused terminal overlap, the click on the terminal is stolen by the browser. After that the browser cannot steal more.
Expected behavior:
Unfocused window doesn't have to get input.
Actual behavior:
Unfocused window get input.
General notes:
Thanks to secure gui, It affects only programs opened in the same VM.
However it isn't related to any particular window or qube.
This issue isn't related to any particular windows order.
UPDATE 4
I think that it's related to Xorg