Pharap / ABSpriteEditor

A basic sprite editor designed for exporting and editing Arduboy sprites.
Apache License 2.0
7 stars 0 forks source link

'Invert' tooltip flashes on and off #42

Open ace-dent opened 2 years ago

ace-dent commented 2 years ago

Mouse-over the 'Invert' tool. Tool-tip momentarily displays but starts to flash on/off rapidly. Only happens when window is made full-screen height (width doesn't matter). Behaviour not shown with other tooltips.

Update: Can trigger with a smaller window, but when the window is low enough that the tooltip doesn't have enough y-space to be displayed. Perhaps because the text contains multiple lines?

Pharap commented 2 years ago

It's because when the box is that far down your screen the tooltip has to render higher to avoid overlapping the toolbar, so the mouse ends up intersecting with the tooltip instead of the button, and that somehow cancels the displaying of the tooltip.

I hasten to point out that's not my fault, that's Microsoft's fault. I just provide the tooltip text, the actual tooltip control is written by Microsoft.

My options for fixing it amount to:

Interestingly it doesn't always happen, it seems to depend where the mouse approaches from and at what speed.