<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - When recovering TAB-sep chart file, tabs are replaced by commas"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=129624">129624</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>When recovering TAB-sep chart file, tabs are replaced by commas
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Mac OS X (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Calc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>libre.griswolf@xoxy.net
</td>
</tr></table>
<p>
<div>
<pre>I programmatically write new lines into a TAB-separated file. I the open the
file using libreoffice calc. Sometimes when I try to close the file, it
crashes, and offers to recover. If I accept that offer, very often (always??)
the file is recovered as a COMMA-separated file. Some of my fields can
occasionally contain commas, which is why I chose tabs.
How to reproduce: Build a tab-sep file with several columns of several rows of
numeric data (the comma-containing fields aren't part of problem). Cause a
crash.
Allow file recovery
To cause the crash, as I've seen it:
Choose insert chart
choose X/Y scatter
cancel the insertion of the chart, maybe by simply closing the window
About 5% to 10% of the time (WAG) the save will fail and LibreOffice will
crash, while offering to recover my file.
I have seen this with three columns: two columns holding data in the
10,000-100,000 range and one holding data around 210 to 280; and as few as a
dozen rows.
What I expect: The file will be recovered in CSV format with the sep character
I used when creating it.
How you might do that: Ask what sep character(s) should be used. Or use an
rcfile of some kind to specify the default sep character. Or stash the sep
character(s) somewhere that an be recovered.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>