Bug #3235

GTK, blinking interfaces V2

Added by Matthieu Decorde about 1 year ago.

Status:New Start date:05/31/2021
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:UI Spent time: -
Target version: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.7 MB) Alexey Lavrentev, 07/20/2021 04:52 pm


Related issues

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

Also available in: Atom PDF