Pivot
  1. Pivot
  2. PIVOT-806

Preselection disappears when something is already selected

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.1
    • Component/s: None
    • Labels:
      None

      Description

      This feature is called "highlight". It appears when you mouse over an element in a list, table, tree, etc. and shows you what item will be selected if you click on it.
      When there is already (at least) one element selected, when I press any key, the highlight (of the element under the mouse) is removed, and this generates a little visual noise to the user.

      Some reference here:
      http://apache-pivot-developers.417237.n3.nabble.com/Preselection-disappears-when-something-is-already-selected-td2957065.html#a2957162

      1. TerraTreeViewSkin.patch
        0.5 kB
        Sandro Martini
      2. TerraTableViewSkin.patch
        0.7 kB
        Sandro Martini
      3. TerraListViewSkin.patch
        2 kB
        Sandro Martini

        Issue Links

          Activity

          Hide
          Sandro Martini added a comment -

          add the wrapSelectNext style (default true, as in Windows), and changed one of our test bxml files to see there the behaviour for false

          Show
          Sandro Martini added a comment - add the wrapSelectNext style (default true, as in Windows), and changed one of our test bxml files to see there the behaviour for false
          Hide
          Sandro Martini added a comment -

          it's safer to add the style to disable the wrap

          Show
          Sandro Martini added a comment - it's safer to add the style to disable the wrap
          Hide
          Sandro Martini added a comment -

          Note that the additional style to disable the wrap search could be added in a later release, I think it's a useful feature enabled by default.

          Show
          Sandro Martini added a comment - Note that the additional style to disable the wrap search could be added in a later release, I think it's a useful feature enabled by default.
          Hide
          Sandro Martini added a comment -

          After applying patches, try for example with related objects in ComponentExplorer.
          On Lists, try even to select something, and use many different chars on keyboard (control chars, arrows, and alphanumeric) and see what happens.
          Note that with alphanumeric char, the selection on lists tries to select the next element (after the last element selected) with a matching char at the beginning, so try for example with existing chars and even with not-existing ones.

          To speedup the solution if this (small) issue maybe the additional style to disable the wrap search could be added even in a later release if you like this feature enabled by default (I think could be useful).

          Tell me.

          Show
          Sandro Martini added a comment - After applying patches, try for example with related objects in ComponentExplorer. On Lists, try even to select something, and use many different chars on keyboard (control chars, arrows, and alphanumeric) and see what happens. Note that with alphanumeric char, the selection on lists tries to select the next element (after the last element selected) with a matching char at the beginning, so try for example with existing chars and even with not-existing ones. To speedup the solution if this (small) issue maybe the additional style to disable the wrap search could be added even in a later release if you like this feature enabled by default (I think could be useful). Tell me.
          Hide
          Sandro Martini added a comment -

          In attach you find all (single) patch files required to fix it.
          Note that two are complete, while that for Lists has an additional feature that could be useful to disable (if not wanted) by a style property ...

          Tell me if there are objections, or in a few days I'll commit this stuff ... but on the cycle selection (with the style) suggestions/feedback is appreciated.

          Show
          Sandro Martini added a comment - In attach you find all (single) patch files required to fix it. Note that two are complete, while that for Lists has an additional feature that could be useful to disable (if not wanted) by a style property ... Tell me if there are objections, or in a few days I'll commit this stuff ... but on the cycle selection (with the style) suggestions/feedback is appreciated.

            People

            • Assignee:
              Sandro Martini
              Reporter:
              Sandro Martini
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development