PixInsight Forum

PixInsight => Bug Reports => Topic started by: ngc1535 on 2019 October 02 10:26:49

Title: View "Read Locked"
Post by: ngc1535 on 2019 October 02 10:26:49
I have not seen this before... what does it mean when a view is Read Locked?
 
(http://www.caelumobservatory.com/mlsc/Capture.Jpg)

Is this a Bug?

-adam
Title: Re: View "Read Locked"
Post by: ngc1535 on 2019 October 02 10:51:29
Just an update to this behavior. The "Read Locked" state/label is cleared if you manipulate the view such as zooming in and out. Then things appear normal. So I suspect this is something that is innocuous. But... only the author knows. :)
Title: Re: View "Read Locked"
Post by: Juan Conejero on 2019 October 02 11:00:53
Hi Adam,

Quote
what does it mean when a view is Read Locked?

It means that the view cannot be modified because it is write-protected. Since PixInsight is a strongly multithreaded environment, a process must lock a view before attempting to process its image. While the view is locked, no other process can modify it. When the process has finished processing the image, it must unlock the view. Of course, no standard process leaves locked views; doing that is a serious error.

This is indeed a small bug in the ChannelCombination tool. I discovered it yesterday, but the installation packages were already on the server (and the macOS packages were already notarized by Apple, which is a pain in...), so I decided to leave it unfixed. This bug is completely innocuous. The view is not locked, it's just the window title that is not updated correctly after the new image has been generated by ChannelCombination. If you simply zoom in/out the image, the title will be updated. Sorry for the inconvenience, I'll fix this as soon as possible (although with low priority).
Title: Re: View "Read Locked"
Post by: plane on 2019 November 19 06:12:10
I'm down to my last steps in a galaxy image and I can't do any noise reduction (MMT).  It doesn't matter if I zoom in or out the function has no effect on the image.  Is there any kind of workaround?
Title: Re: View "Read Locked"
Post by: Juan Conejero on 2019 November 20 08:42:01
I'm down to my last steps in a galaxy image and I can't do any noise reduction (MMT).  It doesn't matter if I zoom in or out the function has no effect on the image.  Is there any kind of workaround?

This cannot be reproduced. MMT works without problems on all supported platforms in all of our tests. This problem has not been reported before.