← 输入框|github.com|刷新
Skip to content

Support trackpad gestures #68

Open

Description

@d235j

macOS has scroll and zoom gestures which are essential for usability on a trackpad (as right-dragging is tricky and there's no center button). This should be possible on Windows and Linux as well, at least on computers that have multitouch trackpads.

Wishlist: support new Apple/Mac pressure-sensitive Force Touch trackpad.

Activity

  1. modified the milestone: 3.0 on Oct 14, 2016
  2. tpimh commented on May 13, 2017

    @tpimh
    Contributor

    I think this is the GTK+ doc that you are missing: https://developer.gnome.org/gtk3/stable/GtkGesture.html

  3. whitequark commented on May 13, 2017

    @whitequark
    Contributor

    @tpimh It is a really bad doc.

  4. ss0git commented on Jul 14, 2017

    @ss0git

    Since my issue was closed I'll copy my suggestion here. It is more specific than what is proposed in this support ticket.

    UX improvement - Switch to using Shift + "Two finger drag" (no click) on trackpads to Orbit around

    Proposed change to switch from Shift + "Two finger click and drag" to Shift + "Two finger drag" (no click) on trackpads to Orbit around.

    System information

    SolveSpace version: 2.3

    Operating system: OS X Sierra

    Expected behavior

    Orbiting around using Shift + "Two fingers drag on trackpad" (no click) should work better. Pushing down to click is very cumbersome. You want to spin around the model like spinning an earth globe in school, effortless.

    Actual behavior

    Shift + "Two fingers click and drag on trackpad" orbits around but not pushing down hard enough to click causes the app to Zoom.

    To better see the change i made this table:

    Current behaviour

    _ Pan Zoom Orbit
    Flick fingers _ X _
    Push down + Flick fingers X _ X
    Shift _ _ X

    Proposed behaviour

    _ Pan Zoom Orbit
    Flick fingers _ X X
    Push down + Flick fingers X _ _
    Shift _ _ X

    Possible incompatibility with

    "Two fingers drag on trackpad" (mainly up and down) are used for Zooming (scrolling) now which is fine, but it might lead to a possible incompatibility.

    To fix this we could use Shift as a separator. "Flick your fingers" to Zoom(scroll) (current functionality) and press Shift + "Flick your fingers" to Orbit.

    Testing

    I ran a couple of tests, for other reasons I have a setup that can produce or reverse the effect of any gestures and clicks, and the user experience will improve sensibly.

  5. whitequark commented on Jul 14, 2017

    @whitequark
    Contributor

    I would actually prefer use 2-finger "pinch" gesture for zoom, 3-finger "pan" gesture for translation, and 1-finger double-click plus drag gesture for rotation. Objections?

  6. ss0git commented on Jul 15, 2017

    @ss0git

    I'll do some testing here, with your setup, to see how it feels. My proposition was made with "mess with as little as possible" in mind. I tried using the app to model something as part of a real world project and it proved quite cumbersome to navigate after a while. Most projects are 75% moving around to get a better view.

  7. d235j commented on Jul 15, 2017

    @d235j
    Author

    @whitequark why not stick with the Apple standards:
    2-finger "pinch" for zoom
    2-finger "pan" for translation
    2-finger "rotate" for rotation
    and some way to change axes.

    The trackpad/software is smart enough to be able to differentiate between these gestures. Most other operating systems that support trackpad gestures have similar options.

  8. whitequark commented on Jul 15, 2017

    @whitequark
    Contributor

    @d235j Sure that works

  9. ss0git commented on Jul 15, 2017

    @ss0git

    @d235j There might be some use getting this down in some menu for user preferences or something. Have each user select the one they like.

    That table I build for Pan, Zoom, Orbit could be pivoted and used for this purpose.

    I'm a long time CAD user and there are many possibilities depending on what you want to achieve. Some people transition from other software packages, others appreciate uniformity with os but productivity is the main factor, spend 2-3 hours daily in a cad package and "ease of use" won't keep you company for long.

  10. whitequark commented on Jul 15, 2017

    @whitequark
    Contributor

    So far the majority of people have been satisfied with the default bindings. I think I'll first implement the OS-native gestures, and see how it goes from there.

  11. damian0815 commented on Oct 3, 2017

    @damian0815

    As a Mac user I'm not at all a fan on the pinch to zoom gesture, it always feels awkward.

    My preference would be for the following:

    "Two finger flick" (system scroll gesture) = zoom (as it is now)
    Drag = select (as it is now)
    Cmd-drag = pan
    Alt-drag = orbit

  12. d235j commented on Oct 3, 2017

    @d235j
    Author

    @damian0815 @whitequark as it seems some people prefer OS-native gestures and others prefer gestures/keyboard shortcuts that are in line with CAD software on other platforms, this will probably end up having to be a preference option.

  13. removed this from the 3.0 milestone on May 23, 2019
  14. ruevs commented on Jan 24, 2022

    @ruevs
    Member

    #1107
    #1093
    #825

    @tomsci @vespakoen @phkahler @d235j considering the above changes, what do you think, can we close this? I do not have a real Mac with a trackpad to test on.

  15. vespakoen commented on Jan 24, 2022

    @vespakoen
    Contributor

    Trackpad support kindof broke in with the last changes done to support the magic mouse, I want to take a look at this for a while already but was busy with other stuff.

    This issue should stay open for now at least

  16. Thovthe commented on Apr 15, 2022

    @Thovthe

    You don't have to rely on gnome docs for touchpads anymore. libinput to the rescue!

    Also the maintainer is an entertaining speaker /watch?v=HllUoT_WE7Y.

  17. phkahler commented on Jul 5, 2022

    @phkahler
    Member

    Last I checked on my old MB Air... in version 2.3 you could rotate with 2-finger drag and no click or keypress. Now you need a modifier key. So IMHO a slight step backward.

    Nowhere near as bad as having to click-drag though.

  18. ruevs commented on Oct 4, 2022

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions