Bug #3082
GTK, blinking interfaces
Statut: | Closed | Début: | 31/05/2021 | |
---|---|---|---|---|
Priorité: | Normal | Echéance: | ||
Assigné à: | - | % réalisé: | 100% |
|
Catégorie: | UI | Temps passé: | - | |
Version cible: | TXM 0.8.2 |
Description
Some manipulations makes TXM interfaces blink. The bugs only happens to GTK3 and Ubuntu 20.04+
To reproduce 1¶
- Create a CA
- Open&Close the chart edition option dialog
- the interface is blinking when moving the mouse over the corpora area
To reproduce 2¶
- Create a specificity and open a chart of some lines OR Create a CA
- click in the chart -> the border border around the chart is shown
- place the mouse over the bar and don't move the pointer for some secs (time for the JFC tooltip to open ?)
- the interface is blinking when moving the mouse over the corpora area
Solution 0¶
- for 1) : in OpenJFCChartPropertiesEditor, do not wrap the dialog in SWT async and Swing.invokeLater : makes the dialog modal but the interface is no more broken
- for 2) : in CustomChartPanel, disable the tooltips for Linux only
Demandes liées
Historique
#1 Mis à jour par Alexey Lavrentev il y a environ 4 ans
- Fichier TXM-Ubuntu20.04.mp4 ajouté
The same problem occurred with TXM 0.8.2 (under Ubuntu 20.4) after displaying Tiger Search sentence trees (cf. screen capture).
#2 Mis à jour par Matthieu Decorde il y a presque 5 ans
- Version cible changé de TXM 0.8.4 à TXM 0.8.2
#3 Mis à jour par Matthieu Decorde il y a plus de 3 ans
- Sujet changé de GTK, shaking interfaces à GTK, blinking interfaces
- Description mis à jour (diff)
#4 Mis à jour par Matthieu Decorde il y a plus de 3 ans
- Description mis à jour (diff)
- % réalisé changé de 0 à 10
#5 Mis à jour par Matthieu Decorde il y a plus de 3 ans
- Description mis à jour (diff)
#6 Mis à jour par Matthieu Decorde il y a plus de 3 ans
- Description mis à jour (diff)
- % réalisé changé de 10 à 30
#7 Mis à jour par Sebastien Jacquot il y a plus de 3 ans
After some tests I confirm the issue is linked to Swing tooltips opening.
There was a suspicion of link to this Linux fix: https://forge.cbp.ens-lyon.fr/redmine/issues/2548 but it doesn't seem to be related with.
The issue https://forge.cbp.ens-lyon.fr/redmine/issues/2548 offers some solution but at high development cost.
In the source code there is some old test to use SWT tooltip instead of Swing/AWT toolitp. It may be an other way to fix this bug.
#8 Mis à jour par Matthieu Decorde il y a plus de 3 ans
- % réalisé changé de 30 à 80
#9 Mis à jour par Sebastien Jacquot il y a plus d'un an
- % réalisé changé de 80 à 100
#10 Mis à jour par Sebastien Jacquot il y a plus d'un an
- Statut changé de New à Closed