Skip to content

macos: sensitivity of trackpad / magic mouse increased #20698

@MStraeten

Description

@MStraeten

Is there an existing issue for this?

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

Describe the bug

in comparision to 5.4.1 the sensitivity of the trackpad / magic mouse massively increased.
while t was possible with 5.4.1 to change sliders quite controlled with 5.5 even small movements reaches extrem values.

Steps to reproduce

use slider wit 5.4.1 and then 5.5

moving on macbookPro trackpad 5mm changes agx contrast slider from 0 to 5 (lower to upper end)

Commit

215911fc2ee4e37bed615d6b944a162dcaebe47f is the first bad commit
commit 215911fc2ee4e37bed615d6b944a162dcaebe47f (HEAD)
Author: Dan Torop <dant@pnym.net>
Date:   Fri Mar 6 21:59:40 2026 -0500

    exposure/bauhaus;scopes: use GTK4-ready scrolling behavior

    Convert bauhaus _widget_scroll() to use GtkEventControllerScroll
    instead of GdkEventScroll.

    - If ignoring scroll, pass it on to the scrolled window.
    - Use delta from event controller, not from raw event
    - In scopes use discrete scroll events from controller, which aligns
      with how bauhaus does things and gives fine results

    Pass a GtkEventController to handle_event aka
    dt_dev_exposure_handle_event().

    Also: Fix bauhaus memory leak by freeing events returned by
    gtk_get_current_event(). See:
    https://docs.gtk.org/gtk3/func.get_current_event.html, "The caller of
    the function takes ownership of the data, and is responsible for
    freeing it."

    Also: new dt_gui_connect_scroll() helper function.

 src/bauhaus/bauhaus.c | 87 ++++++++++++++++++++++++++++++---------------------
 src/bauhaus/bauhaus.h |  2 +-
 src/develop/develop.c |  7 +++--
 src/develop/develop.h |  6 ++--
 src/gui/gtk.c         | 13 ++++++++
 src/gui/gtk.h         |  8 +++++
 src/iop/exposure.c    | 12 +++----
 src/libs/histogram.c  | 28 ++++++-----------
 8 files changed, 97 insertions(+), 66 deletions(-)

Where did you obtain darktable from?

self compiled

darktable version

arktable 5.5.0+806~ge10c1b455b

What is the version of your OS?

Macos 26

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions