Bug 156376 - Pressing F1 while hovering a menu entry does not work in gtk3 or kf5
Summary: Pressing F1 while hovering a menu entry does not work in gtk3 or kf5
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
6.2.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: accessibility, implementationError
Depends on:
Blocks: Shortcuts-Accelerators KDE GTK3
  Show dependency treegraph
 
Reported: 2023-07-19 12:04 UTC by Rafael Lima
Modified: 2023-07-20 05:02 UTC (History)
2 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 Rafael Lima 2023-07-19 12:04:33 UTC
On Windows, if you hover over a menu entry (f.i. Tools - Spelling) and then press F1 while the mouse is over the entry, the corresponding help page will open.

This also works with "gen" on Linux... I can't tell about MacOS.

However it does not with with gtk3 or kf5.

I believe it should work in all backends. Is this fixable in gtk3 and kf5?

System info

Version: 7.5.4.2 (X86_64) / LibreOffice Community
Build ID: 50(Build:2)
CPU threads: 16; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 4:7.5.4-0ubuntu0.23.04.1
Calc: threaded
Comment 1 Stéphane Guillou (stragu) 2023-07-19 13:15:08 UTC
Marking as an accessibility issue as some users rely on keyboard navigation.

Confirmed in:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 77fca616e0bd79e0b405fd0b3543cf8e94e15df3
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

and

Version: 6.2.0.3
Build ID: 98c6a8a1c6c7b144ce3cc729e34964b47ce25d62
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3; 
Locale: en-AU (en_AU.UTF-8); UI-Language: en-US
Calc: threaded

Used to work in:

Version: 6.1.0.3
Build ID: efb621ed25068d70781dc026f7e9c5187a4decd1
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk2; 
Locale: en-AU (en_AU.UTF-8); Calc: group threaded

It started with the use of gtk3 over gtk2.

For kf5 VCL, it is only usable since 6.4, and F1 on menu items never worked.
Comment 2 Michael Weghorn 2023-07-20 05:02:59 UTC
(In reply to Rafael Lima from comment #0)
> I believe it should work in all backends. Is this fixable in gtk3 and kf5?

gtk3 and kf5 are using native Gtk/Qt menus, so making this work might require hooking into their key event handling, but should probably be doable.