dmarmor / epichrome

An application and Chrome extension for creating web-based applications that work like standalone Mac apps.
GNU General Public License v3.0
854 stars 57 forks source link

All "apps" opening in same app space #259

Closed graceyoung-ww closed 4 years ago

graceyoung-ww commented 4 years ago

I have a number of apps setup using Brave as the default. I recreated these apps using a recent update (2.3.3 or 2.3.4).

Let's say I have three apps: Gmail YouTube Music Google Drive

When I open YouTube Music, I get a blank window, even though it was setup to point to music.youtube.com

When I go to music.youtube.com it is not logged in (expect: this would be remembered).

When I then attempt to open the Gmail app (built in the same way, as a separate Epichrome app), a blank window opens up in the YouTube Music window. If I login to this account, whenever I click the Gmail icon, it brings the YouTube Music window to the foreground.

Some other, potentially related issues:

Given my experience, and noting a number of the other issues presented by other users, there seems to be a pretty fundamental underlying issue with the browser instances not being properly separated.

I've really enjoyed using Epichrome to date, but these slew of issues are starting to stack up. Hoping that there's some work towards resolution underway...

graceyoung-ww commented 4 years ago

I've uninstalled two of the apps (the YouTube Music and Gmail apps) and recreated again from scratch (using Brave) and it seems to be working again. If I can determine steps to reproduce, I'll post here again.

dmarmor commented 4 years ago

Hi @grantyoung-ww, glad to hear you were able to recreate those apps successfully. In the future, there's a simpler solution to what I suspect happened with you, which is that your engine was not deactivating properly for some reason. I'll be adding a section to the troubleshooting guide about it. In the meantime, here's what I'm adding:

If you keep your apps in the dock, you may find that launching them from there (especially after a system crash) brings up a generic browser window rather than your app.

This can happen if the app engine was not properly deactivated the last time the app quit (which is why it often occurs after a system crash). The solution is simple: launch the app once from the main app (the one you created with Epichrome.app). To make sure you're launching the main app, either use Spotlight to find it, or open a Finder window and launch it from there.

Once you have a successful launch of the app, quit it. The next time you launch it from the dock, it should launch properly again.

graceyoung-ww commented 4 years ago

Thanks! Will try that if it happens again. It was after a system crash, now that you mention it, but I hadn't made the connection...

On Thu, 2 Jul 2020 at 08:46, dmarmor notifications@github.com wrote:

Hi @grantyoung-ww https://github.com/grantyoung-ww, glad to hear you were able to recreate those apps successfully. In the future, there's a simpler solution to what I suspect happened with you, which is that your engine was not deactivating properly for some reason. I'll be adding a section to the troubleshooting guide about it. In the meantime, here's what I'm adding:

If you keep your apps in the dock, you may find that launching them from there (especially after a system crash) brings up a generic browser window rather than your app.

This can happen if the app engine was not properly deactivated the last time the app quit (which is why it often occurs after a system crash). The solution is simple: launch the app once from the main app (the one you created with Epichrome.app). To make sure you're launching the main app, either use Spotlight to find it, or open a Finder window and launch it from there.

Once you have a successful launch of the app, quit it. The next time you launch it from the dock, it should launch properly again.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dmarmor/epichrome/issues/259#issuecomment-652682339, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM7HJODZ7NSGU56H2K34PP3RZO4DJANCNFSM4OM7EM3A .

--

Grant Young Chief Innovation Officer Wattwatchers Pty Ltd grant@wattwatchers.com.au 0407 266 536

dmarmor commented 4 years ago

Ah! Yeah, if it was after a crash then I'm even more confident that's what it was, so hopefully if you see it again it should be an easy fix.