Bug#1088811: darktable: New styles apply with multiple activated modules

Matus P. matus.pollyglot at gmail.com
Sun Dec 1 16:40:22 GMT 2024


Package: darktable
Version: 4.8.1-2+b1
Severity: normal
X-Debbugs-Cc: m at matusp.com

Dear Maintainer,


It appears that there is a change in creating or applying styles in darktable since 2024 July.

I create a new style from an edit history of a raw photo. When I apply it to another raw photo with empty history, some modules become activated multiple times. For example, the source image for the style has the 'exposure' and the 'color calibration' modules activated. This style, when applied to a new vanilla image will result in 'exposure', 'exposure 1' and 'exposure 2' becoming activated as well as 'color calibration' and 'color calibration 1'.

Styles created around 2024 July seemed to work as expected. Styles created later apply as described above. I noticed this behavior in November, when I wanted to update the styles with new settings. I had applied the style, updated the modules' settings, then deleted the old style and saved the new. In retrospect, getting rid of the old dtstyles before reassuring that the new ones work wasn't the brightest idea to do.

When examining the newly created and exported dtstyle file, it appears that these modules' names appear in <iop_list> multiple times: "exposure,0,exposure,1,exposure,1,exposure,2,exposure,2". I remove the duplicate exposure entries, rename and save the dtstyle with "exposure,0" only. After importing this style and applying to a new clean image, there appears 'exposure' and 'exposure 1' activated in darkroom.

This applies to styles created and applied from/to .dng and .raf files.



-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.10.12-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages darktable depends on:
ii  libavif16                   1.1.1-1
ii  libc6                       2.40-3
ii  libcairo2                   1.18.2-2
ii  libcolord-gtk1t64           0.3.1-1+b1
ii  libcolord2                  1.4.7-1+b2
ii  libcups2t64                 2.4.10-2
ii  libcurl3t64-gnutls          8.11.0-1
ii  libexiv2-28                 0.28.3+dfsg-2
ii  libgcc-s1                   14.2.0-8
ii  libgdk-pixbuf-2.0-0         2.42.12+dfsg-1+b1
ii  libglib2.0-0t64             2.82.2-2
ii  libgomp1                    14.2.0-8
ii  libgphoto2-6t64             2.5.31-4
ii  libgphoto2-port12t64        2.5.31-4
ii  libgraphicsmagick-q16-3t64  1.4+really1.3.45-1+b1
ii  libgtk-3-0t64               3.24.43-4
ii  libheif1                    1.19.3-1
ii  libicu72                    72.1-5+b1
ii  libimath-3-1-29t64          3.1.12-1+b1
ii  libjpeg62-turbo             1:2.1.5-3+b1
ii  libjson-glib-1.0-0          1.10.0+ds-3
ii  libjxl0.9                   0.9.2-10+b1
ii  liblcms2-2                  2.16-2
ii  liblensfun1                 0.3.4-1+b3
ii  liblua5.4-0                 5.4.7-1+b1
ii  libopenexr-3-1-30           3.1.5-5.1+b3
ii  libopenjp2-7                2.5.0-2+b4
ii  libosmgpsmap-1.0-1          1.2.0-2+b3
ii  libpango-1.0-0              1.54.0+ds-3
ii  libpangocairo-1.0-0         1.54.0+ds-3
ii  libpng16-16t64              1.6.44-2
ii  libportmidi0                1:217-6.1+b3
ii  libpugixml1v5               1.14-2
ii  libraw23t64                 0.21.3-1+b1
ii  librsvg2-2                  2.59.1+dfsg-1
ii  libsdl2-2.0-0               2.30.9+dfsg-1
ii  libsecret-1-0               0.21.4-3
ii  libsqlite3-0                3.46.1-1
ii  libstdc++6                  14.2.0-8
ii  libtiff6                    4.5.1+git230720-5
ii  libwebp7                    1.4.0-0.1+b1
ii  libwebpmux3                 1.4.0-0.1+b1
ii  libx11-6                    2:1.8.10-2
ii  libxml2                     2.12.7+dfsg+really2.9.14-0.2+b1
ii  libxrandr2                  2:1.5.4-1+b1
ii  zlib1g                      1:1.3.dfsg+really1.3.1-1+b1

darktable recommends no packages.

darktable suggests no packages.

-- no debconf information



More information about the Pkg-phototools-devel mailing list