Bug 159940 - Searching for toolbars in "Tools > Customize" lead to results lacking name
Summary: Searching for toolbars in "Tools > Customize" lead to results lacking name
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.6.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: difficultyBeginner, easyHack, skillDesign
Depends on:
Blocks: Customise-Dialog
  Show dependency treegraph
 
Reported: 2024-02-28 15:33 UTC by Hossein
Modified: 2024-06-10 04:33 UTC (History)
9 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 Hossein 2024-02-28 15:33:12 UTC
Description:
While searching for toolbars in the "Tools > Customize" dialog, searching for "uno" leads to some UNO commands in the results without human readable title.

Steps to Reproduce:
1. Open LibreOffice
2. Open "Tools > Customize" and go to "Toolbar" tab 
3. Search for "uno"

Actual Results:
Name of some UNO commands appear, including ".uno:EditBookmark", .".uno:PageAreaDialog", and ".uno:WidgetTestDialog" that lack appropriate title.

Expected Results:
Either a human readable title should be shown, or these commands should be excluded from the results.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.1.2 (X86_64) / LibreOffice Community
Build ID: f5defcebd022c5bc36bbb79be232cb6926d8f674
CPU threads: 12; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 raal 2024-02-28 22:40:36 UTC
Looks like Label is set to uno command, for example
Label: .uno:EditBookmark
Command: .uno:EditBookmark

Compare with 
Label: Unordered List
Command: .uno:DefaultBullet
Tooltip: Toggle Unordered List (Shift+F12)

I suppose Labels of these command should be set, so still a bug, bug not in search.
Comment 2 Heiko Tietze 2024-03-01 10:18:45 UTC
At least .uno:WidgetTestDialog could be hidden from the customization (all *Config to false in sfx2/sdi/sfx.sdi).

Otherwise UNO commands need an entry with label in one of the xcu files depending on the scope, eg. /officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu.
Comment 3 Heiko Tietze 2024-03-01 10:20:29 UTC
Prototypes for the solution are in bug 113715 and bug 136216
Comment 4 Heiko Tietze 2024-03-04 15:33:38 UTC
.uno:OptionsSecurityDialog
https://gerrit.libreoffice.org/c/core/+/162393
Balazs Varga

.uno:WidgetTestDialog
https://gerrit.libreoffice.org/c/core/+/132865
Rashesh Padia

.uno:EditBookmark
https://gerrit.libreoffice.org/c/core/+/138155
Michael Stahl

.uno:AcceptFormula
.uno:StartFormula
https://gerrit.libreoffice.org/c/core/+/133496
Szymon Kłos

.uno:ConditionalFormatEasy
https://gerrit.libreoffice.org/c/core/+/156831
Paris Oplopoios