Bug #3082
GTK, blinking interfaces
Status: | New | Start date: | 05/31/2021 | ||
---|---|---|---|---|---|
Priority: | Normal | Due date: | |||
Assignee: | - | % Done: | 80% |
||
Category: | UI | Spent time: | - | ||
Target version: | 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
Related issues
History
#1 Updated by Alexey Lavrentev about 2 years ago
- File TXM-Ubuntu20.04.mp4 added
The same problem occurred with TXM 0.8.2 (under Ubuntu 20.4) after displaying Tiger Search sentence trees (cf. screen capture).
#2 Updated by Matthieu Decorde about 2 years ago
- Target version changed from TXM 0.8.4 to TXM 0.8.2
#3 Updated by Matthieu Decorde over 1 year ago
- Subject changed from GTK, shaking interfaces to GTK, blinking interfaces
- Description updated (diff)
#4 Updated by Matthieu Decorde over 1 year ago
- Description updated (diff)
- % Done changed from 0 to 10
#5 Updated by Matthieu Decorde over 1 year ago
- Description updated (diff)
#6 Updated by Matthieu Decorde over 1 year ago
- Description updated (diff)
- % Done changed from 10 to 30
#7 Updated by Sebastien Jacquot over 1 year ago
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 Updated by Matthieu Decorde over 1 year ago
- % Done changed from 30 to 80