Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Context menus cannot be interacted with using the keyboard #8112

Closed
squeaktoy opened this issue Feb 23, 2024 · 1 comment
Closed

Context menus cannot be interacted with using the keyboard #8112

squeaktoy opened this issue Feb 23, 2024 · 1 comment

Comments

@squeaktoy
Copy link

squeaktoy commented Feb 23, 2024

Version info:

qutebrowser v3.1.0
Git commit: 
Backend: QtWebEngine 6.6.2, based on Chromium 112.0.5615.213 (from api)
Qt: 6.6.2
CPython: 3.11.7
PyQt: 6.6.1
Qt wrapper: PyQt6 (via override)

Does the bug happen if you start with --temp-basedir?: Yes

Description
When tabbing or using / to find and select an item such as a link, I wanted to copy the link address. So naturally, I press the menu key. A Qt context menu opens. Great! I can use the arrow keys to navigate the context menu. I select the item "Copy link address" and hit Enter. Uhm, what? It seems that the key gets handled by qutebrowser and the link has been clicked rather than the "Copy link address" button in the context menu. 😕
Furthermore, it is impossible to close the context menu without a mouse, something which you would expect a keyboard-focused browser to be able to do. Pressing escape does in fact nothing to get you out of this situation... Every key input gets 'stolen' by qutebrowser, and Qt never handles them properly in the context menu like it should. This makes me required to use a pointer device to either interact with the context menu or close it.

How to reproduce

  1. Go to any site.
  2. Select a link.
  3. Press Menu, Apps, or Shift+F10
  4. A context menu opens, and now you're stuck!
@squeaktoy squeaktoy changed the title Selecting a link and pressing the menu key opens a context menu which cannot be interacted with using the keyboard Context menus cannot be interacted with using the keyboard Feb 23, 2024
@The-Compiler
Copy link
Member

Duplicate of #3465

@The-Compiler The-Compiler marked this as a duplicate of #3465 Feb 23, 2024
@The-Compiler The-Compiler closed this as not planned Won't fix, can't repro, duplicate, stale Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants