Bug #3082

GTK, blinking interfaces

Added by Matthieu Decorde about 1 year ago. Updated 5 months ago.

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

TXM-Ubuntu20.04.mp4 (2.7 MB) Alexey Lavrentev, 07/20/2021 04:52 pm


Related issues

related to Bug #2548: Linux, focus bugs and conflict between the key events of ... New 04/11/2019
related to Bug #3235: GTK, blinking interfaces V2 New 05/31/2021

History

#1 Updated by Alexey Lavrentev about 1 year ago

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 11 months ago

  • Target version changed from TXM 0.8.3 to TXM 0.8.2

#3 Updated by Matthieu Decorde 7 months ago

  • Subject changed from GTK, shaking interfaces to GTK, blinking interfaces
  • Description updated (diff)

#4 Updated by Matthieu Decorde 7 months ago

  • Description updated (diff)
  • % Done changed from 0 to 10

#5 Updated by Matthieu Decorde 7 months ago

  • Description updated (diff)

#6 Updated by Matthieu Decorde 7 months ago

  • Description updated (diff)
  • % Done changed from 10 to 30

#7 Updated by Sebastien Jacquot 7 months 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 5 months ago

  • % Done changed from 30 to 80

Also available in: Atom PDF