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

Darktable is unusable with a trackpad. #5474

Closed
schwerdf opened this issue Jun 15, 2020 · 8 comments · Fixed by #5503
Closed

Darktable is unusable with a trackpad. #5474

schwerdf opened this issue Jun 15, 2020 · 8 comments · Fixed by #5503

Comments

@schwerdf
Copy link
Contributor

Describe the bug
When using a trackpad to scroll in the latest Git master revision, the scrolling moves so fast that it is impossible to use (just a twitch of the finger can change the light table zoom from 1 to 25 or scroll halfway through a large collection of images).
As I recall, this same problem was encountered a few years ago and was resolved by disabling the use of smooth scrolling altogether, treating trackpads the same as regular scroll wheels.

Platform (please complete the following information):

  • Darktable Version: master revision 7c22327
  • OS: Fedora 32
@Nilvus
Copy link
Contributor

Nilvus commented Jun 15, 2020

I confirm this behavior, scrolling is really not possible with trackpad. @AlicVB: should this be related to your recent lighttable rework?

@AlicVB
Copy link
Contributor

AlicVB commented Jun 15, 2020

@Nilvus : yes, certainly. Sadly I've no idea what is doing a trackpad different from a mouse... Do you have one ? if yes, we can eventually can do another interactive debugging session if you have time...

@parafin
Copy link
Member

parafin commented Jun 15, 2020

gboolean dt_gui_get_scroll_deltas(const GdkEventScroll *event, gdouble *delta_x, gdouble *delta_y)
- these functions might be of interest (look for GDK_SCROLL_SMOOTH).

@AlicVB
Copy link
Contributor

AlicVB commented Jun 15, 2020

yes, I've seen them already... but thanks anyway !

@Nilvus
Copy link
Contributor

Nilvus commented Jun 15, 2020

@Nilvus : yes, certainly. Sadly I've no idea what is doing a trackpad different from a mouse... Do you have one ? if yes, we can eventually can do another interactive debugging session if you have time...

Yes I have. A debugging session is possible tomorrow evening or thursday one.

@Nilvus
Copy link
Contributor

Nilvus commented Jun 15, 2020

@AlicVB: just a thing I just test. filter collections is really smooth with trackpad. Maybe something to check on that side to compare.

@MStraeten
Copy link
Collaborator

then i'm glad to be on a macbook - there the trackpad works fine ;) But in fact scrolling in lighttable is very sensitive but also with my mouse or graphic tablet or by dragging the slider

@Nilvus
Copy link
Contributor

Nilvus commented Jun 15, 2020

then i'm glad to be on a macbook - there the trackpad works fine ;) But in fact scrolling in lighttable is very sensitive but also with my mouse or graphic tablet or by dragging the slider

Hmm, I'm on a Macbook pro (on Linux) and scroll is smooth with my wheel mouse but not with trackpad on lighttable filemanager (or zoomable one) but smooth with wheel mouse AND trackpad on filter collections.

AlicVB added a commit to AlicVB/darktable that referenced this issue Jun 16, 2020
TurboGit pushed a commit that referenced this issue Jun 17, 2020
pitbuster pushed a commit to pitbuster/darktable that referenced this issue Jul 21, 2020
aurelienpierre pushed a commit to aurelienpierreeng/ansel that referenced this issue Aug 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants