StrokesPlus.net
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
username101  
#1 Posted : Sunday, November 10, 2019 7:40:48 PM(UTC)
username101

Rank: Newbie

Reputation:

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();
}
thanks 1 user thanked username101 for this useful post.
markd on 11/13/2019(UTC)
Users browsing this topic
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.