Bug 454783

Summary: KStars FITS-Viewer Histogram does not automatically update
Product: [Applications] kstars Reporter: Albert Fetscher <Albert.Fetscher>
Component: generalAssignee: Jasem Mutlaq <mutlaqja>
Status: REPORTED ---    
Severity: normal CC: Albert.Fetscher, sequel.county_0d
Priority: NOR    
Version First Reported In: 3.5.8   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Albert Fetscher 2022-06-03 05:59:24 UTC
SUMMARY

KStars FITS-Viewer Histogram does not automatically update.

	KStars Version 3.5.8 Stable
	OS: Linux (armv7l) release 5.10.103-v7l+
	Astroberry
	Raspberry Pi 4B
	

STEPS TO REPRODUCE

CCD "ZWO ASI120MM-S" is connected to Astroberry.

Step 1: 

EKOS -> Click on button "Capture a preview"
	KStars FITS-Viewer: 
		Shows preview. 
		OK!

KStars FITS-Viewer -> Click on button "Histogram"
	KStars FITS-Viewer: 
		Shows histogram graphic. 
		OK!

Step 2: 

EKOS -> Click on button "Capture a preview"
	KStars FITS-Viewer: 
		Shows preview. That is OK!
		Histogram graphic is NOT updated! That is of course NOT OK!
		FAILED!

KStars FITS-Viewer -> Preview Tab -> Click on "Tab Statistics" (just for fun)
	KStars FITS-Viewer -> Preview Tab: 
		Shows actual statistics (values looks good). That is OK!
		OK!
			
KStars FITS-Viewer -> Preview Tab -> Click on "Tab Histogram" (to go back to histogram)
	KStars FITS-Viewer -> Preview Tab: 
		Shows now the updated histogram grapic. Now it is OK!
		OK!
		
	KStars FITS-Viewer -> Preview Tab: 
		Shows histogram data but some values (mean, median) are not updated (compared to previous statistics tab). Therefore also NOT OK! 
		FAILED!


I hope this short description will help to reproduce the reported bug.
If you need more informations, please don“t hesitate to contact me.
Thanks, 
Albert
Comment 1 sequel.county_0d 2022-07-03 12:53:59 UTC
I see the same thing. Statistics and fits header details update but not the histogram.
On astroberry using latest kstars (3.5.9 I believe)