Opened 8 years ago

Last modified 8 years ago

#753 assigned misbehavior

disallow group at root of tree

Reported by: westram Owned by: westram
Priority: trivial Milestone:
Component: ARB_NTREE Version: SVN
Keywords: Cc:

Description (last modified by westram)

Currently it is possible that a tree has group-information at the root node:

Reproduce creation:

  • switch to GROUP MODE
  • right-click outside the tree
    • enter the name of the new group (e.g. 'top')
  • the tree will display as single collapsed group.
    The name of the group ('top') is not displayed, instead the treename is shown.

Problems:

  • the group at tree-root behaves weird:
    • it will always stay at root (even if root is moved around)
    • it cannot be moved (in MOVE MODE)
      • but it can be swapped with any other group (in MOVE MODE). In that case the given groupname ('top') shows up again.
  • general problems
    • a group at root has no father-node (any other group has one)
    • such a group is semantically "outside the tree"

Wanted fixes:

  • eliminate such groups when tree gets loaded ("into" display) (./) by [15874]
  • avoid such a group will be generated:
    • directly as described in 'Reproduce' above
    • indirectly during load (root-group persists save+load)

Related: #451, #735

Attachments (1)

demo_tree_with_rootGroup.arb (105.2 KB) - added by westram 8 years ago.
example DB

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by westram

example DB

comment:1 Changed 8 years ago by westram

  • Description modified (diff)

comment:2 Changed 8 years ago by westram

  • Description modified (diff)

comment:3 Changed 8 years ago by westram

  • Description modified (diff)
  • Owner changed from devel to westram
  • Status changed from new to _started

comment:4 Changed 8 years ago by westram

  • Description modified (diff)
  • Priority changed from normal to trivial
  • Status changed from _started to assigned
  • implements workaround (=removed group at load)

Note: See TracTickets for help on using tickets.