[Libreoffice-bugs] [Bug 121598] New: Slides deleted if slide dragged from the pane

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Nov 21 16:41:58 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=121598

            Bug ID: 121598
           Summary: Slides deleted if slide dragged from the pane
           Product: LibreOffice
           Version: 6.0.6.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: tkayikci at gmx.com

Description:
I noticed this problem after an update. Basically, if I click a slide (A) in
the slide pane and drag it in-between two slides (B-C), the slide is supposed
to be moved between them, i.e. the final order is B-A-C. This probably happens
by a mechanism that makes a copy of the slide A between B and C, and then
deletes the original A from the original position.

But if one clicks on slide A, and not drag it to anywhere, slide A is deleted.
This happens with the slightest up-down movement of the mouse during the
selection, which is something that a typical user always does to a certain
extent.

What seems to happen in the background is that if the user does not drag the
slide sufficiently far away, then B=A, the slide A is tried to be inserted
between A and C, rather than B & C. The slide is deleted from its previous
location, without making a copy at its original position, causing loss of data.

Actual Results:
Make a presentation with 2 slides.
On the slide pane (left), drag second slide downwards
Slide 2 will disappear

Expected Results:
Make a presentation with 2 slides.
On the slide pane (left), drag second slide downwards
Slide 2 does not move anywhere.


Reproducible: Always


User Profile Reset: No



Additional Info:
I think something like this should be added:

if (the move-to-location == move-from-location)
>>>do nothing
else
>>>make a copy at the move-to-location
>>>remove the copy at the move-from-location
end

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181121/ef0913aa/attachment.html>


More information about the Libreoffice-bugs mailing list