[Bug 41062] Evernote 6.1.x: search box loses focus due to tooltips

WineHQ Bugzilla wine-bugs at winehq.org
Tue Aug 17 16:08:43 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=41062

Esme Povirk <madewokherd at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |madewokherd at gmail.com

--- Comment #15 from Esme Povirk <madewokherd at 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?

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list