Bug #1299
RCP: 0.7.7, Specificities table sorting does not keep the right selected table lines
Statut: | Closed | Début: | 05/04/2015 | |
---|---|---|---|---|
Priorité: | High | Echéance: | ||
Assigné à: | - | % réalisé: | 100% |
|
Catégorie: | UI / Interaction | Temps passé: | - | |
Version cible: | 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
Historique
#1 Mis à jour par Sebastien Jacquot il y a plus de 10 ans
- Description mis à jour (diff)
#2 Mis à jour par Sebastien Jacquot il y a plus de 10 ans
- Description mis à jour (diff)
#3 Mis à jour par Sebastien Jacquot il y a plus de 10 ans
- Description mis à jour (diff)
#4 Mis à jour par Sebastien Jacquot il y a plus de 10 ans
- Version cible changé de TXM 0.7.7 à TXM 0.7.8
#5 Mis à jour par Matthieu Decorde il y a environ 10 ans
- Version cible changé de TXM 0.7.8 à TXM 0.8.0a (split/restructuration)
#6 Mis à jour par Sebastien Jacquot il y a plus de 9 ans
- Description mis à jour (diff)
#7 Mis à jour par Sebastien Jacquot il y a plus de 9 ans
- Description mis à jour (diff)
#8 Mis à jour par Sebastien Jacquot il y a plus de 7 ans
- Version cible changé de TXM 0.8.0a (split/restructuration) à TXM 0.8.0
#9 Mis à jour par Matthieu Decorde il y a plus de 6 ans
- Version cible changé de TXM 0.8.0 à TXM 0.X.X
#10 Mis à jour par Serge Heiden il y a plus de 2 ans
- Priorité changé de Normal à High
- Version cible changé de TXM 0.X.X à TXM 0.8.3
#11 Mis à jour par Matthieu Decorde il y a plus de 2 ans
- Description mis à jour (diff)
- % réalisé changé de 0 à 80
#12 Mis à jour par Sebastien Jacquot il y a plus d'un an
- % réalisé changé de 80 à 100
#13 Mis à jour par Sebastien Jacquot il y a plus d'un an
- Statut changé de New à Closed