[Bug 60198] New: X11 fullscreen borderless non-decorated window's surface offset by Wine's window borders
http://bugs.winehq.org/show_bug.cgi?id=60198 Bug ID: 60198 Summary: X11 fullscreen borderless non-decorated window's surface offset by Wine's window borders Product: Wine Version: 11.15 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: win32u Assignee: wine-bugs@list.winehq.org Reporter: robs.mailbasket@gmail.com Target Milestone: --- Distribution: --- Created attachment 81886 --> http://bugs.winehq.org/attachment.cgi?id=81886 Screenshot of Thimbleweed Park demonstrating the bug I believe the same bug has been already submitted as https://bugs.winehq.org/show_bug.cgi?id=60132, yet rejected for relying on DXVK. I've managed to reproduce this issue with the latest wine-11.15-175-g3b6b0cedd98, using nothing but pristine Wine build. In short, it seems that after b868cd31d6b5fb0a5e09e45658c4901bb6d1c09a the borderless window surface's rect is being incorrectly calculated as being offset by Wine's own window decorations when running with X11 driver with "Decorated=N" (aka 'Allow the window manager to decorate the windows' option unchecked). The game acts as if the view wasn't offset, meaning it reacts to UI elements being placed where they should have been and not where they actually appear on screen. The issue can be easily reproduced by starting Thimbleweed Park in fullscreen (screenshot attached), but some other games exhibit this symptom as well. Re-enabling WM's window decorations alleviates the problem. Tested on xfwm4 4.20.0. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60198 --- Comment #1 from robs.mailbasket@gmail.com --- Created attachment 81887 --> http://bugs.winehq.org/attachment.cgi?id=81887 Associated log Attaching the associated log captured with WINEDEBUG="-all,trace+win,trace+x11drv". -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60198 robs.mailbasket@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |b868cd31d6b5fb0a5e09e45658c | |4901bb6d1c09a Distribution|--- |ArchLinux -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60198 Ken Sharp <imwellcushtymelike@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression CC| |rbernon@codeweavers.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60198 --- Comment #2 from Rémi Bernon <rbernon@codeweavers.com> --- Thanks for the report, https://gitlab.winehq.org/wine/wine/-/merge_requests/11712 should fix this. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60198 --- Comment #3 from robs.mailbasket@gmail.com --- Thanks for the prompt fix. I've noticed that the change hasn't made it in yet due to failing unit tests for 32-bit Wine. I haven't mentioned that before, but it appears that the aforementioned Thimbleweed Park is an x86 program and other similar issues did seem to crop up on non-x86_64 software (if that's of any importance). BR, Rob -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60198 --- Comment #4 from Rémi Bernon <rbernon@codeweavers.com> --- Sorry, I was just mentioning that early in case you wanted to try it, but I've checked myself and I believe it is working as intended, the test failures are unrelated. It should be merged tonight, or later this week and should be there in Wine 11.16. Surprisingly I could reproduce the window surface offset but somehow the mouse input was still correctly positioned wrt what was displayed on screen. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60198 --- Comment #5 from robs.mailbasket@gmail.com --- Ah, I see. I'll give it a go then, thanks! As to the mouse interaction -- I'm pretty sure the game was oblivious to what was actually displayed on screen and, as such, I had to factor in said offset when interacting with the UI. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60198 --- Comment #6 from robs.mailbasket@gmail.com --- The patch does the trick, thanks! -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60198 Rémi Bernon <rbernon@codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |baf10cfcc4730e89e9183074a65 | |2cc47804b7a97 --- Comment #7 from Rémi Bernon <rbernon@codeweavers.com> --- Should be fixed with baf10cfcc4730e89e9183074a652cc47804b7a97 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60198 Alexandre Julliard <julliard@winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #8 from Alexandre Julliard <julliard@winehq.org> --- Closing bugs fixed in 11.16. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla