Describe the bug
After adding HistogramConfig in the SetHistogramRequirements and REGION_HISTOGRAM_DATA.
When open an image and request SetHistogramRequirements, there are TWO REGION_HISTOGRAM_DATAs returned. The first REGION_HISTOGRAM_DATA is identical to the REGION_HISTOGRAM_DATA that returned with OpenFileAck.
(If set a region and then request SetHistogramRequirements, there is only ONE REGION_HISTOGRAM_DATA returned, it is what I expected)
To Reproduce
Steps to reproduce the behavior:
0. Open console.log, set "Preference - Log Events" to select All
- Open "HH211_IQU.fits" (backend <== OPEN_FILE, ==> OPEN_FILE_ACK, ==> REGION_HISTOGRAM_DATA)
- Click on "Histogram widget"
- Set Polarization to "Stokes Q"
- Click top right "setting", and adjust X min to"0"
- You can see there is ONE request "SET_HISTOGRAM_REQUIREMENTS" but the backend return TWO "REGION_HISTOGRAM_DATA". The first one is identical to Step 1 "REGION_HISTOGRAM_DAT"
Expected behavior
Based on v3, if change the setting in the Histogram widget, there is only ONE "REGION_HISTOGRAM_DAT" returned from the backend
Screenshots or videos


Platform info (please complete the following information):
- OS [e.g. macOS Monterey]: macOS Big Sur 11.6
- Browser [e.g. chrome, safari, electron app]: chrome
- Browser version [e.g. 22]: Version 111.0.5563.110 (Official Build) (arm64)
- Backend branch [e.g. dev, v3b2 release]: dev
- Frontend branch [e.g. dev, v3b2 release]: dev
Additional context
Add any other context about the problem here.
Describe the bug
After adding HistogramConfig in the SetHistogramRequirements and REGION_HISTOGRAM_DATA.
When open an image and request SetHistogramRequirements, there are TWO REGION_HISTOGRAM_DATAs returned. The first REGION_HISTOGRAM_DATA is identical to the REGION_HISTOGRAM_DATA that returned with OpenFileAck.
(If set a region and then request SetHistogramRequirements, there is only ONE REGION_HISTOGRAM_DATA returned, it is what I expected)
To Reproduce
Steps to reproduce the behavior:
0. Open console.log, set "Preference - Log Events" to select All
Expected behavior
Based on v3, if change the setting in the Histogram widget, there is only ONE "REGION_HISTOGRAM_DAT" returned from the backend
Screenshots or videos


Platform info (please complete the following information):
Additional context
Add any other context about the problem here.