https://bugs.winehq.org/show_bug.cgi?id=57652
Bug ID: 57652 Summary: Some windows have cut bottom and right sides Product: Wine Version: 10.0-rc4 Hardware: x86-64 OS: Linux Status: NEW Keywords: regression Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: andrey.goosev@gmail.com CC: gabrielopcode@gmail.com Regression SHA1: b936f7426e33508538f48f7d20e7d7cb47cc1f32 Distribution: ---
To reproduce:
1. Create a 64-bit prefix. (32-bit doesn't show the issue) 2. Enable a virtual desktop. 3. Run winecfg or uninstaller (taskmgr doesn't affected)
https://bugs.winehq.org/show_bug.cgi?id=57652
--- Comment #1 from Gabriel Ivăncescu gabrielopcode@gmail.com --- Created attachment 77805 --> https://bugs.winehq.org/attachment.cgi?id=77805 Screenshot (can't reproduce)
Can't reproduce. Clean 64-bit prefix on upstream. Attached screenshot which looks normal to me.
The only winecfg change I did was I only enabled Virtual Desktop (default res of 800x600). Is there something else you've done? Can you post a screenshot? What WM are you using?
https://bugs.winehq.org/show_bug.cgi?id=57652
--- Comment #2 from Andrey Gusev andrey.goosev@gmail.com --- Created attachment 77807 --> https://bugs.winehq.org/attachment.cgi?id=77807 Cut sides
I'm on Fedora 41 with GNOME 47.
https://bugs.winehq.org/show_bug.cgi?id=57652
Gabriel Ivăncescu gabrielopcode@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rbernon@codeweavers.com
--- Comment #3 from Gabriel Ivăncescu gabrielopcode@gmail.com --- Can you please post log with WINEDEBUG=+x11drv,+event,+system,+win
CCing Rémi maybe he can reproduce.
https://bugs.winehq.org/show_bug.cgi?id=57652
--- Comment #4 from Andrey Gusev andrey.goosev@gmail.com --- The issue is gone while creating a log with WINEDEBUG=+x11drv,+event,+system,+win Looks using +win makes it work as it should.
https://bugs.winehq.org/show_bug.cgi?id=57652
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #5 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 77810 --> https://bugs.winehq.org/attachment.cgi?id=77810 screenshot
I also get this bug on XFCE 4.20 and X.Org X Server 1.21.1.15. The problem is even more visible in the game Culpa Innata (Steam) where the right and bottom part of the game screen is cut (only in virtual desktop mode). https://store.steampowered.com/app/12310/Culpa_Innata/
Reverting b936f742 fixes the problem for me.
https://bugs.winehq.org/show_bug.cgi?id=57652
--- Comment #6 from Rémi Bernon rbernon@codeweavers.com --- I am not able to reproduce with the mentioned applications but I'm able to reproduce a similar issue with the Steam Settings window which gets cropped on the right.
I believe this happens because regardless of the SWP flags, the size of the visible part of the window can change independently, because of Wine's decoration handling: when the nature and style of the window changes we decide to hide or show the window non-client area and may need to adjust the visible rect.
By strictly respecting the SWP flags, we now don't request the visible rect size changes when they come from these decoration adjustments and when the application used SWP_NOSIZE / SWP_NOMOVE.
In addition, these flags should already be handled on the win32u side and the window rect should not have changed when they are set. Whatever changes there is in the visible rect, it has to be requested to the X server.
https://bugs.winehq.org/show_bug.cgi?id=57652
--- Comment #7 from Rémi Bernon rbernon@codeweavers.com --- Created attachment 77839 --> https://bugs.winehq.org/attachment.cgi?id=77839 Fix
This fixes the issue for me, and I hope it'll fix the original problem the changes was meant for as well. Could you confirm whether it works for you too?
https://bugs.winehq.org/show_bug.cgi?id=57652
--- Comment #8 from Andrey Gusev andrey.goosev@gmail.com --- Yes, it's back to normal.
https://bugs.winehq.org/show_bug.cgi?id=57652
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |710b94e212501727b3b1b8deea0 | |6a7757df43d51 Status|NEW |RESOLVED
--- Comment #9 from Rémi Bernon rbernon@codeweavers.com --- Should be fixed after 710b94e212501727b3b1b8deea06a7757df43d51
https://bugs.winehq.org/show_bug.cgi?id=57652
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 10.0-rc6.