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

Brackets does not open the browser to perform Live Preview on installations via Snap packages. #14084

Open
3 tasks done
core-ai-bot opened this issue Aug 31, 2021 · 10 comments
Open
3 tasks done

Comments

@core-ai-bot
Copy link
Member

Issue by erickmajor
Wednesday Nov 08, 2017 at 02:41 GMT
Originally opened as adobe/brackets#13823


Prerequisites

  • Can you reproduce the problem with Debug -> Reload Without Extensions?
  • Did you perform a cursory search to see if your bug or enhancement is already reported?
  • Did you read the Troubleshooting guide?

Description

When using Brackets using Snap Packet Installation, Live Preview does not work correctly.

Steps to Reproduce

  1. Install Brackets via Snap package (in my case I installed on Ubuntu 17.10);
  2. Open an HTML file in the Brackets application;
  3. Press the Line Preview button (highlighted by the lightning bolt icon in the upper right of the application);
  4. The icon modifies its color to show that it is enabled, but does not open the browser to perform the Live Preview.

Expected behavior: [What you expected to happen]

  • A new browser window with a new tab to open Live Preview.

Actual behavior: [What actually happened]

  • The new browser window is not displayed for Live Preview.

Versions

  • Brackets -- sprint 11 version 1.11.0-17524 (release 86b5e2d4e);
  • Linux Ubuntu 17.10.
@core-ai-bot
Copy link
Member Author

Comment by JungGaBin
Monday Nov 13, 2017 at 11:59 GMT


Hi@erickmajor
I saw this problem, so try it.
While I was looking for a solution, I knew one fact.
According to another user's github comment, while Brackets is not available as a Snap Package, the Linux Friendly fork Brackets-Electron is available as a similar Universal AppImage.

More information about Brackets-Electron and installing the AppImage is available at Brackets Linux Installation Guide.

@core-ai-bot
Copy link
Member Author

Comment by erickmajor
Monday Nov 13, 2017 at 16:00 GMT


Hi@JungGaBin, thanks for the reply!

I'm using this version while the Brackets Snap is not yet stable. Ubuntu allows both to coexist without influencing each other. The Brackets Eletron had another bug that made it unusable in Ubuntu 17.10, but now it has a correction allowing its use.

Is there any provision for fixing this bug in Brackets Snap?

Thank you in advance.

@core-ai-bot
Copy link
Member Author

Comment by JungGaBin
Tuesday Nov 14, 2017 at 08:56 GMT


Hi@erickmajor. Sorry to answer late.

I searched a lot for the regulations, but there was not much information about that.
So I actually tried, but I could not find it.
If you know the answer, please let me know.

I'm sorry for not getting the perfect answer.

@core-ai-bot
Copy link
Member Author

Comment by erickmajor
Tuesday Nov 14, 2017 at 11:06 GMT


Hello@JungGaBin, thanks for the reply.

I have not looked at the Brackets source code with caution. I'm still new to Snap packages.

For the little that I know, I believe it may be the lack of connection to the environment, just like the application Gradio does. In this way, Brackets would find the Google Chrome browser installed on the system (Live Preview option) or the browser used by the system (experimental Live Preview option) and would enable this functionality.

I recommend that you contact Häcker Felix to resolve this issue. Meanwhile, I follow the development of this solution and add some observation if I get some success in developing the fix.

@core-ai-bot
Copy link
Member Author

Comment by JungGaBin
Tuesday Nov 14, 2017 at 13:10 GMT


Thank you@erickmajor 👍
I will try as you say.

@core-ai-bot
Copy link
Member Author

Comment by erickmajor
Tuesday Nov 21, 2017 at 17:02 GMT


Hello@JungGaBin!

Any news?

@core-ai-bot
Copy link
Member Author

Comment by JungGaBin
Saturday Nov 25, 2017 at 06:53 GMT


Hello ,@erickmajor
I have tried, but nothing has improved.

@core-ai-bot
Copy link
Member Author

Comment by erickmajor
Tuesday Nov 28, 2017 at 15:38 GMT


Hi@JungGaBin, no problem.

I await the correction of this bug.

@core-ai-bot
Copy link
Member Author

Comment by dariushm2
Sunday Dec 17, 2017 at 22:04 GMT


Had the same issue, turned out I just needed to choose "Enable Experimental Live Preview" option from File menu. Now it is working again.

@core-ai-bot
Copy link
Member Author

Comment by kaincenteno
Monday Apr 20, 2020 at 01:07 GMT


Issue still happening as of today on Ubuntu 20.04 but enabling experimental live preview as@dariushm2 mentioned works.

Would be great if Brackets can recognize it's running as a snap and auto enable this feature.

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