Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-2352

Review excessive repaints for threshold slider changes

    XMLWordPrintable

    Details

    • Type: Task
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.10.1
    • Fix Version/s: None
    • Component/s: Efficiency
    • Labels:
      None

      Description

      Sliders are currently used in Jalview for:
      - setting feature transparency (slider only) in FeatureSettings
      - colour chooser (Red/Green/Blue etc, with input box alternative)
      - Remove Redundancy
      - threshold for Colour by Annotation, Show/Hide Columns by Annotation
      - graduated feature colour threshold
      - colour by conservation threshold
      - colour by PID threshold
      - foreground text colour threshold (slider only)

      Desired behaviour where display-affecting values can be changed with a slider:
      1) repaint alignment as the slider is dragged
      2) update value input box (if there is one) as the slider is dragged (but no extra repaint!)
      3) don't repaint structure or Overview (broadcast update) until mouse is released
      4) click to move slider - update text box, repaint alignment and broadcast update (only once!)
      5) update text box value (followed by Enter) - move slider, repaint alignment and broadcast update (only once)
      6) update text box followed by lose focus e.g. tab out - as (5) [but mostly not done]

      This issue is to review and check
      (a) the right things are happening
      (b) excessive repaints are not happening

        Attachments

          Activity

            People

            Assignee:
            gmungoc Mungo Carstairs
            Reporter:
            gmungoc Mungo Carstairs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: