edgafner / GBrowser

A Browser embedded in your IDE
Apache License 2.0
80 stars 19 forks source link

[BUG]: Browser is autofocusing and IDE stuck #287

Open zotil opened 4 months ago

zotil commented 4 months ago

Describe the bug Working with WebStorm and NextJS. After editing code and save, the browser refresh and focus it. I can't continue editing the code and I need to click back on the editor. Even working like that, after few refresh it got stuck completely and the IDE is not responding.

To Reproduce Create a NextJS project, open it with WebStorm, run the dev server and open in GBrowser. Try to edit any file that modify the webpage

Expected behavior To not autofocus when refreshing the browser after saving a file

Screenshots N/A

Desktop (please complete the following information):

Jetrbrains IDE (please complete the following information):

Azure Devops organization details: N/A

Additional context N/A

DavidAntliff commented 4 months ago

I'm also experiencing the exact same thing in RustRover 2024.1.4, com.gafner.giv (2024.1.17). Opening the GBrowser Tool Window steals focus away from my editor windows and I can't really do anything.

If I close the GBrowser Tool Window, I get back control and can edit files again.

Jonatha1983 commented 4 months ago

Hi @zotil an @DavidAntliff Will debug this on the weekend and will keep you updated.

becmer commented 3 months ago

Same issue.

Actually running on the following, however, noticed the issue on previous stable versions as well:

RustRover 2024.2 EAP
Build #RR-242.21829.114, built on August 27, 2024
Runtime version: 21.0.3+13-b509.11 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.X11.XToolkit
Linux 6.10.3-amd64
Current Desktop: GNOME