Skip to content

Magic Mouse ( Apple ) no zoom function #21086

Open

Description

@lietschi-bit

Is there an existing issue for this?

  • I checked and did not find my issue in the already reported ones

Describe the bug

When trying to zoom in/out an image in DT darkroom with the Magic Mouse nothing is happening .
Scrolling the sidebars does work in the module stack .

Steps to reproduce

Go to image window in Darkroom
Place the mouse cursor over the image
Trying to zoom in/out while swiping over the mouse surface up or down
Nothing happens

Expected behavior

The image should become smaller or bigger in the view size

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

darktable.org / GitHub release

darktable version

darktable-5.5.0+1343.gff0de82b02-arm64.dmg

What OS are you using?

Mac

What is the version of your OS?

Tahoe 26.5

Describe your system

Mac Studio M1 Max 64 GB 1TB

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

No response

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

No response

Activity

  1. added
    scope: hardware support
    scope: macos support
    on May 21, 2026
  2. da-phil commented on May 21, 2026

    @da-phil
    Contributor

    This is (currently) expected behavior, as the scroll gesture cannot be mapped to zooming after switching to support typical pinch-zoom and two-finger panning gesture, see explanation here: #21027 (comment)

    Ideally you should be able to achieve the same functionality by a pinch-zoom gesture on the Magic Mouse (cannot test, as I'm on Linux).
    If you want to restore the old behavior have a look at this post: #21027 (comment)

  3. MStraeten commented on May 22, 2026

    @MStraeten
    Collaborator

    no, pinch and zoom doesn’t work on Magic Mouse (it’s not like a trackpad)

  4. lietschi-bit commented on May 22, 2026

    @lietschi-bit
    Author

    Looks like that it does work when pressing the ctrl key ...
    Zooming does work all the way to 1600 % and back to 0%

  5. MStraeten commented on May 22, 2026

    @MStraeten
    Collaborator

    This is (currently) expected behavior,

    no, thats not an expected behaviour, that's a regression.
    there's no pinch and zoom on a magic mous.

  6. da-phil commented on May 22, 2026

    @da-phil
    Contributor

    Looks like that it does work when pressing the ctrl key ...

    @lietschi-bit with the option "enable touchpad gestures" switched off, or on?

    Also, can you please explain with which gesture? "Scroll" or "smart zoom"? See apple doc:
    https://support.apple.com/en-us/102482

    This is (currently) expected behavior,

    no, thats not an expected behaviour, that's a regression. there's no pinch and zoom on a magic mous.

    It seems to work for @lietschi-bit though?

    I'm still not sure if you are saying that even scrolling while pressing CTRL does not work for you?

    If so, you can also switch back to the old behaivor, so why bother?

    In the meantime we can re-visit how we can handle the macOS / magic mouse specifics in GTK, which seems to be either impossible or doable with some trickery, as outlined in #21058 (comment).
    The problem is, I'm willing to support but I'm neither running macOS, nor do I have a magic mouse, so it's really hard to progress.

  7. MStraeten commented on May 23, 2026

    @MStraeten
    Collaborator

    trackpad gestures must be disabled in preferences to restore the former scrolling behaviour for Magic Mouse as well as for the trackpad.
    Even on trackpad the zoom and pinch gesture isn’t ‚added‘ but replaces the scroll gesture to zoom.

  8. lietschi-bit commented on May 23, 2026

    @lietschi-bit
    Author

    @da-phil and @MStraeten ..... all sorted now .
    I just disabled the " trackpad gesture support " in prefs . Et voila ... Magic Mouse does the perform the " normal " zoom function while swipe up and down on the mouse surface .

    Think the issue can be closed , at least from my side .

    Cheers Andreas

  9. github-actions commented on Jul 23, 2026

    @github-actions

    This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.

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-issue-activityscope: hardware supportscope: macos support

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions