Steps to reproduce: 1. Open Template Manager (Ctrl+Shift+N) 2. Right-click on a template (preferably a user-defined template, to get full range of popup menu items), place mouse on an entry in popupmenu, press F1 Actual: not found Expected: go to relevant entry in help page https://help.libreoffice.org/7.4/en-US/text/shared/guide/template_manager.html
The F1 key is inactive in this context menu. Need to look at the XML of the right context menu.
9:17:02ohallotHow can I know the UNO command that is displayed in the context menu of the selected template in the Template Manager dialog (e.g. Open, Edit, Set as Default, Move, Export... ) 20:06:46thorstenohallot: looks like popup gets generated on the fly inside TemplateDlgLocalView::createContextMenu() 21:06:04ohallotthorsten: Thanks.
In TemplateDlgLocalView::createContextMenu() the popup menu referred to by mxContextMenu is a weld::Menu object, which does not support set_help_id. See its definition in: /core/include/vcl/weld.hxx
Rafael Lima committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/65c91bd5aa6f9b68390739a0e027d23c8a32da08 tdf#147911 Implement set_item_help_id for context menu items It will be available in 24.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Rafael Lima committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/help/commit/69cb2215657f692c62a564d3a4926d3272757fc9 tdf#147911 Add target HIDs for Template Manager context menu