beefytech / Beef

Beef Programming Language
http://www.beeflang.org
Other
2.49k stars 127 forks source link

[Bug] IDE steals focus on tooltip #2019

Closed m910q closed 1 week ago

m910q commented 3 weeks ago

IDE steals focus from other applications when mouse hovering code that triggers a tooltip.

The bug only starts happening, once a debugging session has been started with the new "Debug Console" set to "Embedded". When stopping debugging, it keeps happening.

Using the "Terminal" tab in the IDE does not trigger this bug.

bfiete commented 3 weeks ago

I haven't been able to reproduce. Maybe I'm missing a step or not understanding the reproduction instructions.

m910q commented 3 weeks ago

I just did some further testing, and found out it that the bug does indeed not always trigger on any debug session.

If I debug a project with a breakpoint that is hit, and continue from that, the bug does not trigger. But if I debug a project that exits without breakpoints, it starts happening.

Release/Debug build does not matter.

Steps to reproduce:

Now the bug should be active

Beef IDE takes focus from the other application

I have tested on both Win10 and Win11.

bfiete commented 1 week ago

Fixed at e1d5efe4de0692c9be472f1b2e7ee49aab3ab5a2

It's a weird one, almost like a bug in Windows, but this workaround seems to fix it.

m910q commented 1 week ago

Oh, I just starting debugging this issue, as I read this. Thanks for the fix.