https://bugs.winehq.org/show_bug.cgi?id=57581
Bug ID: 57581 Summary: Mouse doesn't work on some monitors of a multi-monitor setup (SQLyog) Product: Wine Version: 10.0-rc3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: mitch@claborn.net Distribution: ---
Created attachment 77689 --> https://bugs.winehq.org/attachment.cgi?id=77689 display utility
Xubuntu 24.04 I have 4 screens: Laptop (1), HDMI (4), Display Port (2) and USB-C to display port adapter (3). Numbers are how they are identified in the Display utility, see screen shot. The mouse works fine on every display except #3. On display #3 the application doesn't respond to mouse actions in any way, e.g. clicking in the window, selecting some text, clicking a button. I can use the mouse to move the window around on all monitors, even #3.
This problem was not present in Ubuntu 22.04 and WINE 9. It showed up with Ubuntu 24.04 and WINE 9.
https://bugs.winehq.org/show_bug.cgi?id=57581
--- Comment #1 from Mitch Claborn mitch@claborn.net --- The keyboard works fine in SQLyog on all monitors.
https://bugs.winehq.org/show_bug.cgi?id=57581
--- Comment #2 from Rafał Mużyło galtgendo@o2.pl --- Did you try to reorder your screens with xrandr just to check if the problem is the monitor, connection type or something else ?
https://bugs.winehq.org/show_bug.cgi?id=57581
--- Comment #3 from Mitch Claborn mitch@claborn.net --- The problem appears to always be on the last monitor.
xrandr --output "DP-1-0" --auto --right-of "eDP-1" xrandr --output "HDMI-1-0" --auto --right-of "DP-1-0" xrandr --output "DP-1-2.8" --auto --right-of "HDMI-1-0"
==> problem is on DP-1-2.8
xrandr --output "DP-1-0" --auto --right-of "eDP-1" xrandr --output "DP-1-2.8" --auto --right-of "DP-1-0" xrandr --output "HDMI-1-0" --auto --right-of "DP-1-2.8"
==> problem is on HDMI-1-0
(Is it just me, or does having the monitor layout in the OS not match the physical layout really mess with your brain!)
https://bugs.winehq.org/show_bug.cgi?id=57581
--- Comment #4 from Mitch Claborn mitch@claborn.net --- In case it helps: the problem only appears when the SQLyog window is entirely on the last monitor. If the window spans 3 & 4 it works fine, even on the portions of the window that are in monitor 4.
https://bugs.winehq.org/show_bug.cgi?id=57581
--- Comment #5 from Rafał Mużyło galtgendo@o2.pl ---
This problem was not present in Ubuntu 22.04 and WINE 9. It showed up with Ubuntu 24.04 and WINE 9.
Did you make a typo here ? Any chance of testing the intermediary versions to narrow down the change time window ?
https://bugs.winehq.org/show_bug.cgi?id=57581
--- Comment #6 from Mitch Claborn mitch@claborn.net --- No typo.
Do you mean to try earlier versions of WINE or Ubuntu or both? I still have my Ubuntu 22.04 install, so I could potentially test some combinations there.
https://bugs.winehq.org/show_bug.cgi?id=57581
--- Comment #7 from Mitch Claborn mitch@claborn.net --- Here are the results from testing on Ubuntu 22.04
wine stable 9.0.0 works fine
staging 9.1 works
staging 9.10 works
staging 9.15 works
staging 9.16 works
staging 9.17 works
staging 9.18 works
staging 9.19 fails - mouse does not work in SQLyog window on the last monitor
staging 9.20 fails - mouse does not work in SQLyog window on the last monitor. Also: SQLyog starts on the first monitor (laptop) at almost full width. When I use the mouse to move it to other windows, the width increases to span almost 2 full monitors. This only happens when first move the window after starting SQLyog.
staging 9.21 - same as 9.20
staging 9.22 - same size changing issues as 9.20. When the SQLyog window is moved to the last monitor, it disappers. I can show it again with "wmctrl -i -R windowid". After showing it the mouse does not work in the SQLyog window on that monitor.
10.0 rc1 Had to show the "Wine Mono Installer" window with wmctrl -i -R. same size changing issues as 9.20. Mouse does not work on last monitor.
10.0 rc2 - same size changing issues as 9.20. Mouse does not work on last monitor.
10.0 rc3 - same as 10.0 rc2
https://bugs.winehq.org/show_bug.cgi?id=57581
--- Comment #8 from Mitch Claborn mitch@claborn.net --- Possibly related: SQLyog saves the last window size and position for the next restart. On Ubuntu 24.04 and Wine 10.0 rc3, the window always starts very wide, spanning almost 2 monitors, even though it was on a single monitor when previously closed. Similar to the issue I described on 22.04 and Wine 9.20.
https://bugs.winehq.org/show_bug.cgi?id=57581
--- Comment #9 from Mitch Claborn mitch@claborn.net --- There is no noticeable difference in these behaviors between 10.0 rc3 and rc4.
https://bugs.winehq.org/show_bug.cgi?id=57581
--- Comment #10 from Mitch Claborn mitch@claborn.net --- No noticeable change in 10 rc5.
https://bugs.winehq.org/show_bug.cgi?id=57581
--- Comment #11 from Mitch Claborn mitch@claborn.net --- Can I provide any more information to help this along?
https://bugs.winehq.org/show_bug.cgi?id=57581
Mitch Claborn mitch@claborn.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|10.0-rc3 |10.0-rc5
https://bugs.winehq.org/show_bug.cgi?id=57581
Mitch Claborn mitch@claborn.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mitch@claborn.net
https://bugs.winehq.org/show_bug.cgi?id=57581
--- Comment #12 from Rafał Mużyło galtgendo@o2.pl --- ...there's a non-zero chance the commit, that went shortly after 10.0_rc5 (a058bd714f4a70f2b3df6527096126af249ba372) will make a difference.
https://bugs.winehq.org/show_bug.cgi?id=57581
--- Comment #13 from Mitch Claborn mitch@claborn.net --- Will there be a RC6? I can try the patch then.
https://bugs.winehq.org/show_bug.cgi?id=57581
--- Comment #14 from Austin English austinenglish@gmail.com --- (In reply to Mitch Claborn from comment #13)
Will there be a RC6? I can try the patch then.
Yes, released today.
https://gitlab.winehq.org/wine/wine/-/releases/wine-10.0-rc6
https://bugs.winehq.org/show_bug.cgi?id=57581
--- Comment #15 from Mitch Claborn mitch@claborn.net --- RC6 fixed the mouse problems! Thank you!
There is still some weirdness with the saving and restoring of the window position at startup. (A very minor issue that I can live with.) - If I close SQLyog while it is on the 4th monitor, the position is recorded (sqlyog.ini) as top=71, left=3922. But when I restart, it displays the window at the top left of #2. - If I close SQLyog in that position (top left of #2) the position is recorded as top=38 left=0. left=0 should put it on monitor #1 (laptop screen). - xwininfo reports the top left of #2 as top=61 left=1924 - xwininfo reports the top left of #1 as top=48 left=4
https://bugs.winehq.org/show_bug.cgi?id=57581
--- Comment #16 from Mitch Claborn mitch@claborn.net --- In case it helps: The laptop screen (#1) is 1920x1280. The other 3 are 1920x1200.