https://bugs.documentfoundation.org/show_bug.cgi?id=156457

            Bug ID: 156457
           Summary: Keep relevant accelerators visible when submenu
                    auto-expands (GTK3)
           Product: LibreOffice
           Version: 6.2.0.3 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Keywords: accessibility
          Severity: minor
          Priority: low
         Component: UI
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: stephane.guil...@libreoffice.org
            Blocks: 98259, 103182

When navigating with the keyboard to a submenu, the accelerator characters are
not underlined even though they are available to use.

Example steps:
1. Open Writer.
2. Click on Tools, move pointer to "Protect Document": as expected, no
accelerators shown in either the menu or the submenu.
3. Press "Alt + T" to expand the Tools menu, then "P" to expand the submenu: as
expected, accelerators shown in the menu and the submenu only when they are
active/relevant.
4. Click on Tools menu, then press Down arrow once: accelerators shown (in my
opinion, expected because the user is using the keyboard to navigate)
5. Down arrow to the "Protect Document" submenu

Actual results:
No accelerators shown in either the Tools menu nor the Protect Document
submenu, even though they still apply to the Tools menu.
This can be tested by pressing "B": it opens the ~Bibliography Database, not
Protect ~Bookmarks.

Expected results:
Tools menu accelerators remain visible.

This is also true for context menus.

This is reproduced in a recent master build, and since GTK3 was made the
default VCL over GTK2, in 6.2. (Before, accelerators were visible in the two
menus, so can't really be called a regression.)

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

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

(Note about other VCLs: gen and kf5 VCLs, need to Right-arrow or press Enter to
expand the submenu. Accelerators always shown.)


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=98259
[Bug 98259] [META] Keyboard shortcuts and accelerators bugs and enhancements
https://bugs.documentfoundation.org/show_bug.cgi?id=103182
[Bug 103182] [META] GTK3-specific bugs
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to