Bug 132021 - Allow deleting drawing objects in the Navigator (Calc)
Summary: Allow deleting drawing objects in the Navigator (Calc)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.4.2.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Navigator
  Show dependency treegraph
 
Reported: 2020-04-10 12:56 UTC by Frédéric MASSOT
Modified: 2023-09-28 13:22 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
View of browser with lots of customshape (34.80 KB, image/png)
2020-04-10 12:59 UTC, Frédéric MASSOT
Details
Stacked customshape mask content (15.91 KB, image/png)
2020-04-10 13:04 UTC, Frédéric MASSOT
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric MASSOT 2020-04-10 12:56:06 UTC
Description:
Hi,

When editing xlsx documents, there is sometimes a bug, which I believe comes from Excel, which makes many customshape appear and overlap. It is a white rectangle shape called "CustomShape 1".

There are many comments on this problem:

https://ask.libreoffice.org/en/question/19176/infinite-white-boxes/
https://stackoverflow.com/questions/39208861/delete-all-objects-with-a-specific-name

With Excel, there are several methods to remove these customshape in a few manipulations as with the "Go To" box:

https://www.extendoffice.com/documents/excel/714-excel-delete-all-auto-shapes.html

When you have this file with LibreOffice Calc, you must delete the customshape one by one by hand.

You can see these customshape in the browser (F5), but you cannot delete them.

It would be interesting to have the possibility in the browser (F5) to be able to select them all, and delete them all at once.


Regards.

Steps to Reproduce:
Open a bugged xlsx file.

Actual Results:
Many customshape masks the spreadsheet.

Expected Results:
Select and delete customshape easily.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version : 6.4.2.2
Build ID : 1:6.4.2-3
Threads CPU : 8; OS : Linux 5.4; UI Render : par défaut; VCL: gtk3; 
Locale : fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR
Calc: threaded
Comment 1 Frédéric MASSOT 2020-04-10 12:59:48 UTC
Created attachment 159467 [details]
View of browser with lots of customshape
Comment 2 Frédéric MASSOT 2020-04-10 13:04:37 UTC
Created attachment 159468 [details]
Stacked customshape mask content
Comment 3 Buovjaga 2020-06-27 15:43:40 UTC
Let's ask UX.

Btw. during testing I was confused at first, because I didn't understand that you need to give a name to the shape before it will show up in the Navigator. I don't see a way in the Calc Navigator to display unnamed shapes.
Comment 4 Buovjaga 2020-06-27 15:45:34 UTC
Ah, pointless to ask: bug 107670 for Writer was already addressed.
Comment 5 Buovjaga 2020-06-27 16:07:56 UTC
(In reply to Buovjaga from comment #3)
> Btw. during testing I was confused at first, because I didn't understand
> that you need to give a name to the shape before it will show up in the
> Navigator. I don't see a way in the Calc Navigator to display unnamed shapes.

Created bug 134344 for this topic
Comment 6 Heiko Tietze 2020-06-29 08:28:21 UTC
For the automatic naming see bug 34828 comment 16 (I'm for automatic naming).
* Per double-click it's possible to select an object; we should implement the delete function at the Navigator too, which makes single click possible.
* And we need multi-selection in the Navigator, meaning if two or more objects are selected the corresponding entries in the Navigator should be selected too. At least it needs to be possible to multi-select items in the Navigator and apply some but not all function to these items (GoTo makes no sense- and is not listed in the context menu- but Delete does). Something for you, Jim?
* Ultimately I wonder where the autoshapes come from and why they apparently are not placed correctly. The macro solution from ask.libo seems to be good for this actual issue.
Comment 7 Heiko Tietze 2020-06-29 08:29:38 UTC
(In reply to Buovjaga from comment #4)
> bug 107670

...is about sections in Writer.
Comment 8 Maarten 2020-10-14 19:05:43 UTC
Hello,

I can reproduce this bug in LibreOffice Calc version 6.4.6.2 and 7.0.2.2 when opening an .xlsx file. 

After saving the file the next time opening the file, the white drawing objects are back (not always).

Can you please fix this bug and not add this workaround?
Comment 9 Stéphane Guillou (stragu) 2023-09-28 13:22:45 UTC
Does anyone have a sample file for this bug?