kitodo-presentation icon indicating copy to clipboard operation
kitodo-presentation copied to clipboard

[BUG] Multi-View: Reset button affects all grid elements

Open markusweigelt opened this issue 8 months ago • 0 comments

Description

When resetting in one popup, the image manipulation settings for all grid elements are reset. This bug only affects the sliders (e.g., saturation, contrast, etc.). Color inverting works fine.

Reproduction

Steps to reproduce the behaviour:

  1. Navigate to: https://example.com/viewer?tx_dlf%5Baction%5D=main&tx_dlf%5Bcontroller%5D=PageView&tx_dlf%5BdocPage%5D%5B1%5D=5&tx_dlf%5BdocPage%5D%5B2%5D=9&tx_dlf%5BdocPage%5D%5B3%5D=13&tx_dlf%5BdocPage%5D%5B4%5D=15&tx_dlf%5Bdouble%5D=0&tx_dlf%5Bid%5D=https%3A%2F%2Ftest.dfg-viewer.de%2Ffileadmin%2Fcomposition%2FMus.2389-N-9.xml&tx_dlf%5Bmultiview%5D=1&tx_dlf%5Bpage%5D=1&cHash=519b78c80be30d359759090f71db9599
  2. Open different image manipulation popups and adjust the sliders
  3. Click on the reset button in one of the popups

Expected Behavior

The reset button should only affect the sliders in the respective grid.

Screenshots and Examples

image

markusweigelt avatar Apr 30 '25 09:04 markusweigelt