Opened 7 years ago

Last modified 4 years ago

#728 new enhancement

allow to revert properties to last saved state

Reported by: westram Owned by: devel
Priority: normal Milestone: wishlist
Component: Library (GUI) Version: SVN
Keywords: Cc:

Description (last modified by westram)

  • add menu entry to 'Properties' menu (next to 'save properties')
    ⇒ revert all properties to saved state
  • add 'Last saved'-button to config-managers (next to 'Factory defaults')
    ⇒ revert managed properties to saved state

Implementation:

  • open properties DB (again)
  • copy existing AWAR entries
  • reset missing AWAR entries to (hardcoded) default

Optional features:

  • reset all properties to factory default (global)
  • auto-save managed properties before calling restore, factory defaults or last saved
    • save into temp. entry which will not be saved
    • use special name, e.g. %b4_restore_<timestamp>

Notes:

  • "reset to default" does not make sense for database-awars! (would e.g. reset database-comment and similar).
    It's ok when using 'Last saved'-button in config-manager. If config really contains any database awar, resetting it most likely makes sense as well.
  • mapped awars shall be handled special:
    • restore default/savedValue of target awar
    • one example for unwanted behavior can be found in the SAI calculator:
      goto its config manager and restore factory defaults
      ⇒ error because mapped awar is overwritten with "" (= default of mapped awar)

Change History (5)

comment:1 Changed 7 years ago by westram

  • Description modified (diff)

comment:2 Changed 7 years ago by westram

  • Milestone set to proposals

comment:3 Changed 6 years ago by westram

  • Milestone changed from proposals to wishlist
  • Priority changed from normal to minor

comment:4 Changed 5 years ago by westram

  • Description modified (diff)

comment:5 Changed 4 years ago by westram

  • Description modified (diff)
  • Priority changed from minor to normal
Note: See TracTickets for help on using tickets.