Skip to content

LivePreview not opening in Chrome because there is a "space" in my User Account name on my PC. #268

@SunilSuresh5260

Description

@SunilSuresh5260

Prerequisites

  • Can you reproduce the problem with Debug -> Reload Without Extensions? (I didn't do this since the problem is because of the space in my User folder name on my PC.)
  • Did you perform a cursory search to see if your bug or enhancement is already reported? Yes. I couldn't find it reported by anyone else
  • Did you read the Troubleshooting guide? Yes. It didn't help.

For more information on how to write a good bug report read here
For more information on how to contribute read here

Description

I am unable to open Live Preview after updating to Brackets 2.2

If I enable the "Experimental Live Preview" feature and then try opening Live Preview, it says "Open an HTML file or make sure there is an index.html file in your project in order to launch live preview." I think this requirement is RIDICULOUS. Suppose I'm just editing a single file (say, "contact us.html")? Why can't I do a live preview of just that file?

Steps to Reproduce

  1. Open any html file in Brackets
  2. Try to open LivePreview of that file

Expected behavior: Obviously, I should be able to see a Live Preview of the file that was open in Brackets.

Actual behavior:

  1. With Experimental Live Preview enabled, I get an error message saying that there should be an index.html file in my project (as I've mentioned above).
  2. Without Experimental Live Preview enabled, I get the following error messages:
    a) I get an error message in Brackets -- "Failed to Create Directory: Google Chrome cannot read and write to its data directory: C\Users\Sunil" -- Chrome obviously cannot read/write to this folder because my user folder is "Sunil Suresh", not "Sunil".
    b) In my browser, a new tab opens with "http://suresh/AppData/Roaming/lp" which obviously doesn't load since there is no folder called "suresh" on my PC
    c) And of course, the LivePreview does not load.
    Please see the attached files.

So, I think there is a bug in the program in that it is not considering the "space" in my Users folder name.

Versions

Windows 10 Home 21H2 (build 19044.2728)
Brackets v.2.2.0-17942
Chrome 64-bit, v.111.0.5563.65
2a
2b
2c

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions