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

Tab bar steals keyboard focus with >10 tabs #4472

Open
The-Compiler opened this issue Dec 12, 2018 · 4 comments
Open

Tab bar steals keyboard focus with >10 tabs #4472

The-Compiler opened this issue Dec 12, 2018 · 4 comments
Labels
bug: behavior Something doesn't work as intended, but doesn't crash. component: keyinput Issues related to processing keypresses. priority: 1 - middle Issues which should be done at some point, but aren't that important.

Comments

@The-Compiler
Copy link
Member

Reported by @ml-:

Tab setup:

  • Open 9 tabs with any page (say duckduckgo.com)
  • Open qutebrowser.org as the 10th tab (title of site starts with the letter q)
  • Having >= 10 tabs is a requirement to reproduce this

Bindings in this example:

  • bind <alt-q> :tab-prev
  • bind <alt-w> :tab-next

What happens?

  • pressing <alt-w> works fine since the 10th's tab title doesn't start with a w
  • pressing <alt-q> jumps to the 10th tab regardless of what tab you currently are on

Full logs (didn't look at them yet): https://crashes.qutebrowser.org/view/0093e50b

Based on the "10 tabs" requirements this is probably yet another issue with TabWidget._toggle_visibility - I'm guessing showing the bar somehow steals keyboard focus? Might only be reproducible on KDE though.

cc @jgkamat

@The-Compiler The-Compiler added component: keyinput Issues related to processing keypresses. priority: 1 - middle Issues which should be done at some point, but aren't that important. bug: behavior Something doesn't work as intended, but doesn't crash. labels Dec 12, 2018
@jgkamat
Copy link
Member

jgkamat commented Dec 12, 2018 via email

@jgkamat
Copy link
Member

jgkamat commented Dec 12, 2018 via email

@The-Compiler
Copy link
Member Author

@ml-
Copy link
Contributor

ml- commented Dec 13, 2018

Workaround (as found in the KDE bugreports)

Add

[Development]
AutoCheckAccelerators=false

to the file ~/.config/kdeglobals

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: behavior Something doesn't work as intended, but doesn't crash. component: keyinput Issues related to processing keypresses. priority: 1 - middle Issues which should be done at some point, but aren't that important.
Projects
None yet
Development

No branches or pull requests

3 participants