Bug #3235

GTK, blinking interfaces V2

Ajouté par Matthieu Decorde il y a plus de 3 ans.

Statut:New Début:31/05/2021
Priorité:Normal Echéance:
Assigné à:- % réalisé:

0%

Catégorie:UI Temps passé: -
Version cible:TXM 0.8.4

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

restore :
  • 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

fix the Swing blink

TXM-Ubuntu20.04.mp4 (2,74 Mo) Alexey Lavrentev, 20/07/2021 16:52


Demandes liées

lié à Bug #3082: GTK, blinking interfaces Closed 31/05/2021
lié à Bug #2548: Linux, focus bugs and conflict between the key events of ... New 11/04/2019

Formats disponibles : Atom PDF