forestgao / jota-text-editor

Automatically exported from code.google.com/p/jota-text-editor
0 stars 0 forks source link

Check for available free disk space before saving afile and produce the appropriate error message #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Make sure 0 bytes of a free space available on the destination SD card
2. Either create a new file or open an existing file
3. Add some information to the opened file
4. Try to save a file

I would expect to see a clear message that there is no disk space available, 
instead I see the message that the file could not be saved and a reason is not 
clear

Jota text editor on Android platform.

Please provide any additional information below.

Thanks for looking into this, I really believe clear error messages will make 
this great application easier to use.

Thank you.

Original issue reported on code.google.com by msapi...@gmail.com on 17 Feb 2012 at 5:33

GoogleCodeExporter commented 9 years ago
To make it simple, error messages are simple.

There is a ton of reasons that causes make writing to SDcard fail.
So I won't check which reason causes the error.

BTW. you should buy larger size of SDCARD.

Thanks,
Jiro

Original comment by jiro.a...@gmail.com on 18 Feb 2012 at 8:15

GoogleCodeExporter commented 9 years ago
Jiro

Thank you for the answer.

My phone hardware limits it to SDHC use (32 GB) at the moment and this is the 
one I have. It was full of music files, videos, etc. I copied on the card for 
the trip, I took, with a few megabytes of the free space left and at some point 
Android OS and other applications temporary files occupied all the the rest of 
the free space I left on the card.

It took me a while to figure out what's wrong, as the text file I constantly 
edit are tiny ones, and the error message was ambiguously worded.
I had delete some files to make space for the altered file.

I agree the simplicity is a good thing, at the same time, ambiguity nullifies 
simplicity making it complicated to see the reason for a failure quickly.

Anyway, if nothing is to be done, please consider the issue closed.

Thanks for making otherwise good text editor.

Regards,
Alex

Original comment by msapi...@gmail.com on 19 Feb 2012 at 4:33

GoogleCodeExporter commented 9 years ago

Original comment by jiro.a...@gmail.com on 2 Mar 2012 at 1:00