Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hot reload forces app to become front window #1184

Open
greatwitenorth opened this issue Jan 15, 2024 · 4 comments
Open

Hot reload forces app to become front window #1184

greatwitenorth opened this issue Jan 15, 2024 · 4 comments

Comments

@greatwitenorth
Copy link

🐞 bug report

✍️ Description

Given that I have a hot reloadable page loaded in the Responsively App, and the app is not currently the front window, when the page hot reloads, the Responsively app automatically becomes the front window, disrupting my work.

🕵🏼‍♂️ Is this a regression?

Unsure

🔬 Minimal Reproduction

  • Load a hot reloadable page in Responsively
  • Open your code editing program to the site that's currently loaded
  • Make an edit in your code and save
  • The Responsively app will automatically become the front window

🌍 Your Environment


Version: 1.10.0
Electron: 27.0.4
Chrome: 118.0.5993.129
Node.js: 18.17.1
V8: 11.8.172.17-electron.0
OS: Darwin arm64 23.1.0
@preeteshjain
Copy link

Happening with me as well. Really annoying behaviour. How can we fix this?

Possible duplicate #837

@kozleek
Copy link

kozleek commented Mar 21, 2024

Same problem here.

@jkaeske
Copy link

jkaeske commented Mar 28, 2024

Same here

@preeteshjain
Copy link

I think this is the code that is causing the issue:

} else {
mainWindow.showInactive();
if (!windowShownOnOpen) {
windowShownOnOpen = true;
mainWindow.show();
} else {
mainWindow.showInactive();
}
}
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants