Bug #3114

URS, properties view, focus not correctly detected on Windows

Added by Matthieu Decorde 3 months ago. Updated 2 months ago.

Status:New Start date:06/25/2021
Priority:Normal Due date:
Assignee:- % Done:

10%

Category:Annotation Spent time: -
Target version:TXM 0.8.2 -Annotation URS 4.0

Description

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

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

Solution A

  • 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
  • add OK/Cancel 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
  • ...

History

#1 Updated by Matthieu Decorde 3 months ago

  • Description updated (diff)
  • % Done changed from 0 to 10

#2 Updated by Matthieu Decorde 2 months ago

  • Description updated (diff)

#3 Updated by Serge Heiden 2 months ago

  • Description updated (diff)

Also available in: Atom PDF