Bug 98640 - gtk3 menus don't support context help
Summary: gtk3 menus don't support context help
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
5.2.0.0.alpha0+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-13 21:18 UTC by Maxim Monastirsky
Modified: 2016-03-14 10:59 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 Maxim Monastirsky 2016-03-13 21:18:07 UTC
1. Highlight item in gtk3 menu.
2. Press F1.
3. Nothing happens. In VCL menus it opens the online help for the given command. Would be really nice if it will be possible to implement for gtk3 too. Thanks!
Comment 1 Caolán McNamara 2016-03-14 10:59:48 UTC
We could listen to show-help or key-press-event for right click context menus because we create that menu directly. We could also do that for the menubar, but we cannot do that for the menus created from the menubar because that is all handled by gtk itself and we don't know anything that happens inside those menus except what we get told via the GActionGroup interface. 

So it seems to me that there only way would be to add support in gtk/gio itself in GActionGroup to have some sort of additional g_action_group_show_help_action interface.

I've submitted something I think would work to later let gtk shovel show-help requests on the menu/menubar widgets through GActionGroup and then we could implement that in our side of that to launch our help for them.

https://bugzilla.gnome.org/show_bug.cgi?id=763601

close this as their bug until something becomes available for us to use