Skip to content

Stop persisting the plot watermark path - #463

Merged
PierreRaybaut merged 2 commits into
developfrom
fix/watermark-path-persistence
Oct 30, 2026
Merged

PierreRaybaut merged 2 commits into
developfrom
fix/watermark-path-persistence

Conversation

@PierreRaybaut

Copy link
Copy Markdown
Contributor

Stop persisting the path of the plot watermark image in the user configuration, and remove the obsolete [view] watermark_image_path key written by DataLab 1.3 when the configuration is loaded.

  • options.py: the watermark path is uncategorized application branding (like the splash screen image), hence never persisted.
  • persistence.py: new OBSOLETE_INI_OPTIONS removed by load_options_from_ini (also covers the legacy configuration migration).
  • Regression test: a stale path is ignored, removed from the INI file and not written back.
  • Release notes 1.4.0 + French translation.

Companion SigimaX PR (independent, not required by this one): resolution of watermark image names, see DataLab-Platform/SigimaX#35.

Closes #462

DataLabOptions set watermark_image_path to the absolute path of the
watermark image of the running installation, but the field kept the
"view" category inherited from SigimaX, so it was written to the user
configuration and, on the next start, overrode the value of whichever
DataLab read this configuration. Installations sharing it (e.g. DataLab
installed in several Python environments) displayed the watermark of
the first one, no watermark once it was removed, and a blurry one on
high-DPI screens when it predated the @2x images.

- options: the watermark path is now uncategorized application
  branding, like the splash screen image, hence never persisted.
- persistence: OBSOLETE_INI_OPTIONS lists the INI options written by
  earlier versions that are removed when the configuration is loaded
  ([view] watermark_image_path, written by DataLab 1.3).
- Regression test: a stale watermark path is ignored, removed from the
  INI file and not written back.

Assisted-by: Claude Opus 5.5
Add the 1.4.0 bug-fix note on the watermark of empty plots read from
another installation sharing the user configuration, and its French
translation.

Assisted-by: Claude Opus 5.5
@PierreRaybaut
PierreRaybaut merged commit f848eb4 into develop Oct 30, 2026
6 checks passed
@PierreRaybaut
PierreRaybaut deleted the fix/watermark-path-persistence branch October 30, 2026 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant