Bug 165527 - Shapes created and inserted into the DrawPage of a Spreadsheet by user code are not known to the navigator.
Summary: Shapes created and inserted into the DrawPage of a Spreadsheet by user code a...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL: https://ask.libreoffice.org/t/calcula...
Whiteboard:
Keywords:
Depends on:
Blocks: Navigator
  Show dependency treegraph
 
Reported: 2025-03-01 16:30 UTC by Wolfgang Jäger
Modified: 2025-03-02 15:14 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
the announced example (21.24 KB, application/vnd.oasis.opendocument.spreadsheet)
2025-03-01 16:30 UTC, Wolfgang Jäger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Jäger 2025-03-01 16:30:20 UTC
Created attachment 199546 [details]
the announced example

Shapes created and inserted into the DrawPage of a Spreadsheet by user code are not known to the navigator if they aren't explicitly named.

Always reproducible. Last tested with 25.2.0.3
See attached example.
See also tdf#34828, 
https://ask.libreoffice.org/t/calculated-standard-shapes-not-known-to-shown-by-the-navigator/118739
Comment 1 V Stuart Foote 2025-03-01 20:00:13 UTC
Within UI automatic naming for draw shapes in Calc and Writer was implemented at 7.2 for bug 34828 [1]

Guess the Basic macro or by API created shapes (Calc and Writer?) don't get similar handling and currently macro or API calls must apply a name to have it listed.

Probably should.

=-ref-=

[1] https://gerrit.libreoffice.org/c/core/+/105774