darktable-org / darktable-org/darktable

Broken zooming and scrolling in the map view on Ubuntu 26.04

Open
#21,350 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

no-issue-activity
Dominant language
C
Stars
13.1k
Forks
1.4k
Avg merge
22h 14m
Merged PRs (30d)
198

Description

Is there an existing issue for this?
  • I checked and did not find my issue in the already reported ones
Describe the bug

After updating my Ubuntu from 25.10 to 26.04 and updating darktable from v5.4.0 to v5.4.1, zooming in the map view via touch pad scrolling is no longer possible. I can only use the OSD to zoom in and out ("+" and "-" buttons). It is also no longer possible to change the size of locations on the map by scrolling.

Steps to reproduce

Zooming:

  1. Go to the map view
  2. Move the mouse pointer to the map widget
  3. Scroll up/down

Change size of map locations:

  1. Go to the map view
  2. Create a new (ellipse shaped) map location
  3. Move the mouse pointer to the map widget inside the created map location
  4. Scroll up/down
Expected behavior

The map should be zoomed in/out and the size of the created map location should increase/decrease.

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

distro packaging

darktable version

5.4.1

What OS are you using?

Linux

What is the version of your OS?

Ubuntu 26.04

Describe your system

No response

Are you using OpenCL GPU in darktable?

None

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

At first, I checked if this is an issue with darktable 5.4.1, but it isn't. I installed darktable 5.4.0, which didn't show this problem before on Ubuntu 25.10, but on Ubuntu 26.04 zooming and scrolling is broken with darktable 5.4.0 as well.

Second, I compiled and installed an instrumented darktable 5.4.1 to generate debug output at the entry point of different callback functions handling GTK events of the map widget. This revealed that the callback function _view_map_scroll_event() related to the GTK signal "scroll-event" is never triggered, whereas other callback functions are triggered as expected.

This seems to be a GTK issue with the map widget related to the "scroll-event".

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in src/views/map.c, especially the map widget's GTK event connections and _view_map_scroll_event(). Reproduce the missing scroll-event behavior on Ubuntu 26.04 and compare it with the working callbacks described in the issue. Done means map scrolling zooms the view and changes map-location sizes again.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.