You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Todd Volkert (JIRA)" <ji...@apache.org> on 2009/12/14 12:47:18 UTC

[jira] Created: (PIVOT-363) Stock Tracker Demo: Inconsistent Selection Behavior when Adding New Ticket Symbol

Stock Tracker Demo: Inconsistent Selection Behavior when Adding New Ticket Symbol
---------------------------------------------------------------------------------

                 Key: PIVOT-363
                 URL: https://issues.apache.org/jira/browse/PIVOT-363
             Project: Pivot
          Issue Type: Bug
          Components: demos
    Affects Versions: 1.3
            Reporter: Todd Volkert
            Priority: Trivial
             Fix For: 1.4.1


Steps to reproduce:

1) Run the stock tracker demo
2) Select GOOG
3) Add SLV
4) Add MCO
5) Sort by Value
6) Select GOOG
7) Add FORM

Expected behavior:

When you add a new ticker symbol, you expect either (a) the selection to be maintained, (b) the new symbol to be selected, or even (c) the selection to be lost or reset to the first row.  B is probably the best user experience.

Actual behavior:

The behavior of which row is selected when you add a new symbol differs as you add new symbols in the process above.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PIVOT-363) Stock Tracker Demo: Inconsistent Selection Behavior when Adding New Ticket Symbol

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown updated PIVOT-363:
-----------------------------

    Fix Version/s:     (was: 1.4.1)
                   1.4

> Stock Tracker Demo: Inconsistent Selection Behavior when Adding New Ticket Symbol
> ---------------------------------------------------------------------------------
>
>                 Key: PIVOT-363
>                 URL: https://issues.apache.org/jira/browse/PIVOT-363
>             Project: Pivot
>          Issue Type: Bug
>          Components: demos
>    Affects Versions: 1.3
>            Reporter: Todd Volkert
>            Assignee: Greg Brown
>            Priority: Trivial
>             Fix For: 1.4
>
>
> Steps to reproduce:
> 1) Run the stock tracker demo
> 2) Select GOOG
> 3) Add SLV
> 4) Add MCO
> 5) Sort by Value
> 6) Select GOOG
> 7) Add FORM
> Expected behavior:
> When you add a new ticker symbol, you expect either (a) the selection to be maintained, (b) the new symbol to be selected, or even (c) the selection to be lost or reset to the first row.  B is probably the best user experience.
> Actual behavior:
> The behavior of which row is selected when you add a new symbol differs as you add new symbols in the process above.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (PIVOT-363) Stock Tracker Demo: Inconsistent Selection Behavior when Adding New Ticket Symbol

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown resolved PIVOT-363.
------------------------------

    Resolution: Fixed

> Stock Tracker Demo: Inconsistent Selection Behavior when Adding New Ticket Symbol
> ---------------------------------------------------------------------------------
>
>                 Key: PIVOT-363
>                 URL: https://issues.apache.org/jira/browse/PIVOT-363
>             Project: Pivot
>          Issue Type: Bug
>          Components: demos
>    Affects Versions: 1.3
>            Reporter: Todd Volkert
>            Assignee: Greg Brown
>            Priority: Trivial
>             Fix For: 1.4
>
>
> Steps to reproduce:
> 1) Run the stock tracker demo
> 2) Select GOOG
> 3) Add SLV
> 4) Add MCO
> 5) Sort by Value
> 6) Select GOOG
> 7) Add FORM
> Expected behavior:
> When you add a new ticker symbol, you expect either (a) the selection to be maintained, (b) the new symbol to be selected, or even (c) the selection to be lost or reset to the first row.  B is probably the best user experience.
> Actual behavior:
> The behavior of which row is selected when you add a new symbol differs as you add new symbols in the process above.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (PIVOT-363) Stock Tracker Demo: Inconsistent Selection Behavior when Adding New Ticket Symbol

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown reassigned PIVOT-363:
--------------------------------

    Assignee: Greg Brown

> Stock Tracker Demo: Inconsistent Selection Behavior when Adding New Ticket Symbol
> ---------------------------------------------------------------------------------
>
>                 Key: PIVOT-363
>                 URL: https://issues.apache.org/jira/browse/PIVOT-363
>             Project: Pivot
>          Issue Type: Bug
>          Components: demos
>    Affects Versions: 1.3
>            Reporter: Todd Volkert
>            Assignee: Greg Brown
>            Priority: Trivial
>             Fix For: 1.4
>
>
> Steps to reproduce:
> 1) Run the stock tracker demo
> 2) Select GOOG
> 3) Add SLV
> 4) Add MCO
> 5) Sort by Value
> 6) Select GOOG
> 7) Add FORM
> Expected behavior:
> When you add a new ticker symbol, you expect either (a) the selection to be maintained, (b) the new symbol to be selected, or even (c) the selection to be lost or reset to the first row.  B is probably the best user experience.
> Actual behavior:
> The behavior of which row is selected when you add a new symbol differs as you add new symbols in the process above.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PIVOT-363) Stock Tracker Demo: Inconsistent Selection Behavior when Adding New Ticket Symbol

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIVOT-363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791361#action_12791361 ] 

Greg Brown commented on PIVOT-363:
----------------------------------

The reason this happens is because selection is preserved based on the selected indexes, not the selected symbols. If a symbol's index changes between queries (e.g. when sorting on value and one or more of the stock values change), that selection state will no longer be valid.

To fix this, we'll need to identify the current index of each selected symbol after re-applying the sort.


> Stock Tracker Demo: Inconsistent Selection Behavior when Adding New Ticket Symbol
> ---------------------------------------------------------------------------------
>
>                 Key: PIVOT-363
>                 URL: https://issues.apache.org/jira/browse/PIVOT-363
>             Project: Pivot
>          Issue Type: Bug
>          Components: demos
>    Affects Versions: 1.3
>            Reporter: Todd Volkert
>            Priority: Trivial
>             Fix For: 1.4.1
>
>
> Steps to reproduce:
> 1) Run the stock tracker demo
> 2) Select GOOG
> 3) Add SLV
> 4) Add MCO
> 5) Sort by Value
> 6) Select GOOG
> 7) Add FORM
> Expected behavior:
> When you add a new ticker symbol, you expect either (a) the selection to be maintained, (b) the new symbol to be selected, or even (c) the selection to be lost or reset to the first row.  B is probably the best user experience.
> Actual behavior:
> The behavior of which row is selected when you add a new symbol differs as you add new symbols in the process above.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.