https://bugs.winehq.org/show_bug.cgi?id=55141
Bug ID: 55141 Summary: virtual desktop not rendering with some dual monitor setups (regression: 8.10 -> 8.11) Product: Wine Version: 8.11 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: win32u Assignee: wine-bugs@winehq.org Reporter: kolAflash@kolahilft.de Distribution: ---
When having a dual monitor setup and the right monitor is primary, the virtual desktop is not rendering.
First bad commit: https://gitlab.winehq.org/wine/wine/-/commit/9b7669592d6f8b40976b571b70f8543...
I just had another problem with the virtual desktop. Is there maybe some relation? https://bugs.winehq.org/show_bug.cgi?id=55046
https://bugs.winehq.org/show_bug.cgi?id=55141
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |9b7669592d6f8b40976b571b70f | |8543777d35167 CC| |rbernon@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=55141
--- Comment #1 from Rémi Bernon rbernon@codeweavers.com --- I can't reproduce the issue, would you mind attaching a log with WINEDEBUG=+explorer,+system,+x11drv,+xrandr?
https://bugs.winehq.org/show_bug.cgi?id=55141
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=55141
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |o.dierick@piezo-forte.be
--- Comment #2 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
I upgraded from Wine 8.9 to 8.11 today and I'm affected by a regression with different symptoms related to virtual desktop.
The desktop size setting in winecfg is ignored and the virtual desktop is always full-screen no matter what.
I haven't done a bisect, but seeing this bug and the changes from the ~bad~ commit, I guess this is really the same issue.
I have a triple-monitor setup, but it actually acts as a single monitor (it is reported as one large primary monitor).
I can reproduce the issue by creating a new wineprefix and activating a virtual desktop of 800x600. Unless the current resolution is 800x600 or lower, this should open subsequent wine windows in a 800x600 virtual desktop window. Instead, I get a full-screen virtual desktop when I run winecfg again.
Regards.
https://bugs.winehq.org/show_bug.cgi?id=55141
--- Comment #3 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Created attachment 74710 --> https://bugs.winehq.org/attachment.cgi?id=74710 +tid,+explorer,+system,+x11drv,+xrandr log running with VD and wine 8.11
Hello,
Here is my log with the requested channels.
Regards.
https://bugs.winehq.org/show_bug.cgi?id=55141
--- Comment #4 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- (In reply to Olivier F. R. Dierick from comment #3)
+tid,+explorer,+system,+x11drv,+xrandr log running with VD and wine 8.11
Was meant to be 'running winecfg'
https://bugs.winehq.org/show_bug.cgi?id=55141
--- Comment #5 from Rémi Bernon rbernon@codeweavers.com --- The fullscreen virtual desktop issue may not be the same as bug reported here, I have created https://gitlab.winehq.org/wine/wine/-/merge_requests/3167 which I believe should fix it.
https://bugs.winehq.org/show_bug.cgi?id=55141
--- Comment #6 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- (In reply to Rémi Bernon from comment #5)
The fullscreen virtual desktop issue may not be the same as bug reported here, I have created https://gitlab.winehq.org/wine/wine/-/merge_requests/3167 which I believe should fix it.
Hello,
Applying that single patch on Wine 8.11 doesn't fix the issue with full-screen virtual desktop for me.
Regards.
https://bugs.winehq.org/show_bug.cgi?id=55141
--- Comment #7 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Created attachment 74713 --> https://bugs.winehq.org/attachment.cgi?id=74713 updated log with Merge Request 3167
https://bugs.winehq.org/show_bug.cgi?id=55141
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #8 from Fabian Maurer dark.shadow4@web.de ---
When having a dual monitor setup and the right monitor is primary
I have the same setup, but don't have the issue.
https://bugs.winehq.org/show_bug.cgi?id=55141
--- Comment #9 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
I opened bug 55146 for the full-screen virtual desktop issue.
Regards.
https://bugs.winehq.org/show_bug.cgi?id=55141
--- Comment #10 from Rémi Bernon rbernon@codeweavers.com --- Created attachment 74718 --> https://bugs.winehq.org/attachment.cgi?id=74718 Possible fix
Does this work better?
https://bugs.winehq.org/show_bug.cgi?id=55141
--- Comment #11 from kolAflash kolAflash@kolahilft.de --- Created attachment 74738 --> https://bugs.winehq.org/attachment.cgi?id=74738 wine-8.11 not rendering virtual desktop (WINEDEBUG=+explorer,+system,+x11drv,+xrandr)
(In reply to Rémi Bernon from comment #1)
I can't reproduce the issue, would you mind attaching a log with WINEDEBUG=+explorer,+system,+x11drv,+xrandr?
Here is the requested log.
I maybe found out why you can't reproduce. The bug does NOT appear if you enable the virtual desktop setting in winecfg. It only happens if the virtual desktop is only enabled via this launch parameters. And 1920x1080 is my fullscreen resolution for each monitor.
wine64 explorer.exe /desktop=shell,1920x1080 some-program.exe
https://bugs.winehq.org/show_bug.cgi?id=55141
--- Comment #12 from kolAflash kolAflash@kolahilft.de --- Created attachment 74739 --> https://bugs.winehq.org/attachment.cgi?id=74739 wine-master-fca833678 not starting at all with: explorer.exe /desktop=shell,1920x1080
With current master this command does not start at all. At least when launching on a pre existing wineprefix.
WINEDEBUG='+explorer,+system,+x11drv,+xrandr' WINEARCH=win64 WINEPREFIX="${HOME}"/wines/test/ ~/opt/wine-versions/wine-bisect/bin/wine64 explorer.exe /desktop=shell,1920x1080 winecfg
https://gitlab.winehq.org/wine/wine/-/commit/fca833678f3b2588cc539d04693e7f9...
https://bugs.winehq.org/show_bug.cgi?id=55141
--- Comment #13 from Rémi Bernon rbernon@codeweavers.com --- Created attachment 74740 --> https://bugs.winehq.org/attachment.cgi?id=74740 Possible fix
Thanks, looks like I may have broken it twice. Does this help?
https://bugs.winehq.org/show_bug.cgi?id=55141
TOM l12436@yahoo.com.tw changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |l12436@yahoo.com.tw
--- Comment #14 from TOM l12436@yahoo.com.tw --- explorer starts again, but the desktop size is being ignore again. I just using "wine explorer /desktop=test,1024x768 winecfg"
https://bugs.winehq.org/show_bug.cgi?id=55141
--- Comment #15 from Rémi Bernon rbernon@codeweavers.com --- Created attachment 74742 --> https://bugs.winehq.org/attachment.cgi?id=74742 Updated fix
Thanks, I believe this should fix it for good (the new patch contains the previous one).
https://bugs.winehq.org/show_bug.cgi?id=55141
--- Comment #16 from TOM l12436@yahoo.com.tw --- yes, I seems working. Need more testing on various users. but it seems working on my command for now.
https://bugs.winehq.org/show_bug.cgi?id=55141
--- Comment #17 from TOM l12436@yahoo.com.tw --- after some test, I found that it just being smaller, but it did not react to the size that I give to it, just full screen and not full screen.
https://bugs.winehq.org/show_bug.cgi?id=55141
--- Comment #18 from TOM l12436@yahoo.com.tw --- its read my current display mode, and it return 640x480. and it use as the desktop mode, although current resolution is 1920x1080. maybe something relative to DP being disconnect when monitor is off. I may test it later.
https://bugs.winehq.org/show_bug.cgi?id=55141
kolAflash kolAflash@kolahilft.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #19 from kolAflash kolAflash@kolahilft.de --- (In reply to Rémi Bernon from comment #15)
Created attachment 74742 [details] Updated fix
Thanks, I believe this should fix it for good (the new patch contains the previous one).
Works perfectly. Thanks!
I'm setting this bug to resolved.
https://gitlab.winehq.org/wine/wine/-/commit/467201a85b8e423cce5ac12491df7d2... https://gitlab.winehq.org/wine/wine/-/commit/a0cd5e053bbd9ca9f124186c7da2760...
https://bugs.winehq.org/show_bug.cgi?id=55141
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |a0cd5e053bbd9ca9f124186c7da | |27605026ad7e5
https://bugs.winehq.org/show_bug.cgi?id=55141
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #20 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.12.
https://bugs.winehq.org/show_bug.cgi?id=55141
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tst1@mixbox.pl
--- Comment #21 from Ken Sharp imwellcushtymelike@gmail.com --- *** Bug 55222 has been marked as a duplicate of this bug. ***