Rank: Newbie
Groups: Approved
Joined: 8/10/2019(UTC) Posts: 4
Thanks: 3 times Was thanked: 1 time(s) in 1 post(s)
|
If you have been using a mouse gesture to minimize windows you have probably noticed an issue with tooltips being "stuck" on your screen after minimizing a window. This happens if your gesture ends over an element with a tooltip (title attribute) and the only way to remove the tooltip is to restore the offending window. This is a bug in chromium which affects the chrome browser as well as all electron based applications. After being annoyed by this issue for years I found a simple workaround that fixes it entirely. All you need to do is send a WM_MOUSELEAVE message before minimizing the window. Code:// Minimize the window underneath the starting point of the gesture
var WM_MOUSELEAVE = 0x02A3;
if (action.Window)
{
action.Window.SendMessageObj(WM_MOUSELEAVE,0,0);
action.Window.Minimize();
}
|
1 user thanked username101 for this useful post.
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The StrokesPlus.net Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close