MinecraftDev icon indicating copy to clipboard operation
MinecraftDev copied to clipboard

Ungrab does not trigger when a breakpoint condition has an error until after the dialouge has been dismissed

Open ChiefArug opened this issue 1 year ago • 1 comments

Minecraft Development for IntelliJ plugin version

2024.1-1.7.6

IntelliJ version

2024.1

Operating System

Linux Mint

Target platform

Minecraft Forge

Description of the bug

If a breakpoint condition fails to evaluate, IntelliJ will stop at the breakpoint and open a dialouge asking if you would like to stop on the breakpoint or continue. However this dialouge seems to appear before the mouse is ungrabbed from Minecraft by the MCDev plugin, meaning you cannot click the buttons (however tab and alt + y/n work, although those do not allow you to scroll and see the entire box if the error is length)

image An easy way to get this error to happen is to add a new event listener, save the event to a variable, add a condition like newVariable != null, then change the variable name.

ChiefArug avatar Jun 19 '24 01:06 ChiefArug

Hmm I wonder if there's a different listener we need to attach to for this situation.

DenWav avatar Jun 19 '24 19:06 DenWav