krontech / chronos-cam-app

Chronos Camera App
GNU General Public License v3.0
16 stars 6 forks source link

Zebra Stripes does not update when changed from webpage #160

Open nfaliszewski opened 4 years ago

nfaliszewski commented 4 years ago

When viewing the 'Util' page on the back of camera, changing the 'Zebras' AKA 'Zebra Stripes' from the webpage control (and presumably any other API call) does not affect the check box on the GUI.

If zebra is changed from the webpage while the GUI does not have the Util page open, the zebra checkbox on the GUI will show the correct status when the Util page is opened. The problem is only present while on the Util page on the GUI.

Closing the Util screen and then opening it again does work, but navigating to other tabs and back does not.

Changing the status on the on the GUI does properly report to the webpage, but not the other way around.

oskirby commented 4 years ago

I am slightly mushy on whether this should be implemented or not. Most of the screens in camApp operate on the concept of "latch the current state in when you open the window but don't change anything until the user hits apply", in which case it is not appropriate for API changes to appear in the users editing context. The Util window is a bit of an ugly duckling in this model though since it has no Apply buttons.