https://bugs.winehq.org/show_bug.cgi?id=53910
--- Comment #17 from Rafał Mużyło galtgendo@o2.pl --- So, sorry for the delay and no, I don't have a log yet - the changes have turned this from something that triggers 100% of the time to a near-heisenbug.
Yet I've just observed the bug (still with 9.22, don't have latest fixes yet) and did something trivial, yet that still didn't occur to me to try it before.
Namely, I moved the window.
Silly, ain't it ?
So, if I move the window that's had been on the primary monitor (which is leftmost) (and got affected by the bug) somewhat to the left, I regain the mouse access to the seemingly affected part of the window.
So it seems, it's not the game window that's affected, but the internal desktop size tracking/caching. Somehow the flaky behavior of the secondary monitor during the shutdown triggers a race (now, likely before it wasn't a race, but something consistent) on shutdown that *sometimes* makes wine cache the size of the desktop wrongly (without that secondary monitor perhaps (don't know how to check the current size in wine; btw, that was a question)), but doesn't restore proper size when the monitor awakes.
Oh, and now for funsies, I've tried to move the 'affected' widow to the secondary monitor - it completely disappeared both from the monitor *and* the window list (remember, still on 9.22)...
Let's see if I can restore it by xrandr or wmctrl...
(side note: xwininfo sees the window:
Absolute upper-left X: 1996 Absolute upper-left Y: 91 Relative upper-left X: 1996 Relative upper-left Y: 91 Width: 1600 Height: 900 Depth: 24 Visual: 0x21 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x5e00001 (not installed) Bit Gravity State: NorthWestGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsUnMapped Override Redirect State: no Corners: +1996+91 --396+91 --396-89 +1996-89 -geometry 1600x900+1996-89 )
...
'wmctrl -i R <ID>' restored the window on the secondary - it's fully accessible now, though wrongly sized...though game's internal window reset fixed that.
Interesting...
Your thoughts ?