https://bugs.winehq.org/show_bug.cgi?id=57679
Bug ID: 57679 Summary: SimHub shows black window when the app is minimized. Product: Wine Version: 10.0-rc2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: logos128@gmail.com Regression SHA1: 2e6820ee4ba30b1a8831d29937a369b9b548656b Distribution: ArchLinux
Usually this black window (rectangle) appears at the same place as the minimized window. When the app window is maximized again, it covers the black window. After several minimize/unminimize attempts, though, the black rectangle will appear elsewhere on the screen. After that the main window unminimizes at this new place, with its window controls (close box, minimize box, etc.) unresponsive to mouse clicks.
SimHub (https://www.simhubdash.com) is a WPF app and requires .NET 4.8 to function properly.
https://bugs.winehq.org/show_bug.cgi?id=57679
--- Comment #1 from Ivo Ivanov logos128@gmail.com --- Created attachment 77866 --> https://bugs.winehq.org/attachment.cgi?id=77866 SimHubWPF_issue.gz
WINEDEBUG=-all,+timestamp,+pid,+tid,+loaddll,+x11drv,+event,+win
Here the app window is minimized once, where the black window appears exactly on its place. Then the app window is unminimized to its original place covering the black frame.
Then the app window is minimized again. This time the black frame is much smaller and appears at the top left corner of the screen. When the app window gets unminimized, it appears at the top left corner, with its window controls unresponsive to mouse clicks.
Manjaro Linux (Arch), Xfce (X11), Nvidia GTX 1080ti - dev driver 550.40.82
https://bugs.winehq.org/show_bug.cgi?id=57679
--- Comment #2 from Ivo Ivanov logos128@gmail.com --- The above is on Wine 10.0rc5.r13.f1b2e2ca1bb.
https://bugs.winehq.org/show_bug.cgi?id=57679
--- Comment #3 from Ivo Ivanov logos128@gmail.com --- Created attachment 77867 --> https://bugs.winehq.org/attachment.cgi?id=77867 SimHubWPF.gz
WINEDEBUG=-all,+timestamp,+pid,+tid,+loaddll,+x11drv,+event,+win
This is taken with the commit preceding the regression - 10.0rc1.r17.a1e62217712
The app window minimizes/unminimizes without any problems.
Although this seems to have the issue with drop-down lists that 2e6820ee4ba commit actually fixes.
https://bugs.winehq.org/show_bug.cgi?id=57679
Ivo Ivanov logos128@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rbernon@codeweavers.com Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=57679
--- Comment #4 from Rémi Bernon rbernon@codeweavers.com --- Is this still happening with Wine 10.19?
http://bugs.winehq.org/show_bug.cgi?id=57679
--- Comment #5 from Ivo Ivanov logos128@gmail.com --- Created attachment 79747 --> http://bugs.winehq.org/attachment.cgi?id=79747 SimHub_wine_10.19.r42.log.gz
WINEDEBUG=-all,+timestamp,+pid,+tid,+loaddll,+x11drv,+event,+win
It's better now. The black window seems to be replaced by two floating windows with identical coords, which are placed in the upper left corner of the screen. They are as thin as a titlebar, without any controls on them, and quite small. When a game starts, they appear on top of the game window. And can be closed with Alt+F4 without any issue for SimHub. On Windows these objects are not visible. I'd assume this is part of the SimHub dash functionality, which places custom dash overlays on top of the game screen. I don't use this functionality on Wine, since it makes my GSync monitor run at max frequency all the time.
The part of this bug report about unresponsive controls after a while, seems to have been fixed. It no longer appears.
There is another thing that is probably related to the part of the bug report about unminimizing at a different (wrong) place on the screen. Now the app always unminimizes at the center of the screen, regardless of where the initial position was. This app minimizes/unminimizes to the system tray.
In the attached log, I made two attempts to minimize the main app window at various places of the screen. Both times it unminimized at the center. I also hovered/clicked on the floating windows, and then closed them with Alt+F4.
Manjaro Linux (Arch), Xfce (X11), Nvidia GTX 1080ti - driver 580.95.05