Opened 7 years ago

Closed 6 years ago

Last modified 13 months ago

#683 closed enhancement (implemented)

Synchronized scrolling of multiple tree views

Reported by: westram Owned by: westram
Priority: major Milestone: arb7.0
Component: Library (tree) Version:
Keywords: Cc:

Description (last modified by westram)

Applies only if multiple tree views are visible/shown.

Each view should be assignable to a master-view. Doing so will make the view a slave-view.

Master-views do

  • collect a list of all species displayed inside viewport (during refresh of canvas)
  • flag collected species
  • trigger a sync-jump in all associated slave-views (only if list of visible species did change)

Slave-views can perform a sync-jump:

  1. draw tree (onto size device?) and collect positions of flagged species
  2. find part of tree containing most flagged species
    1. search in Y-range for dendro- and IRS-view
    2. also change zoom for radial- and circular-view
  3. scroll there (explicit scrolling needs to be delayed until all slave-views of the currently triggering master-view performed their sync-jump; otherwise flags would be overridden)

Notes:

  • a master may also be a slave (deny looped chaining)
  • a master may have multiple slaves (but not vv.)
  • during a sync-jump one of the unused DB-flags may be used to flag which species are visible in master-view
  • code triggered by the JUMP button might be related

Umbrella ticket: #444

Change History (7)

comment:1 Changed 7 years ago by westram

  • Priority changed from normal to major

comment:2 Changed 7 years ago by westram

  • Description modified (diff)

comment:3 Changed 7 years ago by westram

  • Milestone changed from wishlist2016 to r16q3

comment:4 Changed 6 years ago by westram

  • Owner set to westram
  • Status changed from new to accepted

comment:5 Changed 6 years ago by westram

  • Status changed from accepted to _started

comment:6 Changed 6 years ago by westram

  • Resolution set to implemented
  • Status changed from _started to closed

by [15340]

still TODO adjust zoom for radial view

comment:7 Changed 13 months ago by westram

  • Milestone changed from r16q3 to arb7.0
Note: See TracTickets for help on using tickets.