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

Text/Input field not focused on mousepress (Qutebrowser) #46

Closed
jfrstnc opened this issue Dec 29, 2021 · 6 comments
Closed

Text/Input field not focused on mousepress (Qutebrowser) #46

jfrstnc opened this issue Dec 29, 2021 · 6 comments
Labels
bug Something isn't working as intended

Comments

@jfrstnc
Copy link

jfrstnc commented Dec 29, 2021

Describe the bug
This is an issue (I believe) specific to Qutebrowser.
Text input field (where you edit code) isn't focused automatically on mousepress like you would expect.
Qutebrowser users need to manually enter "Insert mode" to be able to edit the code. This effectively means you need to type "i" to edit code every time you focus away from the text box (like pressing "run" or clicking somewhere else).

To Reproduce
Steps to reproduce the bug:

  1. Run demo in Qutebrowser

Expected behavior
I expected my browser to automatically enter Insert mode, like it does in every other input field when I click it.

Information about your device (please complete the following information):

  • Operating System: Linux
  • Browser qutebrowser v2.4.0 (QtWebEngine 5.15.7, based on Chromium 87.0.4280.144)

Additional context
This is probably qutebrowser specific issue, I don't expect much here. It's just annoying.

@jfrstnc jfrstnc added the bug Something isn't working as intended label Dec 29, 2021
@YuriSizov
Copy link
Contributor

If it's browser specific, we can probably report it upstream on the Godot repo. We wouldn't be able to fix it on the project level, in all likelihood. We'll try to reproduce the issue and see what we can do about it.

@NathanLovato
Copy link
Contributor

That does sound like something that depends on Godot and not on us as Yuri says. We probably won't be able to fix it ourselves. Have you tried any other Godot html5 app in your browser? And if so, did you experience the same issue?

@Xananax
Copy link
Contributor

Xananax commented Dec 30, 2021

Qutebrowser detects HTML input boxes, but a webgl context isn't that. It won't automatically focus webgl, nor automatically set input mode. This is similar to opening a web game on itch.io.

You want to set passthrough mode in the tab for this to work ctrv.

You cannot automatically set passthrough per url, it's a planned enhancement: qutebrowser/qutebrowser#5524 (solution at qutebrowser/qutebrowser#4960 if you're willing to fiddle with the source).

@NathanLovato
Copy link
Contributor

Should we keep this issue open? Its not something we could fix in the app, right? If we can't solve this, you can mark it as wontfix and close.

@jfrstnc
Copy link
Author

jfrstnc commented Jan 1, 2022

You can close this, passthrough mode works around this, as @Xananax suggested.
Happy New Year!

@Xananax
Copy link
Contributor

Xananax commented Jan 1, 2022

Happy new year!

@Xananax Xananax closed this as completed Jan 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as intended
Projects
None yet
Development

No branches or pull requests

4 participants