Bug 156926

Summary: Ability to Delete all images in Writer
Product: LibreOffice Reporter: Timur <timur>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: enhancement CC: dgp-mail, heiko.tietze, miguelangelrv, raykowj
Priority: medium    
Version: 24.2.0.0 alpha0+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=132021
https://bugs.documentfoundation.org/show_bug.cgi?id=137835
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103030, 103152    

Description Timur 2023-08-25 21:10:08 UTC
This is enhancement request for ability to delete all images in Writer.
That request can be seen in forums, and answers are usually to find/select/extension but delete 1by1, or to use macro. That should be done more frienfly. 
While this might be done in very long open ticket for better search and replace with RegEx, that is far fetched. 

Proposed solution is to use Navigator with one of these:
- right click on Images and Delete all (which could be done for some other objects as well, but in separate ticket)
- Shift/Ctrl click on some objects of the same type, so that Delete key can be used.
Comment 1 m_a_riosv 2023-08-25 22:44:24 UTC
+1
Comment 2 Dieter 2023-09-06 17:31:26 UTC
Jim, what do you think?
Comment 3 Heiko Tietze 2023-09-07 07:46:51 UTC
(In reply to Timur from comment #0)
> Navigator... Images and Delete all
> ...
> - Shift/Ctrl click on some objects of the same type, so that Delete key can
> be used.

I'd prefer multi-selection and one function that applies to one or many/all. Besides, what happens to frames and captions on deletion?
Comment 4 Timur 2023-09-16 12:26:59 UTC
Not sure about frames and captions.. Good it is noted.
Maybe not remove what exists in Navigator, as it should be removed separately.
But really, I am interested only in images.
Comment 5 Heiko Tietze 2023-09-18 10:02:08 UTC
I think users expect some generic contextual interaction with the Navigator among which deletion is one. And if an image is deleted the surrounding frame and captions should be removed as well.

We currently allow to delete one item and keep frame and caption. The enhancement should:

* allow multi-selection
* remove frame and caption too

Probably two topics since the first sounds simple while the second could be tricky.