Bug #3114

Mis à jour par Serge Heiden il y a environ 4 ans

The widgets of the properties view do not detected correctly the lost of focus and the annotation properties values are not correctly updated

#3111 may fix this bug

h3. Solution A

Fix the lost focus detection on Windows, of the folowwing scenarios:
* 1) set a property of a Unit 2) click on the save button 3) close&re-open the editor -> the property value is lost
* 1) set a property of a Unit 2) close&re-open the editor -> the property value is lost
* 1) set a property of a Unit 2) click on another property field 3) close&re-open the editor -> the property value is lost

h3. Solution A B

* Add user feedback for saved/not saved widget state
** *widget background*
*** set widget background to light green when edition starts
*** set widget background to white when edition stops
** *widget value font style*
*** set all widget values to bold when opening the view
*** set widget value font to normal when edition starts
*** set widget value font back to bold when edition stops
*
Change the value validation workflow algorithm:
* *add add OK/Cancel buttons* buttons
* start an idle timer at each keypress
** *when the idle goes through 10 seconds (of inactivity), save the value*
*
update values at any widget value modification
* ...

Retour