I’m trying to set the flag to allow a window to be fullscreen, I’m aware of the security issues, that is fine.
/etc/qubes/guid.conf is deprecated, so I set it using qvm-features as such:
qvm-features VMNAME gui-override-redirect-protection False
And it does not complain, but it doesn’t work either. How do I properly set this flag? This looks correct to me according to the man pages, but it doesn’t work neither give an error.
Solved with post by marmarek:
opened 12:05PM - 10 Apr 21 UTC
T: bug
C: gui-virtualization
P: default
r4.1-buster-stable
r4.1-bullseye-stable
r4.1-fc31-stable
r4.1-dom0-stable
diagnosed
r4.1-fc32-stable
r4.1-fc33-stable
r4.1-centos-stream8-cur-test
r4.1-fc34-cur-test
**Qubes OS version**
Qubes 4.1
**Brief summary**
When I connect an ultr… awide monitor to a laptop, then open a context menu in an application on the far right side of the screen, the overridde_redirect protection triggers and the context menu does not open.
**To Reproduce**
Steps to reproduce the behavior:
1. Boot laptop
2. Start Thunderbird
3. Connect ultrawide monitor
4. Q->System Tools->Display, disable laptop screen
5. Drag Thunderbird to the right-side
6. Right-click on an email
**Expected behavior**
Context menu opens.
**Actual behavior**
Context menu flickers and closes. The override_redirect protection popup shows.
**Solutions you've tried**
Restarting the VM after the screen settings have been changed allows the context menu to behave as expected
**Additional context**
When opening the context menu, a window opens that extends from the left edge of the screen to the place where the context menu should open, then immediately closes. I wonder if:
1. the application (Thunderbird) is first opening a window the full width of the current screen before resizing
2. the xside.c retains the original screen geometry at VM boot time (ie changing the screen size does not propagated to running VMs) - https://github.com/QubesOS/qubes-gui-daemon/pull/41/files#diff-7897f6116dd3815ad17499205f816d770805aca6ce63e96ff55be4fe2d95a3d6R1147
I'm not sure how to debug this, but I also don't see how else this bug would trigger.
**Related, [non-duplicate](https://www.qubes-os.org/doc/reporting-bugs/#new-issues-should-not-be-duplicates-of-existing-issues) issues**
https://github.com/QubesOS/qubes-gui-daemon/pull/41
https://github.com/QubesOS/qubes-issues/issues/4705
Reading from the GitHub issue, was it setting the feature to an empty string ""
instead of False
that fixed your issue @Eichieka ?
qvm-features VMNAME gui-override-redirect-protection ""
(Only repeating it here to make it easier for the next person to find the answer — for info, you can find a link to a specific comment in GitHub in the comment timestamp!)
1 Like