<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 - UI File recovery wizard does not discard data about files it failed to restore"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=136172">136172</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>UI File recovery wizard does not discard data about files it failed to restore
          </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>Keywords</th>
          <td>needsUXEval
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>UI
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>libreoffice@nisz.hu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>libreoffice-ux-advise@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>112970
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=164736" name="attach_164736" title="Screenshot of the recovery wizard start with files already renamed">attachment 164736</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=164736&action=edit" title="Screenshot of the recovery wizard start with files already renamed">[details]</a></span>
Screenshot of the recovery wizard start with files already renamed

Some of our users complained about the document recovery wizard “constantly
popping up”.
Turns out if the recovery wizard fails to recover a document – such as there
was a crash, but no backup was made yet and the original file was removed – the
wizard does not discard recovery information automatically.
It is not possible to do so manually after the recovery is failed. 
So upon next LO start the failed document shows up again in the recovery
wizard. 
Users could make a thoughtful decision to discard the recovery data at this
point, but sometimes this does not happen: their perception is that it’s better
to let the wizard always try to do the recovery.

Steps to reproduce:
    1. Make LO crash with a document. I used <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=100424" name="attach_100424" title="Sample xlsx format file.">attachment #100424</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=100424&action=edit" title="Sample xlsx format file.">[details]</a></span> on a 32 bit
build, saving this file on Windows still causes a crash (but not on 64 bits).
    2. Before next LO start rename the original file.
    3. Start LO. The recovery wizard shows up and proposes to recover
<span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=100424" name="attach_100424" title="Sample xlsx format file.">attachment #100424</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=100424&action=edit" title="Sample xlsx format file.">[details]</a></span> 
    4. Choose Start, and observe that recovery fails
    5. After the failed recovery only the Finish button is available, Discard
is disabled.
    6. Exit LO and reopen it.
    7. The recovery wizard shows up again, proposing to recover attachment
#100424 

Actual results:
After a failed recovery the info about the file to recover is not deleted
automatically.

Expected results:
If recovery fails LO should make it possible to remove recovery data about
failed files, i.e. do what the Discard button does at start time. 
Maybe in an explicit question, with the answer defaulting to “Delete”.
Or even remove the recovery data automatically when the user clicks Finish.
It’s unlikely next time it will be more successful - at least for local files,
not sure about networked ones.

LibreOffice details:
Version: 7.1.0.0.alpha0+ (x86)
Build ID: 4f0617275f2c9669901a4b06d2133533ceb437a0
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [META] Document recovery bugs and enhancements"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=112970">Bug 112970</a>] [META] Document recovery bugs and enhancements
              </li>
          </ul>
        </div>
        <br>

      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>