https://bugs.winehq.org/show_bug.cgi?id=41062
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
--- Comment #15 from Esme Povirk madewokherd@gmail.com --- Created attachment 70482 --> https://bugs.winehq.org/attachment.cgi?id=70482 testcase
A similar issue was reported to Wine Mono here: https://github.com/madewokherd/wine-mono/issues/108
Bug 39547 may also be the same bug.
It happens that winforms tooltips are based on the builtin tooltip class from comctl32, so this affects winforms in Wine Mono and all versions of .NET.
I wrote a quick testcase (attached) that shows the tooltips being incorrectly focused in Wine. It seems that the usage in Wine's tests results in a default window style of WS_CAPTION being applied, which causes winex11.drv's is_window_managed heuristic to return TRUE.
I assume we don't want to change that heuristic. That means that either we need to prevent that window mode from being set in comctl32 (which is something the application could observe and we could test for), or we need is_window_managed to give special treatment to the builtin tooltip classes. Am I missing anything?