https://bugs.winehq.org/show_bug.cgi?id=57453
Bug ID: 57453 Summary: Regression: Cursor position offset in *some* programs. Product: Wine Version: 9.22 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: winehq@aitchison.me.uk Distribution: ---
THIS IS A REGRESSION SINCE 9.21
*Some*, but not, all programs act as if the mouse position is relative to the window rather than the screen. When the window is in the top left, the mouse position is OK, but when the window is in the bottom right, the mouse acts as if it is significantly down and right of the pointer.
OS: Linux Ubuntu 24-10 oracular X11 desktop, TWM window manager
Wine packages installed: wine-devel-amd64/oracular,now 9.22~oracular-1 amd64 [installed] wine-devel-i386/oracular,now 9.22~oracular-1 i386 [installed] wine-devel/oracular,now 9.22~oracular-1 amd64 [installed] winehq-devel/oracular,now 9.22~oracular-1 amd64 [installed]
This can be demonstrated with "ViewRanger Map Chooser" a free program which can be installed from: http://web.archive.org/web/20170714072609/http://maps3.viewranger.com/mapcho...
https://bugs.winehq.org/show_bug.cgi?id=57453
Andrew Aitchison winehq@aitchison.me.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winehq@aitchison.me.uk
https://bugs.winehq.org/show_bug.cgi?id=57453
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://web.archive.org/web/ | |20170714072609/http://maps3 | |.viewranger.com/mapchooser/ | |VRMapChooser_1_9_14_all.msi Keywords| |download, regression CC| |dark.shadow4@web.de
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Needs "winetricks -q vcrun2003"
Can't reproduce on Arch with wayland. What exactly are the symptoms?
https://bugs.winehq.org/show_bug.cgi?id=57453
--- Comment #2 from Rafał Mużyło galtgendo@o2.pl --- (In reply to Fabian Maurer from comment #1)
Needs "winetricks -q vcrun2003"
Can't reproduce on Arch with wayland. What exactly are the symptoms?
X11 desktop, TWM window manager
Why did you think it's reproducible with wayland ?
While this release seems to have some wayland specific problems, there were some significant changes related to X11 too, it's possible some regressions slipped in there too.
(my personal guess would go towards 7abbcd16efeda708da4491dd2c9c84b08fe4f940, but that's just reading tea leaves - haven't actually checked)
https://bugs.winehq.org/show_bug.cgi?id=57453
Andrew Aitchison winehq@aitchison.me.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Regression: Cursor |Regression: TWM: Cursor |position offset in *some* |position offset in *some* |programs. |programs.
https://bugs.winehq.org/show_bug.cgi?id=57453
Andrew Aitchison winehq@aitchison.me.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |d8b5a3ae129e0971e71fcf6e953 | |87d8d1e35e646
--- Comment #3 from Andrew Aitchison winehq@aitchison.me.uk --- From git bisect: d8b5a3ae129e0971e71fcf6e95387d8d1e35e646 is the first bad commit commit d8b5a3ae129e0971e71fcf6e95387d8d1e35e646 Author: Rémi Bernon rbernon@codeweavers.com Date: Thu Nov 14 11:26:41 2024 +0100
winex11: Update the window client config on window state changes.
dlls/winex11.drv/event.c | 28 +++++++++++++++++++++++++--- dlls/winex11.drv/window.c | 2 ++ 2 files changed, 27 insertions(+), 3 deletions(-)
https://bugs.winehq.org/show_bug.cgi?id=57453
--- Comment #4 from Andrew Aitchison winehq@aitchison.me.uk --- I confirm that I cannot reproduce this with Wayland. LXDE does not show the issue, so I suspect that twm may be the only X11 window manager with the problem.
https://bugs.winehq.org/show_bug.cgi?id=57453
--- Comment #5 from Andrew Aitchison winehq@aitchison.me.uk --- (In reply to Fabian Maurer from comment #1)
What exactly are the symptoms?
Make the "ViewRanger Map Chooser" window smaller than the screen and place the window towards the bottom right of the screen.
Place the mouse cursor on the main canvas, click and hold left button. Move mouse and watch a dotted rectangle change shape. One corner of this rectangle will be about as far left and below the cursor as the window is below the TL of the screen.
If things were working properly this corner of the rectangle would be attached to the cursor.
https://bugs.winehq.org/show_bug.cgi?id=57453
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rbernon@codeweavers.com
--- Comment #6 from Rémi Bernon rbernon@codeweavers.com --- Thanks for the report, I believe https://gitlab.winehq.org/wine/wine/-/merge_requests/6907 should fix this.
https://bugs.winehq.org/show_bug.cgi?id=57453
--- Comment #7 from Andrew Aitchison winehq@aitchison.me.uk --- I confirm that https://gitlab.winehq.org/wine/wine/-/merge_requests/6907 resolves this issue.
Thanks,
https://bugs.winehq.org/show_bug.cgi?id=57453
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c1d0606f1d7951c43b1c097bfb5 | |c702305c0d36f Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #8 from Fabian Maurer dark.shadow4@web.de --- MR is merged, marking fixed as of https://gitlab.winehq.org/wine/wine/-/commit/c1d0606f1d7951c43b1c097bfb5c702...
https://bugs.winehq.org/show_bug.cgi?id=57453
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 10.0-rc1.