Bug 169094 - Calc: Missing method to select comment / annotation and place cursor at the end of comment text.
Summary: Calc: Missing method to select comment / annotation and place cursor at the e...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
24.2.6.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-27 14:16 UTC by matzwaki
Modified: 2025-10-27 17:01 UTC (History)
1 user (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 matzwaki 2025-10-27 14:16:48 UTC
ACTUAL:
- No documented method to select an existing comment / annotation in calc.
- Selecting possible only via DispatchHelper.
- DispatchHelper puts the cursor at the very beginning of the existing comment text.

TARGET
- Documented method for calc, to select an existing comment and put the cursor at the end of the comment text.

Background:
To convert an Excel vba macro within the command "oComment.Shape.Select" to LibreOffice basic macro, there is no suitable command available.

This enhancement request is based on discussion:
https://ask.libreoffice.org/t/select-annotation-to-edit/128133
Comment 1 Vladimir Sokolinskiy 2025-10-27 17:01:11 UTC
When we start editing text in a Calc cell, the cursor is always positioned at the end of the text.

In my opinion, when we start editing a cell comment, the cursor should also be positioned at the end of the text.