Bug #3008

Mis à jour par Matthieu Decorde il y a plus de 2 ans

The OpenSVGGraph.OpenSVGFile(file) code crash TXM on Ubuntu 20.04

It is used in the plotspecif macro

h3. Solution A

Replace OpenSVGGraph with OpenBrowser :
<pre>
import org.txm.rcp.commands.OpenBrowser
// ...
//display the graphic
if (display_chart) {
monitor.syncExec(new Runnable() {
@Override
public void run() { OpenBrowser.openfile(file.getAbsolutePath()) }
});
}
</pre>

h3. Solution B


* don't use GTK3
* or fix the opening code
* don't use the OpenSVGGraph.OpenSVGFile(file) in macros

Retour