Bug 142266 - HUD search does not match parent menu name
Summary: HUD search does not match parent menu name
Status: NEW
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: HUD 91874
  Show dependency treegraph
 
Reported: 2021-05-13 21:32 UTC by raal
Modified: 2023-07-17 11:46 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
Dear raal,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug