Bug 153529 - Drag-and-drop a sound from the gallery fails unless cursor is on the page
Summary: Drag-and-drop a sound from the gallery fails unless cursor is on the page
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3.0.3 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 154073 (view as bug list)
Depends on:
Blocks: Gallery
  Show dependency treegraph
 
Reported: 2023-02-10 16:43 UTC by smszuhair
Modified: 2023-03-30 14:23 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description smszuhair 2023-02-10 16:43:31 UTC
Description:
when i dragged a icon from sounds section it will appear for the first time only, after deleted that icon then dragged another one from sound section it doesn't appear

Steps to Reproduce:
1.click gallery icon
2.select sounds section
3.drag anyone of icon in sound section into page
4.delete that icon  
5.again drag another icon from sound section into page

you will see that last dragged icon doesn't appear in page

Actual Results:
second dragged icon doesn't appear in page

Expected Results:
icon must be appear in page, whenever dragged


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5e193d854596db714ca786c2a676b5ac9684d5eb
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-IN (en_IN); UI: en-US
Calc: threaded
Comment 1 Stéphane Guillou (stragu) 2023-02-24 19:22:53 UTC
Reproduced.

My steps after testing:
1. Drag-and-drop a sound on the page
2. Drag-and-drop another: it is not inserted, only the first one remains.
3. Delete the sound on the page
4. Drag-and-drop another onto the page: it is not inserted
5. Click on page, then drag-and-drop a sound: it is inserted.

So the issue as I see it is that inserting a gallery sound with drag-and-drop does not work if the cursor is not on the page. This differs from other gallery categories: e.g. an arrow can be inserted when another one is already selected or has just been deleted.

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 6d9b9d1228cdee69e767833202442a1fed6174a6
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

On Windows 10 too:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ab20dba30769a5a52830220daa347772485db6a2
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: threaded

I already see it in 5.3:

Version: 5.3.0.1
Build ID: 3b800451b1d0c48045de03b5b3c7bbbac87f20d9
CPU Threads: 8; OS Version: Linux 5.15; UI Render: default; VCL: gtk2; Layout Engine: new; 
Locale: en-AU (en_AU.UTF-8); Calc: group

In 5.2, I can't insert any sound.

I'm surprised I couldn't find a duplicate.
Comment 2 Stéphane Guillou (stragu) 2023-03-08 15:52:36 UTC
*** Bug 154073 has been marked as a duplicate of this bug. ***