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

Touchpad scroll direction #609

Closed
leesings opened this issue Feb 4, 2023 · 15 comments
Closed

Touchpad scroll direction #609

leesings opened this issue Feb 4, 2023 · 15 comments
Labels
✅enhancement 💪help wanted upstream scintilla Changes depends on upstream Scintilla
Milestone

Comments

@leesings
Copy link

leesings commented Feb 4, 2023

使用触摸板左右滚动时,水平滚动条跟随着触摸方向进行滚动。这和常用的编辑器如vs code的滚动方式相反。

期望能有一个选项配置,可以开启水平相反的滚动方向,使得触摸板水平滚动能更符合操作逻辑。

@zufuliu zufuliu added upstream scintilla Changes depends on upstream Scintilla 💪help wanted ✅enhancement labels Feb 4, 2023
@zufuliu
Copy link
Owner

zufuliu commented Feb 4, 2023

Translated by Bing:

When scrolling left or right using the Touchpad, the horizontal scroll bar scrolls in the direction of the touch. This is contrary to the scrolling method of common editors such as VS Code.

It is expected that there to be a configuration option that can turn on horizontal opposite scrolling directions, so that the horizontal scrolling of the Touchpad can be more in line with the operating logic.

cc @nyamatongwe

@zufuliu
Copy link
Owner

zufuliu commented Feb 5, 2023

Hi @leesings, can you attach screen records (e.g. made with https://github.com/NickeManarin/ScreenToGif, as mp4 or gif) for VS Code's scrolling and Notepad2's.

@nyamatongwe
Copy link

I don't have a touchpad but expect it would follow the vertical scrolling option.

https://cdn.mos.cms.futurecdn.net/AKtPEsMT4w3jTsEF7cHXUE-970-80.jpg

@leesings
Copy link
Author

leesings commented Feb 5, 2023

yes,it like right motion scrolls left,left motion scrolls right

@zufuliu
Copy link
Owner

zufuliu commented Apr 14, 2024

The registry ScrollDirection under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PrecisionTouchPad is document at
https://learn.microsoft.com/en-us/windows-hardware/design/component-guidelines/touchpad-tuning-guidelines#scroll-direction

@zufuliu zufuliu changed the title 触摸板左右水平的滚动方式 Touchpad scroll direction Apr 14, 2024
@leesings
Copy link
Author

The registry ScrollDirection under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PrecisionTouchPad is document at https://learn.microsoft.com/en-us/windows-hardware/design/component-guidelines/touchpad-tuning-guidelines#scroll-direction

This will cause all scrolling to reverse

@leesings
Copy link
Author

The desired effect is to slide up in both directions and see the following content. Double pointed left swipe to see the content on the right.

@leesings
Copy link
Author

It's normal to scroll up now, but when you slide your fingers to the left, you see the content on the left

@zufuliu
Copy link
Owner

zufuliu commented Oct 11, 2024

commit 666f766 applied a temporary patch from https://sourceforge.net/p/scintilla/bugs/2449/, @leesings can you test lasted build from https://github.com/zufuliu/notepad4/actions?

@leesings
Copy link
Author

It's ready, thanks to your great efforts!

@zufuliu zufuliu added this to the v24.11 milestone Oct 14, 2024
@zufuliu
Copy link
Owner

zufuliu commented Oct 15, 2024

Hi @leesings, can you help test latest build (commit b453f87 made some changes), and whether horizontal scrolling still works as expected?

@leesings
Copy link
Author

Hi @leesings, can you help test latest build (commit b453f87 made some changes), and whether horizontal scrolling still works as expected?

Clip_2024-10-15_22-59-18
This build failed.

@zufuliu
Copy link
Owner

zufuliu commented Oct 16, 2024

This build failed.

It's win32 (install v141_xp toolchain failed) and llvm-mingw (not figured why, maybe due to large concurrent jobs) build failed (started in this week). Commit 666f766 was reverted by 75a543a, you can test this commit instead.

https://github.com/zufuliu/notepad4/actions/runs/11363650654
image

@leesings
Copy link
Author

This works just as well

@zufuliu
Copy link
Owner

zufuliu commented Oct 16, 2024

This works just as well

Thanks for the conformation 👍.

@zufuliu zufuliu closed this as completed Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✅enhancement 💪help wanted upstream scintilla Changes depends on upstream Scintilla
Projects
None yet
Development

No branches or pull requests

3 participants