Bug #1299
RCP: 0.7.7, Specificities table sorting does not keep the right selected table lines
Status: | New | Start date: | 04/05/2015 | ||
---|---|---|---|---|---|
Priority: | High | Due date: | |||
Assignee: | - | % Done: | 80% |
||
Category: | UI / Interaction | Spent time: | - | ||
Target version: | TXM 0.8.3 |
Description
Specificities table sorting does not keep the right selected table lines.
Steps to reproduce¶
- create specificities table
- select the first line
- sort on some scores of some parts
- the selected line changes
It seems important to keep the original selection because at this moment the sort and selection is the only way to get the more specific tokens of a partition.
Other note: we may implement a command to directly get the barplot and/or table for all tokens with score above/below the banality preference ? (asked by some people here)
[Edit] About this note, see point B of issue: http://forge.cbp.ens-lyon.fr/redmine/issues/1570.
If point B is implemented, the chart can easily be generated by CTRL + A and right click.
We also may add an option in chart preferences to generate only the bars in the current banality range in addition to normal behavior (display all bars and banality threshold lines).
Solution¶
before sorting:- retrieve current selection indexes
- build&store the corresponding rownames list
- retrieve the new rownames list (new order)
- build the new selection indexes
- apply selection when the lines are reloaded
History
#1 Updated by Sebastien Jacquot about 8 years ago
- Description updated (diff)
#2 Updated by Sebastien Jacquot about 8 years ago
- Description updated (diff)
#3 Updated by Sebastien Jacquot about 8 years ago
- Description updated (diff)
#4 Updated by Sebastien Jacquot about 8 years ago
- Target version changed from TXM 0.7.7 to TXM 0.7.8
#5 Updated by Matthieu Decorde over 7 years ago
- Target version changed from TXM 0.7.8 to TXM 0.8.0a (split/restructuration)
#6 Updated by Sebastien Jacquot over 7 years ago
- Description updated (diff)
#7 Updated by Sebastien Jacquot about 7 years ago
- Description updated (diff)
#8 Updated by Sebastien Jacquot almost 5 years ago
- Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0
#9 Updated by Matthieu Decorde about 4 years ago
- Target version changed from TXM 0.8.0 to TXM X.X
#10 Updated by Serge Heiden 4 months ago
- Priority changed from Normal to High
- Target version changed from TXM X.X to TXM 0.8.3
#11 Updated by Matthieu Decorde 3 months ago
- Description updated (diff)
- % Done changed from 0 to 80