Author Topic: Tree operations in general (CRD, ACP and INTF)  (Read 56642 times)

ushacomm

  • Customer
  • Newbie
  • *
  • Posts: 34
    • View Profile
Tree operations in general (CRD, ACP and INTF)
« on: July 24, 2012, 07:23:29 AM »
We have observed that once tree nodes are rolled down and the tree pane has scroll bar, node clicks are misplaced. Re-sizing the tree pane is also problematic as it seems to return to previous size on next node click. If we roll up all the nodes and the scroll bar is not there any more, this problem is not observed.

This will cause problems in operation as users are required to work with multiple nodes expanded.

Dev Team

  • Customer
  • Hero Member
  • *
  • Posts: 593
    • View Profile
Re: Tree operations in general (CRD, ACP and INTF)
« Reply #1 on: July 24, 2012, 12:58:11 PM »
We were trying to reproduce it on leono on ACPNEW application, there is a problem with tree, when scrolling exists and you click on node in the bottom it will then scroll to top or even scroll-loop on that tree, but correct tree item is selected. Is that the behavior you see?

Do you have any scroll listeners on that tree? One option would be to use server side scrolling there, only visible part of tree will be pre-rendered (improving performance on large tree), scrolling would not cause any misplacement or other issues, any listeners would work correctly on that pane, but it would add some time after scrolling is done to load new visible nodes.

ushacomm

  • Customer
  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: Tree operations in general (CRD, ACP and INTF)
« Reply #2 on: July 25, 2012, 01:14:13 AM »
Here's what I have observed after some working with the CRD tree:

1) Like you observed, 'correct' tree node is selected but auto-scroll to top happens (sometimes)
2) If auto-scroll has happened to top, and then, in that state you select another visible node, auto-scroll to bottom happens and 'wrong' node is selected
3) Like you observed, the scroll seems to loop when you move mouse inside and outside of the tree pane

We do not use any scroll listeners - just a scroll pane to contain the tree.

2nd option is good I think - yes we can have really large trees and there these issues can impair work. Lets try this option and see how it works.

ushacomm

  • Customer
  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: Tree operations in general (CRD, ACP and INTF)
« Reply #3 on: August 17, 2012, 03:22:49 AM »
The behavior after latest fixes is better than before when scrolling down. But when I scroll up again and click a node, there's a auto-scroll down sometimes followed by the click event - which results in a misplaced click. Not that this is a show stopper, but this can be an irritant during production operations.