Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Live preview opens Chrome Canary instead of stable Chrome #7062

Closed
diegovdev opened this issue Mar 3, 2014 · 11 comments
Closed

Live preview opens Chrome Canary instead of stable Chrome #7062

diegovdev opened this issue Mar 3, 2014 · 11 comments

Comments

@diegovdev
Copy link

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
@redmunds
Copy link
Contributor

redmunds commented Mar 3, 2014

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

@diegovdev
Copy link
Author

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"

@redmunds
Copy link
Contributor

redmunds commented Mar 4, 2014

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.

@dangoor
Copy link
Contributor

dangoor commented Mar 12, 2014

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).

@marcofugaro
Copy link

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

@redmunds
Copy link
Contributor

redmunds commented Apr 7, 2014

@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.

@marcofugaro
Copy link

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.

@marcofugaro
Copy link

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.

@redmunds
Copy link
Contributor

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?

@marcofugaro
Copy link

Yes that solved the profile problem, thanks.

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

@redmunds
Copy link
Contributor

redmunds commented Jan 8, 2015

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

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

No branches or pull requests

4 participants