- Open a tree
- Select a node
- Click 'Formatting' button on the toolbar
Expected state: Label Formatting dialog appears, it shows current settings - Change settings, e.g. set the color to red, and click Ok
Expected state: all labels of the node sub-tree are red - Select another node that is not red
- Click 'Formatting' button on the toolbar
Expected state: Label Formatting dialog with the current settings appears
Current state: Label Formatting dialog appears with the settings from the step 4 - Accept the dialog without any change
Expected state: the settings from the dialog are applied to the sub-tree
Current state: nothing happens
Probably Label Formatting should be applied to ALL labels of the tree, until UGENE-600 is fixed.
Another scenario:
- Select a node
- Change label formatting – set color to green
Current state: the labels of selected sub-tree are green - Click Collapse button on the toolbar
- Change label formatting – set color to yellow
Current state: visible selected label is yellow - Click Expand button on the toolbar
Current state: the labels of the collapsed and expanded sub-tree are not green
Expected state: labels in collapsed sub-tree should also become yellow (selection of the node is the same in steps 2 and 4, but the behavior is different)