Skip to content

Trackpad unusable for scrolling and zooming (MacOS) #599

Open

Description

@hmoazed

Using the trackpad to scroll through the captured data inadvertently causes zooming in and out, and vise-versa.
This is because the trackpad gesture for scrolling horizontally (two finger left or right swipe) also as a side effect triggers the gesture to zoom in and and out (two finger up or down swipe, which on MacOS trackpad is not zooming but moving up and down, zooming is accomplished using the pinch gesture).
To correct this, we'd need to add "Trackpad / Mouse" toggle, and when in Trackpad mode, the pinch gesture is used to zoom instead of the up/down gesture.
This is a very common issue in cross platform CAD programs (EasyEDA just fixed this recently, as well as Fusion 360).

Activity

  1. ddavidebor commented on May 6, 2023

    @ddavidebor

    Encountered the same issue, very annoying!

  2. dreamsource-tai commented on Jul 3, 2023

    @dreamsource-tai
    Collaborator

    @hmoazed
    @ddavidebor
    Ok,We will check this issue. Thank you!

  3. dreamsource-tai commented on Jul 4, 2023

    @dreamsource-tai
    Collaborator

    @hmoazed
    @ddavidebor
    We fixed this issue, you can try the new version by the way compile from code source.

  4. m4tsuri commented on Jan 23, 2024

    @m4tsuri

    This issue still exists on dev-1.3.2 288a459. Moreover, scaling by scrolling on touchpad is basically unusable since its too sensitive to operate and there is no option to adjust it.

  5. ddavidebor commented on Jan 30, 2024

    @ddavidebor

    Hi, sorry, but this took too long, we will buy from Saleae in the future

  6. FearlessArmada commented on Jan 1, 2025

    @FearlessArmada

    I found a hacky fix, in the file DSView/pv/view/viewport.cpp at line 1360 you have to divide the values by something like 16 or 32, like this:

    double divisor_zoom = 16; // factor by which it divides
    double zoom_scale = delta / 80 / divisor_zoom;
    
    if (ABS_VAL(delta) <= 80){
        zoom_scale = delta > 0 ? 1.5 / divisor_zoom : -1.5 / divisor_zoom;
    }
    

    This should probably be made into some kind of setting that users can adjust.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions