Bug 142266 - HUD search does not match parent menu name
Summary: HUD search does not match parent menu name
Status: RESOLVED DUPLICATE of bug 157114
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.2.0.0.alpha0+
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-13 21:32 UTC by raal
Modified: 2024-05-21 11:57 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
printscreen (81.96 KB, image/png)
2021-05-13 21:33 UTC, raal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description raal 2021-05-13 21:32:56 UTC
Description:
I doesn't see "Insert / Image" in HUD menu search. See attachment. Tested Writer and Calc.

Steps to Reproduce:
1.Open Search commands
2.Type "Inse" 


Actual Results:
"Insert / Image" missing

Expected Results:
Should see "Insert / Image"


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: 54387d1d35cb79a30be208052831de74efd8b2f2
CPU threads: 4; OS: Linux 5.8; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
Comment 1 raal 2021-05-13 21:33:42 UTC
Created attachment 171978 [details]
printscreen
Comment 2 Tomaz Vajngerl 2021-05-13 23:39:00 UTC
Interesting - if you type "Imag" it finds it.
Comment 3 V Stuart Foote 2021-05-14 02:46:24 UTC
(In reply to Tomaz Vajngerl from comment #2)
> Interesting - if you type "Imag" it finds it.

similar--any thought on why "PDF" or "pdf" returns nothing? But, "Export as" picks it up, while "EPUB" and "epub" search strings are fine, a Logic flaw in the search?
Comment 4 Stéphane Guillou (stragu) 2021-05-28 05:43:30 UTC
I guess the issue here is that the parent menu (in this case "Insert") is not matched. Only the last item in the "String / of / menu / breadcrumbs" is picked up.

For example, searching for "insert" will not return everything under the "Insert /" menu. It will only return the functions that have a name that start with "Insert", for example "Insert / Insert Fontwork".

A related issue is that the function is not matched if you don't start writing the name from the beginning, which is what Stuart alludes to in Comment 3. I have reported it in Bug 142532.
Comment 5 Mike Kaganski 2021-05-28 05:52:40 UTC
It is questionable if we need to match the *current menu position* - an element could even not be in a menu, and still be wanted in the results; or it could be under several menus (like showing tracked changes).

No objections to using the menu position though - but in addition, it would be nice to have a cloud of "tags" associated with all UNO commands, which would be considered when matching user input, in addition to the name. This way, all relevant commands could get an "insert" tag attached, and be matched when user types that - and also that could allow adding tags that can't be achieved by any other means, like mentioning entries inside the dialogs which are opened by respective UNO command.
Comment 6 QA Administrators 2023-05-29 03:15:07 UTC Comment hidden (obsolete)
Comment 7 Stéphane Guillou (stragu) 2024-05-21 11:57:10 UTC
Fixed in bug 157114.

*** This bug has been marked as a duplicate of bug 157114 ***