-
Notifications
You must be signed in to change notification settings - Fork 21
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
Focus moves to the first input element on a page when buffer loses focus #106
Comments
Ok, thanks for the detailed report. Can you give me the content of the version buffer please, using ? It might be related to the Qt version. |
Yup, sorry, should have done that in the first place:
|
I'm seeing this too. Weirdly enough, it doesn't just jump to the first input element, it cycles input elements on subsequent focus events.
It happens consistently for me with C-x b. E.g. I'm seeing it on this page. |
This is caused by a QtWebengine bug, as reported in the qutebrowser github issue. The issue is actually that switching to QtWebengine browsers (with at least some WMs?) sends an erroneous Thus, rebinding |
Thanks! Can confirm that binding Tab to a noop command in global prevents the undesirable behavior. |
Edit: We have a workaround!
When I switch either using
C-x b
or to a different workspace with mywindow manager, webmacs will sometimes suddenly place focus on the
first input element on the page displayed in the buffer that was just
moved out of focus. This does not happen every time, but is pretty
consistent if the switch occurs for more than a few seconds.
This is incredibly annoying since it loses my place in the page I was
viewing and it takes a number of keystrokes to get rid of the focus
(occasionally,
C-g
won't even work, forcing me to click somewhere onthe page).
As a workaround I've started opening the search input with
C-s
before I switch windows, which inhibits any changes to the page, but
well, this isn't nice.
I'm not sure if I'm accidentally triggering intended behavior and just
unaware of a keybinding, but some help in figuring out what's going on
would be appreciated.
The text was updated successfully, but these errors were encountered: