New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 870759 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

Pop up menu key accelerators on linux (XFCE)

Reported by ramamoha...@gmail.com, Aug 3

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36

Steps to reproduce the problem:
1. right click anywhere on page to bring the pop up menu (XFCE desktop)
2. 
3. 

What is the expected behavior?
Accelerator keys for pop up menu items should be underlined (like t for open link in new tab, n for inspect...)

What went wrong?
The accelerator keys are not underlined, though they work when the key is pressed

(they do get underlined sometimes, but its very inconsistent)

Did this work before? N/A 

Chrome version: 68.0.3440.84  Channel: stable
OS Version: 4.14.57-1-MANJARO x86_64
Flash Version: pepper-flash 30.0.0.134-1

I had seen a bug / discussion for the same on Windows. But there enabling underlining the key accelerators at OS level had solved the issue. On Linux (XFCE), don't think there is any such setting
 
This is the link which talks about enabling accelerators on chrome for windows: https://productforums.google.com/forum/#!topic/chrome/5eS6PXForPw

    "The solution lies not in Chrome but in Windows!
I didn't check the Underline keyboard shortcuts and access keys option in Windows Ease of Access Center"
Cc: timbrown@chromium.org
Status: Untriaged (was: Unconfirmed)
On Linux the mnemonics are only shown if the Alt key (specifically Mod1) is pressed when the menu is shown, or if the button for the menu had focus before the menu was shown (e.g. pressing F10 will focus on the 3-dot Chrome menu button, opening the menu now will show the mnemonics).overflow menu

Ideally, if the menu was shown using the keyboard (any keyboard keys), then the mnemonics should be shown. However it was a design decision that the mnemonics would not be shown (even though they would still work) if the menu was shown using the mouse.
Refer the attached video

0. "Advanced Search" link is highlighted by pressing "tab" key repeatedly

1. I have triggered pop-up menu with Shift + F10 combination (which can also be done with Menu key on windows keyboard)

2. In the first part, even though none of the mnemonics (accelerators) are highlighted, pressing "t" opens link in new tab

3. In the second part, after invoking pop-up menu from keyboard, I am pressing Alt / Ctrl / Meta (Win) keys - none of which underscores the mnemonic keys (accelerators)
870759-2018-08-05_21.20.03.mp4
1.3 MB View Download
Thanks for the video. All of what you have shown is expected (but not necessarily desired) as described by my previous comment.

To clarify:
- the accelerators will _always_ be usable, whether the mnemonics are visible or not
- I don't think there has even been an intention to have Chrome act like Windows and show the mnemonics when Alt is pressed after the menu is already visible
- Alt needs to be pressed when the menu is _initially_ shown for the mnemonics to be visible, and after the menu is shown it doesn't matter if the alt key is pressed or not, the menu stays the same as when it was initially shown
The problem is, highlighting sometimes works! (not sure under what conditions it will work). I will take a screenshot when I find it working. Can this be made consistent?

If highlight cant made consistent, can we document the accelerator keys, so that we know which key is for what action. For now I will attach the screenshot from https://productforums.google.com/forum/#!topic/chrome/5eS6PXForPw which highlights accelerators as reference.

OPen link in new tab                  t
open link in new window               w
open link in incognito window         g
save link as                          k
copy link address                     e
Inspect element                       n

Screenshot_2018-08-07_07-34-08.png
5.5 KB View Download
The accelerator keys were working sudenly (as I had mentioned) attached is a video of that.
870759-2018-08-07_08.52.09.mp4
692 KB View Download
Owner: thomasanderson@chromium.org
Status: WontFix (was: Untriaged)
Closing based on c#2 and c#4
I am not sure this can be closed. My opinion would be:

To clarify:
- the accelerators will _always_ be usable, whether the mnemonics are visible or not
>>>> Agreed, but how does one know which key to press, if its not underlined


- I don't think there has even been an intention to have Chrome act like Windows and show the mnemonics when Alt is pressed after the menu is already visible
>>>> the intention here is IRRESPECTIVE of any OS, pop-up menu should underline mnemonics on pressing right mouse button only (no alt key)


- Alt needs to be pressed when the menu is _initially_ shown for the mnemonics to be visible, and after the menu is shown it doesn't matter if the alt key is pressed or not, the menu stays the same as when it was initially shown
>>>> currently mnemonics are underscored at  random (no need to hold alt while right clicking). This inconsistency should be resolved to produce a consistent behaviour


SUMMARY: Irrespective of OS, on right mouse click ONLY, the menu that pops-up should have the mnemonics underscored consistently each and every time.
Cc: thomasanderson@chromium.org
Labels: -Pri-2 Pri-3
Owner: ----
Status: Available (was: WontFix)
> SUMMARY: Irrespective of OS, on right mouse click ONLY, the menu that pops-up should have the mnemonics underscored consistently each and every time.

I'm not sure where you get the impression that that is desired behavior. It is definitely _not_ what I understand Chrome's desired behavior to be. It's quite simple (and I'm repeating myself):

- Opened from keyboard: show mnemonics
- Opened from mouse: don't show mnemonics

Doesn't matter if it's right-click menu or not.

I'm going to reopen this bug (sorry Tom) as we don't meet the desired behavior since key presses such as Shift+F10 do not show mnemonics.
Most of the behaviour from the SUMMARY of comment 8 are already present in chromium:

>>>> Irrespective of OS - This is just my observation (as per comment 1, this behaviour is also present in windows)

>>>> on right mouse click ... mnemonics underscored - this works sometimes (refer the video clip from comment 6)

>>>> consistently each and every time - this is the ONLY part missing, which needs to be resolved

Tim, I am for showing mnemonics on mouse click (in addition, on keyboard also should be fine). I will illustrate why I prefer on mouse click with following example:

Assume in a web page there are 50 links. I have to copy the URL of the 27th link. How do I get the pop-up menu to show for this with keyboard only? The only way I can think of is keep pressing tab, till the link gets focus. This is a tedious process.

SIDE NOTE: I have seen ways to navigate links purely with keyboard, where in links are numbered and you can jump to that link with link number (like vimperator for Firefox). Though, this is a special case.

Sign in to add a comment