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

monitor layout change regression in 4.0-rc2 #3253

Open
o- opened this Issue Oct 29, 2017 · 6 comments

Comments

Projects
None yet
6 participants
@o-

o- commented Oct 29, 2017

Qubes OS version:

4.0-rc2

Affected TemplateVMs:

all


Steps to reproduce the behavior:

Start i3 with the default configuration from qubes-i3 package. Change layout (e.g. add an external monitor) with xrandr.

Expected behavior:

All appvms get notified of the layout change.

Actual behavior:

The clickable area in all running appvms is not updated (only the area of the previous virtual screen are clickable). Rebooting the appvm updates the layout.

General notes:

I had this issue in older releases and was able to resolve it with qubes-monitor-layout-notify. Unfortunately this script was removed in QubesOS/qubes-gui-daemon@25aa33c by @woju . I was not able to find this service in core-admin, as the commit message suggests. Grepping for relevant strings only surfaces a layout-notify event in the gui daemon, but I can't find the actual implementation.

Also it seems, that the gui-daemon-repo still has a references to the removed script in https://github.com/QubesOS/qubes-gui-daemon/blob/cf7cdd09fb425bd37fc6b58cd19222729bb125df/screen-layout-handler/qubes-screen-layout-watches.desktop .

Since I did not find the replacement mechanism, I was not able to debug the issue. If you can point me to it I am happy to investigate further.

--

Related issues:

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Oct 29, 2017

Member

Try qvm-start-gui --notify-monitor-layout

Member

marmarek commented Oct 29, 2017

Try qvm-start-gui --notify-monitor-layout

@o-

This comment has been minimized.

Show comment
Hide comment

o- commented Oct 30, 2017

@marmarek that works

@o-

This comment has been minimized.

Show comment
Hide comment
@o-

o- Oct 30, 2017

So what is the expected behavior? Should the notify be triggered automatically, or does the WM have to watch it?

In the second case I could create a PR against qubes-desktop-linux-i3, since I have some other qubes 4.0 changes for it.

o- commented Oct 30, 2017

So what is the expected behavior? Should the notify be triggered automatically, or does the WM have to watch it?

In the second case I could create a PR against qubes-desktop-linux-i3, since I have some other qubes 4.0 changes for it.

@tasket

This comment has been minimized.

Show comment
Hide comment
@tasket

tasket Oct 31, 2017

BTW, I have experienced this with Xfce.

tasket commented Oct 31, 2017

BTW, I have experienced this with Xfce.

@GAhlekzis

This comment has been minimized.

Show comment
Hide comment
@GAhlekzis

GAhlekzis Nov 24, 2017

I experience this in 3.2 with i3wm at the moment. Never had this before and now it happens rather often.

The funny thing is, that it mostly happens with one of my few debian vms. I don't think I ever noticed it with another vm.

I experience this in 3.2 with i3wm at the moment. Never had this before and now it happens rather often.

The funny thing is, that it mostly happens with one of my few debian vms. I don't think I ever noticed it with another vm.

@DTMW2

This comment has been minimized.

Show comment
Hide comment
@DTMW2

DTMW2 Jul 23, 2018

This bug is still active (at least in my system: Thinkpad X1C 5th, Qubes 4 with newest updates installed in both dom0, fedora and debian). Duplicate bug-report: #4052

DTMW2 commented Jul 23, 2018

This bug is still active (at least in my system: Thinkpad X1C 5th, Qubes 4 with newest updates installed in both dom0, fedora and debian). Duplicate bug-report: #4052

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment