brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

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

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by erickmajor Wednesday Nov 08, 2017 at 02:41 GMT Originally opened as https://github.com/adobe/brackets/issues/13823


Prerequisites

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]

Actual behavior: [What actually happened]

Versions

core-ai-bot commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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


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

core-ai-bot commented 3 years ago

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


Hello@JungGaBin!

Any news?

core-ai-bot commented 3 years ago

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


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

core-ai-bot commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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.