https://bugs.freedesktop.org/show_bug.cgi?id=86334

            Bug ID: 86334
           Summary: EDITING WRITER - cannot undo deleted images afters
                    saving
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: x86-64 (AMD64)
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: msrame...@gmail.com

Hi,

if I delete an image in Writer (tested in several version, including the most
recent 4.4.alpha2), save the document and subsequently try to undo the
deletion, the image is not restored and "Read error" appears in the place of
the image. OOo3.3 behaves in the same way. Autosave does not result in this
problem. I do not observe this problem in Impress

While on the one hand this behavior can be easily explained, on the other hand
I think that the situation should be handled in a more decent way, since a user
may be confused and may regard this as an internal LO bug. It may easily happen
that the user does not realize that this was caused by earlier deletion and
subsequent saving. 

I see two possibilities how to handle this situation:
- Change the "Read error" message  by a clear explanation: "The deleted image
is no more available after saving". 
- Do not remove the deleted images from cache on saving. 

To repeat:
1 create an empty writer document
2 add an image
3 save the document
4 close LO
5 open the document
6 delete the image
7 save the document
8 hit CTRL-Z: Image is not restored, and "Read error" appears

If steps 4 and 5 are skipped, the image is restored correctly

--
milos

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to