Bug 126757 - Keyboard shortcuts in Calc context menus not discoverable
Summary: Keyboard shortcuts in Calc context menus not discoverable
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.0.7.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-07 23:16 UTC by rscragun@gmail.com
Modified: 2020-05-10 20:04 UTC (History)
3 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 rscragun@gmail.com 2019-08-07 23:16:32 UTC
Description:
Under some circumstances, the keyboard shortcuts for interacting with context menus are underlined, and in some circumstances they are not. For instance, I often want to insert a column to the left of a selected column, and it is hard to discover that to do this from the context menu, I hit L. If displaying the hotkeys were easy, not always displaying them might be acceptable (although probably pointless) because they are mostly useful when memorized, but it is even hard to figure out how to display them. 

System:
Ubuntu 18.04
LibreOffice 6.0.7.3 (in Ubuntu 18.04 repository)
Bug shows up in both Calc and Writer

Steps to Reproduce:
1. Open Calc.
2. Right click or two-finger tap on a column header to bring up the context menu for the column. None of the letters in any of the commands will be underlined. (Alternatively, open Writer and right click on the page to bring up a context menu.)
3. Move the cursor. None of the letters will be underlined.
4. Hit Alt. Still, none of the letters in any of the commands will be underlined.
5. Move the cursor. Letters for keyboard shortcuts will become underlined.

Actual Results:
Underlined keyboard shortcuts only show up after pressing Alt and subsequently moving the cursor.

Expected Results:


The expected behavior is that L in "Insert Columns Left" will be underlined immediately when the context menu opens. It should at least be underlined after hitting Alt (although aesthetics seems like a flimsy reason to not have them always underlined). There is really no reason why the keyboard shortcuts should only show up after hitting Alt AND moving the cursor. If I am moving the cursor, then it is too late for a keyboard shortcut to be helpful.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Comment 1 Julien Nabet 2019-08-08 08:34:07 UTC
Could you give a try to a recent LO version by using LO ppa (see https://launchpad.net/~libreoffice/+archive/ubuntu/ppa)?
Indeed, 6.0 and 6.1 branches are EOL.
Comment 2 rscragun@gmail.com 2019-08-09 03:47:25 UTC
The behavior is the same on version 6.2.5.2.
Comment 3 rscragun@gmail.com 2019-08-09 23:16:51 UTC
Clarifications: 

- Alt is not special in this case. Any key press that does not activate a command followed by moving the cursor will cause the hotkeys to become highlighted. 

- "L" is not the shortcut for inserting a column to the left on 6.2.5.2 (it is "B" for "Before").
Comment 4 Xisco Faulí 2020-02-17 11:48:38 UTC
I can't reproduce it in

Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.

Could you please paste the info from Help - about LibreOffice ?

I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' once the information has been provided
Comment 5 rscragun@gmail.com 2020-02-19 00:26:09 UTC
Same behavior on 6.3 and 6.4:

Version: 6.3.4.2
Build ID: 1:6.3.4-0ubuntu0.18.04.1~lo2
CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded

Version: 6.4.0.3
Build ID: b0a288ab3d2d4774cb44b62f04d5d28733ac6df8
CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded

The behavior is not present on Windows. I will check again later, but I think that, on Windows, the underlines never show up.
Comment 6 rscragun@gmail.com 2020-03-06 19:10:14 UTC
On Windows, the underlines are immediately present when the context menu opens.

Version: 6.4.1.2 (x64)
Build ID: 4d224e95b98b138af42a64d84056446d09082932
CPU threads: 8; OS: Windows 10.0 Build 18363; UI render: GL; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Comment 7 Buovjaga 2020-05-10 20:04:56 UTC
I repro with gtk3, however, this is also seen in other GTK applications such as GIMP! I have to move the mouse after hitting Alt in a context menu to see the mnemonics. Let's close.