Bug #3114

URS, properties view, focus not correctly detected on Windows

Added by Matthieu Decorde over 2 years ago. Updated 8 months ago.

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

80%

Category:Annotation Spent time: -
Target version:TXM 0.8.3

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 over 2 years ago

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

#2 Updated by Matthieu Decorde about 2 years ago

  • Description updated (diff)

#3 Updated by Serge Heiden about 2 years ago

  • Description updated (diff)

#4 Updated by Matthieu Decorde 12 months ago

  • % Done changed from 10 to 80

#5 Updated by Matthieu Decorde 8 months ago

  • Target version changed from TXM 0.8.2 -Annotation URS 4.0 to TXM 0.8.3

Also available in: Atom PDF