<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 - Slides deleted if slide dragged from the pane"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=121598">121598</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Slides deleted if slide dragged from the pane
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.0.6.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (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>Impress
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>tkayikci@gmx.com
</td>
</tr></table>
<p>
<div>
<pre>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)
<span class="quote">>>>do nothing</span >
else
<span class="quote">>>>make a copy at the move-to-location
>>>remove the copy at the move-from-location</span >
end</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>