brackets-archive / bracketsIssues

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

[CLOSED] Base64 encoding crashes #9580

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by activenode Tuesday Apr 14, 2015 at 08:14 GMT Originally opened as https://github.com/adobe/brackets/issues/10896


In OSX when opening CSS-Files with big images encoded in Base64 Brackets crashes completely (it does not crash but stand still).

core-ai-bot commented 3 years ago

Comment by prafulVaishnav Tuesday Apr 14, 2015 at 12:38 GMT


@activenode What is the size of the file containing the image encoding?

core-ai-bot commented 3 years ago

Comment by abose Tuesday Apr 14, 2015 at 18:47 GMT


similar issue #10738

core-ai-bot commented 3 years ago

Comment by activenode Wednesday Apr 15, 2015 at 13:41 GMT


Yes and no. I am experiencing this problem with 35kb files! Which is not large at all!

The structure is as follows .JM_icon-draghandles-white{background-image:url(data:image/png;base64,iVBO .... .JM_icon-test-white{background-image:url(data:image/png;base64,iVBO ....

-- so I gues it could be the line-length, not the filesize itself.

core-ai-bot commented 3 years ago

Comment by abose Wednesday Apr 15, 2015 at 18:01 GMT


Yes probably the line length would be the issue here. Brackets doesn't handle long lines very well, issue #10738 describes similar issues with files the the 100KB range.

core-ai-bot commented 3 years ago

Comment by activenode Thursday Apr 16, 2015 at 06:50 GMT


Why is that so? Any reason for that? I totally switched the Editor because we are working with auto-generated icons.css and this breaks the workflow.

core-ai-bot commented 3 years ago

Comment by abose Thursday Apr 16, 2015 at 07:12 GMT


Very sorry to hear that this issue is breaking your workflow. I have marked for fixing this issue in the next release. Please give us some time to fix the issue.

core-ai-bot commented 3 years ago

Comment by MarcelGerber Saturday Apr 18, 2015 at 20:19 GMT


@activenode I think my branch (PR #10882) will fix that issue. Would you be willing to try? I could generate a test build for you so you can just replace some files in the Brackets install dir - only if you want, of course.

core-ai-bot commented 3 years ago

Comment by activenode Sunday Apr 19, 2015 at 06:16 GMT


@MarcelGerber I sure will.

core-ai-bot commented 3 years ago

Comment by MarcelGerber Sunday Apr 19, 2015 at 10:20 GMT


@activenode I've created a custom build for you at https://mega.co.nz/#!iEsTlKrJ!HLCCBqLsJ8RoTpeKlrxYLZNEPAHdyJu9eFdGXdPDcug.

  1. Download and unzip it
  2. When launching Brackets, hold down Shift
  3. In the dialog, select www/index.html of the unzipped folder
core-ai-bot commented 3 years ago

Comment by activenode Sunday Apr 19, 2015 at 10:45 GMT


I'll give it a try and tell you the experiences the next days.

core-ai-bot commented 3 years ago

Comment by activenode Monday Apr 20, 2015 at 08:55 GMT


It did not help. Here you go with a file that crashes Brackets: https://gist.github.com/activenode/d1d8706328b7a0bf462c

core-ai-bot commented 3 years ago

Comment by activenode Monday Apr 20, 2015 at 13:47 GMT


Ok this seems to be not a Bracketsproblem at all. At least not for this example. This plugin was the reason: https://github.com/Hirse/brackets-outline-list

core-ai-bot commented 3 years ago

Comment by MarcelGerber Wednesday Apr 22, 2015 at 14:26 GMT


Could you maybe file an issue with that extension so its developer (@Hirse) can take a look?