From: Henrik A. <hen...@gm...> - 2010-01-23 18:52:11
|
... i noticed this is a fairly new implementation (anyway to the library user...) dont know how it works behind the curtains.. I have a problem, my application does get notified when readonly changes on a widget and it seems to work good, but there are not all widgets that does update this as it seems.. for an example.. My D60 when i turn camera into manual mode i got notified that widget shuttertime and f-number has changed it's readonly flag to false, when i turn down to Exp. Program "Auto" i suspect that both shuttertime and f-number should be readonly, but this is not the case and when my application not get this notify i can make changes to widgets which result in onError() telling im trying to change a readonly widget... Im not telling it might be a problem in gphoto library, it might ofcourse be the case that my CameraConfiguration class implementation might not work 100% and some changes got dropped between the chairs.. I just want to know that this does work 100% in gphoto implementation and there is no misses regarding the readonly flag. so i could spent some time on right thing... heres some background on my cameraconfiguration class CameraConfiguration holds an local copy CameraWidget ** of root configration, initialized in constructor.. then on a thread i wait for events and on prop change event CameraConfiguration is reading a temp copy of widgets and "merges" change into the class local copy, when widgets A widget and B widget differs in readonly flag A is updated with B readonly status and a observer callback is signaled to push the accessibility change further to my application... /Henrik |