Skip to content

Channel colors are not stored properly when using saved display settings #1726

@petebankhead

Description

@petebankhead

Bug report

Describe the bug

See https://forum.image.sc/t/bug-channel-colors-reset-based-on-other-channels-changes/105842 for a description, steps to reproduce, and video.

Expected behavior

No mysterious color resetting.

Desktop (please complete the following information):

  • OS: All
  • QuPath Version: 0.6-rc3 (probably others)

Additional context

The issue appears to be that the metadata for the ImageServer is not set when the settings are applied.
Because the channel colors are queried from the metadata when setting a new channel color, this causes things to behave unexpectedly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions