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

[3.4.2 Web Editor] Scrolling with touchpad is unusable #57428

Closed
ator-dev opened this issue Jan 30, 2022 · 3 comments
Closed

[3.4.2 Web Editor] Scrolling with touchpad is unusable #57428

ator-dev opened this issue Jan 30, 2022 · 3 comments

Comments

@ator-dev
Copy link
Contributor

ator-dev commented Jan 30, 2022

Godot version

3.4.2.stable

System information

Chromium PWA on Ubuntu 21.10; Chrome PWA on Chrome OS

Issue description

On most platforms, scrolling using the touchpad (3.x and 4.0) is perfectly acceptable if imperfect. However, the Godot Web Editor seems to handle scroll events poorly, making it almost impossible to use when (for example) scrolling in the offline docs. Scrolling is very fast and jittery, and can't even be slowed manually to a sensible speed (see #56317).

I find myself always moving the cursor to the scrollbar and trying to make small scroll adjustments there, which is made even harder when looking at a long page in the docs. Obviously the up/down arrow keys can be used in the documentation - though even then the increments are overly small - but in places like the Inspector/SceneTree/FileSystem (where the issue is just as bad) this doesn't work. The result is a very cumbersome editing and coding experience and makes Godot seem poorly designed/unattractive for people new to it.

Enhancements to this feature (and possibly arrow key scrolling as well) are greatly needed in my opinion.

Steps to reproduce

Open any project in the Web Editor, press F1 (or go to the 'Script' view then click 'Search Help'), open the first option '@GDscript' or similar, and try to scroll through the page.

Note: On large screens it's just about possible to make out where you are (e.g. being at a particular method description and wishing to move to the next method) in order to control scrolling; but on small screens such as Chromebooks, it feels more like you're teleporting between random items that flash on the screen for a split second.

You can try to customise scrolling using the only relevant setting, text_editor/navigation/v_scroll_speed. This only seems to specifically affect scripts, however.

Minimal reproduction project

No response

@Calinou
Copy link
Member

Calinou commented Jan 30, 2022

Related to #13139 (possible duplicate?).

As a workaround, consider using the PgUp and PgDn keys. We should probably implement Space and Shift + Space on documentation pages too (like in Web browsers).

@ator-dev
Copy link
Contributor Author

Probably a duplicate of #49873 linked from #13139 (which I didn't notice earlier, sorry) - should this be closed?

@Calinou
Copy link
Member

Calinou commented Jan 30, 2022

Probably a duplicate of #49873 linked from #13139 (which I didn't notice earlier, sorry) - should this be closed?

Indeed, I'll close this as a duplicate of #49873. No worries about opening a duplicate, I didn't know this affected HTML5 too.

@Calinou Calinou closed this as completed Jan 30, 2022
@Calinou Calinou removed this from the 4.0 milestone Jan 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants