Bug 152603

Summary: drag-and-drop objects in navigator doesn't work below last item
Product: LibreOffice Reporter: Stéphane Guillou (stragu) <stephane.guillou>
Component: ImpressAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: minor CC: ilmari.lauhakangas, raykowj
Priority: low    
Version: 7.5.0.0 beta1+   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103030, 145359    
Attachments: test slide

Description Stéphane Guillou (stragu) 2022-12-20 01:04:23 UTC
Created attachment 184251 [details]
test slide

In Impress / Draw, since the fix for bug 145359, we can drag and drop objects in and out of groups.
However, dropping into the empty area under the last element in the tree doesn't do anything.

Steps:
1. Open attachment
2. Open navigator sidebar
3. Drag and drop Shape 2 in the empty area below Shape 4

Result:
A green line appears under the last item, but nothing happens when Shape 2 is dropped.

Expected:
Object is placed last, at the same level as the item below which it is placed (in this case, ungrouped. If Shape 4 was part of a group, Shape 2 would enter the group.)
Comment 1 Buovjaga 2023-01-03 11:12:18 UTC
Repro

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 88ebc324a51f16df0248d6a0d53d2169b1995dda
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded Jumbo
Built on 3 January 2023