Bug #1064
CA chart, JFC/Java2D, when reopening a CA editor after having changed the axis plan, the chart keeps the previous selected plan but the combo box is always reset to axis (1,2)
Statut: | Rejected | Début: | 17/10/2014 | |
---|---|---|---|---|
Priorité: | High | Echéance: | ||
Assigné à: | - | % réalisé: | 100% |
|
Catégorie: | Charts | Temps passé: | - | |
Version cible: | TXM 0.7.8 |
Description
What is the expected behavior in this case ? At this moment, if I remember well, we have decided that the chart view should be reset when closing an editor.
This bug is linked to the general separation of code that we need to do, i.e. move all rendering related code from the TXM result objects (CA, CAH, Progression, etc.) to the Charts Engine layer. (e.g. the problem with the CA is that the axis plan is stored inside the CA object itself)
This bug is also linked to the general discussion of results and editors persistence and result tree nodes reopening management.
At this moment a simple and temporary workaround should be to update the combox from the CA axis value to keep a coherent state.
Validation tests¶
- call CA
- change axis plan combo to "(2,3)"
- close the CA editor
- re-open the CA from the corpus view node
- the axis plan combo must be set to "(2,3)"
- call CAH
- compute rows from tool bar
- change the number of clusters
- close the CAH editor
- re-open the CAH from the corpus view node
- the CAH must be computed on rows and the number of clusters must be the same as modified before closing the editor
MD: OK Linux64
BP: OK, Ubuntu
SJ: OK, Win 7 x64
Historique
#1 Mis à jour par Sebastien Jacquot il y a presque 11 ans
- Description mis à jour (diff)
#2 Mis à jour par Sebastien Jacquot il y a presque 11 ans
- Version cible changé de TXM 0.7.6 à TXM 0.7.7
#3 Mis à jour par Sebastien Jacquot il y a presque 11 ans
- Statut changé de New à Feedback
#4 Mis à jour par Sebastien Jacquot il y a presque 11 ans
- % réalisé changé de 0 à 80
The temporary workaround has been implemented and the combo box selected entry is now updated from the CA object when reopening an editor.
#5 Mis à jour par Sebastien Jacquot il y a presque 11 ans
- % réalisé changé de 80 à 50
TODO: the problem is the same with CA tool bar: show columns/show rows and CAH tool bar: clusters number, compute rows, compute columns (these values are also stored inside the TXM result objects but should be externalized to the rendering layer. Maybe not for the CAH compute rows/cols which seems more some computing functions than some rendering hints, e.g. exporting result functionality needs these data?).
#6 Mis à jour par Sebastien Jacquot il y a presque 11 ans
- % réalisé changé de 50 à 80
The temporary workaround has been implemented for CA and CAH tool bars and the combo boxes selected entries are now updated from the CA/CAH object data when reopening an editor.
#7 Mis à jour par Matthieu Decorde il y a presque 11 ans
- Description mis à jour (diff)
#8 Mis à jour par Sebastien Jacquot il y a plus de 10 ans
- Description mis à jour (diff)
#9 Mis à jour par Matthieu Decorde il y a plus de 10 ans
- Description mis à jour (diff)
- % réalisé changé de 80 à 90
#10 Mis à jour par Sebastien Jacquot il y a plus de 10 ans
- Version cible changé de TXM 0.7.7 à TXM 0.7.8
Moved to 0.7.8 for the discussion about the expected behavior.
#11 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)
#12 Mis à jour par Sebastien Jacquot il y a plus de 9 ans
- Version cible changé de TXM 0.8.0a (split/restructuration) à TXM 0.7.8
#13 Mis à jour par Sebastien Jacquot il y a plus de 9 ans
- Sujet changé de RCP: 0.7.6, CA, JFC/Java2D, when reopening a CA editor after having changed the axis plan, the chart keeps the previous selected plan but the combo box is always reset to axis (1,2) à CA chart, JFC/Java2D, when reopening a CA editor after having changed the axis plan, the chart keeps the previous selected plan but the combo box is always reset to axis (1,2)
- % réalisé changé de 90 à 80
#14 Mis à jour par Sebastien Jacquot il y a plus de 9 ans
- Description mis à jour (diff)
#15 Mis à jour par Sebastien Jacquot il y a plus de 8 ans
- Statut changé de Feedback à Rejected
This issue is obsolete with the new preferences management. See: org.txm.core.preferences.TXMPreferences and abstract initializers.
#16 Mis à jour par Sebastien Jacquot il y a plus de 8 ans
- % réalisé changé de 80 à 100