Password camera's changed after update through safari

gerwin
edited July 2016 in SecuritySpy
Today I had a strange problem (bug?).. I changed the frame rate of a few camera's and when finished SS 4.01 reported authentication problems of the camera's i changed (using safari webbrowser). When i logged in on the MacPro running SS to see what went wrong, I saw al the passwords of that camera's were changed to a different one (all camera's have same password except 2.. it changed to the password of the 2 execptions.). Does anyway know what I did wrong?

Comments

  • guykuo
    edited July 2016
    I'll venture a guess as to what is happening. I suspect the mechanism now being used to delay application of preference settings until explicit set or closure of the dialog is not fully tracking changes in text fields as the panes swap from one camera to another. In the older SS3, settings were applied immediately. The 4.0 delays application and that greatly complicates how things must be tracked internally.

    When the preference dialog appears, the original state of every field and button of all panels must be preserved internally. Every single switch to another camera also requires that original settings be remembered. As you make changes to settings, the new settings must all be remembered for each camera as you do your edits. When you switch from one camera to another, the "edited" or original state of the selected camera has to be swapped into the fields. It's a very complicated dance that would be easy to programmatically fail to preserved all states. Finally, when you save the changes, all the changes on all the cameras have to be recalled and committed to each affected camera.

    If a text field, is erroneously not updated during in this "dance" you'll get changes in one camera propagated to another.

    I don't know if this is how the implementation is written, but it is practically required to do a delayed save to multiple cameras that share preference panes

    Work around probably would be to always command-s (save) your changes before switching to another camera
  • It's a good theory Guy, but this is not a known problem with the SecuritySpy Preferences window. As far as I can infer, @gerwin was referring to changing settings via the web interface using Safari - is that right? What can happen is that Safari can "helpfully" attempt to auto-fill the passwords on the page - in this case it can fill in the camera password to something incorrect. Do you think this could be what is happening?
  • gerwin
    edited July 2016
    Hello Ben, yes I used safari to change settings from home.. I dont think it is because of the auto-fill feature ;p but i will test that again later today..
  • I can't think of anything it could be apart from Safari's auto-fill feature. This has been known to be a problem in the past, and we added some HTML tags to disable Chrome from auto-filling to attempt to fix this. However this doesn't seem to prevent Safari from doing so, so in the next update we'll add some more guards against this.