<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 - "LibreOffice Document Recovery" dialog appears even when there is no document to recover"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=134387">134387</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>"LibreOffice Document Recovery" dialog appears even when there is no document to recover
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>7.1.0.0.alpha0+ Master
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>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>Base
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>gerald@pfeifer.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=162503" name="attach_162503" title="Screenshot of "empty" crash dialog">attachment 162503</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=162503&action=edit" title="Screenshot of "empty" crash dialog">[details]</a></span>
Screenshot of "empty" crash dialog
How to reproduce:
1. Invoke LibreOffice via the command line specifying a document that
makes LibreOffice crash.
2. Observe how the "LibreOffice Document Recovery" dialog appears, even
though no document has been nominally opened.
3. In particular note how the "The following files will be recovered"
list is empty.
I cannot reproduce this directly any longer, since the original issue (of
LibreOffice choking on a presentation) has been fixed. In terms of pseudo
code, the patch probably should look something like the following:
- openDocumentRecoveryDialog();
+ if ( globalstate.documentList.size() > 0 ) {
+ openDocumentRecoveryDialog();
+ }</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>