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 upTaskbar Widget NetworkManager Applet: Stays open #3998
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jun 14, 2018
Member
This is result of GUI isolation - "NetworkManager Applet", running in sys-net doesn't see clicks outside of its window, so it doesn't close when you click anything which doesn't belong to sys-net.
But regardless of this, it is a valid UX issue.
|
This is result of GUI isolation - "NetworkManager Applet", running in sys-net doesn't see clicks outside of its window, so it doesn't close when you click anything which doesn't belong to sys-net. |
andrewdavidwong
added
bug
C: gui-virtualization
UX
labels
Jun 14, 2018
andrewdavidwong
added this to the Release 4.0 updates milestone
Jun 14, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
RefinedSoftwareLLC
Jun 15, 2018
I solved the issue you describe in a GUI manager I designed once.
When the GUI manager (in your case dom0) detects the window losing focus, normally by any mouse clicks or keyboard key presses outside the window, it runs a clear-all-input function for that window. This function can't be called again until the window has regained focus. This function would move the mouse offscreen to a location no window is under, then release any held mouse or keyboard buttons.
Ideally, the NetworkManger Applet menu should close itself if it detects its window has lost focus. Does it have access to such an event? Can dom0 trigger that event?
You many need to use your Salt Devops to tag this window (sys-net's NetworkManger Applet menu). This tag would mean that when the "clear-all-input" function is triggered (tagged window loses focus), after moving the mouse offscreen to a location no window is under, dom0 then sends an emulated mouse click & release (or an "Esc" keypress & keyrelease).
Once again, for security purposes, these emulated inputs can only happen once per the VM window losing focus, so they can't eavesdrop on inputs from other VMs, beyond knowing when they lost focus.
RefinedSoftwareLLC
commented
Jun 15, 2018
•
|
I solved the issue you describe in a GUI manager I designed once. Ideally, the NetworkManger Applet menu should close itself if it detects its window has lost focus. Does it have access to such an event? Can dom0 trigger that event? You many need to use your Salt Devops to tag this window (sys-net's NetworkManger Applet menu). This tag would mean that when the "clear-all-input" function is triggered (tagged window loses focus), after moving the mouse offscreen to a location no window is under, dom0 then sends an emulated mouse click & release (or an "Esc" keypress & keyrelease). Once again, for security purposes, these emulated inputs can only happen once per the VM window losing focus, so they can't eavesdrop on inputs from other VMs, beyond knowing when they lost focus. |
RefinedSoftwareLLC commentedJun 14, 2018
Qubes OS version:
R4.0
Affected component(s):
dom0's Taskbar Widget "NetworkManager Applet"
Steps to reproduce the behavior:
Click open dom0's Taskbar Widget "NetworkManager Applet", now click on any other widget or VM.
"NetworkManager Applet" doesn't automatically close.
Expected behavior:
"NetworkManager Applet" close like the other widgets when another widget or VM is clicked on.