brains icon indicating copy to clipboard operation
brains copied to clipboard

Can't Save File

Open htahboub opened this issue 5 years ago • 10 comments

Device: Chrome on Ubuntu

I tried making a meme. I used all the panels already there and added one more. I filled each one with two to three lines of text. When I downloaded, the file that popped up on the bottom was called 'download' and below it, it said Failed - Network error. I tried making it all over again, but the same thing happened. I then tried saving without text at all, and it worked, saving the file as 'meme.png'. Turns out that it fails no matter what when I put any text at all, even without the extra panel.

htahboub avatar Jul 04 '19 11:07 htahboub

Hi, I will try to reproduce this. In the meantime - how about clicking a right mouse button -> "Save as"? Or clicking a preview (eye icon) and downloading by "Save as"?

mat3e avatar Jul 04 '19 11:07 mat3e

This worked when there was only a little bit of text, but when I filled just two panels with about 3 lines, it produced the same result.

htahboub avatar Jul 04 '19 11:07 htahboub

And what is your Chrome version? I will check their changelog, maybe they changed something with canvas API I use for rendering everything. And how about the preview alone? Does it work (displays a full meme with text)?

mat3e avatar Jul 04 '19 12:07 mat3e

I'm on Chrome 74.0.3729.169. The preview looks great, but I had to press enter for new lines as they didn't generate automatically.

htahboub avatar Jul 04 '19 13:07 htahboub

Yes, these new lines were my decision - I think users know better where to put them.

I was able to reproduce this "Network error". I'm using canvas.toDataURL and it seems I'm hitting some URL size limitations for large pictures: https://stackoverflow.com/a/16173795/4774651.

On the other hand, it was possible to use a mentioned "Save as" method from the preview: Screenshot 2019-07-06 at 09 04 20

Doesn't it work for you?

mat3e avatar Jul 06 '19 07:07 mat3e

What's interesting, downloading such a big image works on Firefox. Seems it has no URL limitations. Or at least it doesn't have so strict ones.

mat3e avatar Jul 06 '19 07:07 mat3e

Here, as you can see, it doesn't work when I 'save as...' either. However, it works fine when there's only about a line of text.

htahboub avatar Jul 07 '19 08:07 htahboub

Have you been able to find a fix? Just found that the same thing happens on Android Chrome for me

htahboub avatar Aug 11 '19 09:08 htahboub

Was this working on Android Chrome previously? Unfortunately, I found no solution.

mat3e avatar Aug 11 '19 20:08 mat3e

No, this is my first time checking. No worries, a screenshot will have to do.

On Sun, 11 Aug 2019 at 23:10, Mateusz Chrzonstowski < [email protected]> wrote:

Was this working on Android Chrome previously? Unfortunately, I found no solution.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mat3e/brains/issues/3?email_source=notifications&email_token=ACUFFOA7XMWMBXK4AR3SNV3QEBW2ZA5CNFSM4H5YP2PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4BHYXA#issuecomment-520256604, or mute the thread https://github.com/notifications/unsubscribe-auth/ACUFFOBHUCBEX7MFRXPZLO3QEBW2ZANCNFSM4H5YP2PA .

-- Sincerely, Hamza Tahboub

htahboub avatar Aug 11 '19 20:08 htahboub