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

[CLOSED] Live preview opens Chrome Canary instead of stable Chrome #6393

Open
core-ai-bot opened this issue Aug 30, 2021 · 11 comments
Open

[CLOSED] Live preview opens Chrome Canary instead of stable Chrome #6393

core-ai-bot opened this issue Aug 30, 2021 · 11 comments

Comments

@core-ai-bot
Copy link
Member

Issue by sapeish
Monday Mar 03, 2014 at 21:02 GMT
Originally opened as adobe/brackets#7062


If both versions of Chrome are installed, Brackets opens Canary instead of regular stable Chrome.

Stable Chrome path: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
Chrome Canary path: C:\Users\sapeish\AppData\Local\Google\Chrome SxS\Application\chrome.exe
Brackets version: sprint 36 build 0.36.0-11506
OS: Windows 7
@core-ai-bot
Copy link
Member Author

Comment by redmunds
Monday Mar 03, 2014 at 21:48 GMT


Thanks for filing. Can you look in your Registry at this key and let us know if it's set, and if so, to what?

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe

@core-ai-bot
Copy link
Member Author

Comment by sapeish
Tuesday Mar 04, 2014 at 03:04 GMT


It is set to:

"C:\Users\sapeish\AppData\Local\Google\Chrome SxS\Application\chrome.exe"

But my system default browser is Chrome:

HKEY_CLASSES_ROOT\http\shell\open\command = "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Tuesday Mar 04, 2014 at 15:47 GMT


Thanks for the info. Brackets uses the registry key I mentioned above to help determine location of chrome.exe, but apparently it is not reliably Chrome stable, so we'll need to research this some more.

As a workaround, you should be able to change that setting to the path to Chrome stable.

Brackets also doesn't want to use system default browser which may be a non-chrome browser.

@core-ai-bot
Copy link
Member Author

Comment by dangoor
Wednesday Mar 12, 2014 at 18:19 GMT


Reviewed. We'll call this low priority for now (we can raise it if we start getting a bunch of reports from people having problems because the wrong Chrome is launching).

Note that some form of #6622 would actually be ideal because it would allow a user to selectively run against Canary or their Chrome stable (and eventually other browsers).

@core-ai-bot
Copy link
Member Author

Comment by marcofugaro
Monday Apr 07, 2014 at 23:13 GMT


Yes, I have the same problem, I installed Brackets fresh shortly and the live prewiew opens always in Google Canary. I'd like to open it on a new tab in normal Chrome.

I also have Win 7 64-bit and Chrome as my default browser. I didn't even know the esistance of Google Canary before this, and therefore I suppose this is common to all users with the same configuration.

Thanks for the help.

Bracket version: sprint 37 Build 0.37.0-12014

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Monday Apr 07, 2014 at 23:53 GMT


@marcofugaro Brackets seems to load the last Chrome that was installed, so I think you can work around this by uninstalling stable Chrome and re-installing it.

@core-ai-bot
Copy link
Member Author

Comment by marcofugaro
Monday Apr 07, 2014 at 23:59 GMT


Thanks a lot, will do that.
Again, I'm new to brackets and I would have preferred a choose browser option like they proposed few posts ago. Keep up the good work.

@core-ai-bot
Copy link
Member Author

Comment by marcofugaro
Thursday Apr 10, 2014 at 01:23 GMT


Update: I did as you said, actually found out I didn't even have Chrome Canary installed, so I reinstalled everything, Canary, Chrome and Brackets, and the problem sill persists.

What i found out is that Live Prewiew opens in a new window of the stable version of standard Chrome, totally different from the Chrome I am able to open normally, and you can't merge those windows together.
new window

Moreover this error from Chrome pops up when I try to open Live Preview sometimes
error

I'm lost at this point and don't know how to proceed, hope this information helps for future debugging.

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Thursday Apr 10, 2014 at 02:01 GMT


Opening Live Preview in a separate window is expected. This is done so Brackets doesn't mess up your other browser windows.

You can clear your Live Preview Chrome profile as follows:

  1. In Brackets, use: Help > Show Extensions Folder
  2. Shutdown Brackets
  3. Navigate up 1 folder level to the Brackets folder
  4. Delete the "live-dev-profile" folder
  5. Restart Brackets

Does that fix it?

@core-ai-bot
Copy link
Member Author

Comment by marcofugaro
Thursday Apr 10, 2014 at 02:41 GMT


Yes that solved the profile problem, thanks.

Sorry for derailing the thread, I thought you was supposed to use your ordinary tabs.

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Thursday Jan 08, 2015 at 21:42 GMT


Everything here is covered in Chrome section of Troubleshooting guide. Closing.

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

1 participant