andrelula / l517

Automatically exported from code.google.com/p/l517
0 stars 0 forks source link

Issues with file open (deletes initial char) and save (adds extra lines) #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start L517
2. Open an existing text file with a few entries.
3. Save file as a different name.

What is the expected output? What do you see instead?
L517 should contain the contents of the input file.

Instead, first character of the first line in the input file is missing. Also, 
it sorts the list, which is not necessarily desirable. Saving files confirms 
the issue, as well as highlights the second issue; additional blank lines added 
between items in list, as well as at the end of the list.

What version of the product are you using? On what operating system?
v0.993, Windows 7 x64

Please provide any additional information below.
I tried this over and over on multiple different files with different contents, 
and it is consistent for me.

Original issue reported on code.google.com by xmoondo...@gmail.com on 27 Oct 2011 at 9:34

Attachments:

GoogleCodeExporter commented 8 years ago
I am seeing the same behavior with v0.98, but not v0.97. I did not try any 
other versions.

Original comment by xmoondo...@gmail.com on 27 Oct 2011 at 9:37

GoogleCodeExporter commented 8 years ago
One more comment: The output files appear correct when opened in MS Notepad, 
but any other text editor (notepad++, pspad, etc) there are extra lines, 
truncated items, etc. Even if I copy the contents from notepad into notepad++, 
the list becomes corrupted.

Original comment by xmoondo...@gmail.com on 27 Oct 2011 at 10:07

GoogleCodeExporter commented 8 years ago
Thank you for the report.

These are two very big bugs: first character of first line missing and 
inserting new lines into the output.

I am working on these bugs now.

L517 sorts lists in order to make duplicate-removal easier.  If L517 did not 
sort the list, removing duplicates could take an extremely long time and a 
massive amount of memory.  This was a design decision made long ago and many 
features depend on the list being sorted.

Thanks again and I'll update here as I make progress with fixes.

Original comment by der...@gmail.com on 25 Feb 2012 at 7:06

GoogleCodeExporter commented 8 years ago
I was able to reproduce the issues you had.

After some testing and code changes, I have compiled a newer version (0.994) 
which does not have these problems.

Please test and let me know if the bugs you are experience are in the new 
version.

Download link to 0.994 is below:

http://l517.googlecode.com/files/L517%20v0.994.exe

Original comment by der...@gmail.com on 25 Feb 2012 at 8:27

GoogleCodeExporter commented 8 years ago
Just got around to trying your latest update, thanks for fixing these issues. 
However, I believe a previous issue (#2) has reappeared in v0.994. When opening 
a list, any words starting with symbols are omitted. 

*MD*

Original comment by xmoondo...@gmail.com on 11 Apr 2012 at 6:54