Project

General

Profile

task #8716

Configure taxeditor to run with GTK2 in linux

Added by Andreas Kohlbecker 9 months ago. Updated about 2 months ago.

Status:
In Progress
Priority:
Priority13
Category:
taxeditor
Target version:
Start date:
11/21/2019
Due date:
% Done:

50%

Severity:
normal

Description

Der Taxeditor verwendet SWT in der Version 3.105.3.v20170228-0512 (Id: org.eclipse.swt, Version: 3.105.3.v20170228-0512) auf einem aktuellen Ubuntu (Bionic) ist GTK in der version 3.22.0 installiert (org.eclipse.swt.internal.gtk.version=3.22.30) und diese Version wird vom Taxeditor oder eclipse Neon auch verwendet.

Wenn man nach den Angaben von eclipse geht (Eclipse/SWT 3.0.x - 3.5.x: GTK+ 2.2.1 and its dependencies) sollte im Falle des Taxeditors aber GTK2 verwendet werden!

Siehe

https://www.eclipse.org/swt/faq.php#gtkstartup

oder

https://stackoverflow.com/questions/48467865/glib-critical-g-base64-encode-step-assertion-in-null-failed-problems-i#50630300

Das hat nichts mit den Dependencies der Targetplatform zu tun sondern mit der Konfiguration mit der der Editor im OS gestartet wird.
Bei den meisten Linuxen hat man die Wahl zwischen GTK2 und GTK3, nur wird der Taxeditor (wie Eclipse Neon auch) per Default mit GTK3 gestartet obwohl das laut eclipse nicht kompatibel ist.

Dieses Thema meinte ich. Gibt es Probleme wenn man auf GTK2 umstellt? Mit GTK3 hagelt es bei Start ja immer ERRORs.


the links provided in this E3 -> E4 migration ticket #6545 could potentially be helpful

Associated revisions

Revision 2279c433 (diff)
Added by Andreas Kohlbecker 9 months ago

ref #8716 setting GTK to version 2 in the product launcher configuration

History

#1 Updated by Andreas Kohlbecker 9 months ago

  • Status changed from New to In Progress
  • Assignee changed from Katja Luther to Andreas Kohlbecker
  • Priority changed from New to Priority13
  • Target version changed from Unassigned CDM tickets to Release 5.12

as documented in https://wiki.eclipse.org/SWT/Devel/Gtk/GtkVersion the gtk version can be set via

--launcher.GTK_version
3

in the *.ini file

#2 Updated by Andreas Kohlbecker 9 months ago

Andreas Kohlbecker wrote:

as documented in https://wiki.eclipse.org/SWT/Devel/Gtk/GtkVersion the gtk version can be set via

--launcher.GTK_version
3

in the *.ini file

Works! This effecively sets the gtk version to

org.eclipse.swt.internal.gtk.version=2.24.32

#3 Updated by Andreas Kohlbecker 9 months ago

  • Status changed from In Progress to Resolved
  • Assignee changed from Andreas Kohlbecker to Patrick Plitzner
  • % Done changed from 0 to 50

please report if you are having any problems due to the switch to GTK2

#4 Updated by Patrick Plitzner 8 months ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Patrick Plitzner to Andreas Kohlbecker

On my home desktop PC with Linux Mint, Cinnamon desktop I have no problems but I also did not have any problems before.

On my office PC with Lubuntu and LXDE I still get some GTK render errors in the error log while the editor is running.

#5 Updated by Andreas Kohlbecker 8 months ago

  • Assignee changed from Andreas Kohlbecker to Patrick Plitzner

Patrick Plitzner wrote:

On my home desktop PC with Linux Mint, Cinnamon desktop I have no problems but I also did not have any problems before.

On my office PC with Lubuntu and LXDE I still get some GTK render errors in the error log while the editor is running.

Which GTK version is being used on your home desktop PC with Linux Mint?

#6 Updated by Patrick Plitzner 8 months ago

  • Assignee changed from Patrick Plitzner to Andreas Kohlbecker

Andreas Kohlbecker wrote:

Patrick Plitzner wrote:

On my home desktop PC with Linux Mint, Cinnamon desktop I have no problems but I also did not have any problems before.

On my office PC with Lubuntu and LXDE I still get some GTK render errors in the error log while the editor is running.

Which GTK version is being used on your home desktop PC with Linux Mint?

This is what my Eclipse installation details say

org.eclipse.swt.internal.gtk.version=3.18.9

#7 Updated by Andreas Kohlbecker 8 months ago

  • Description updated (diff)

#8 Updated by Andreas Kohlbecker 7 months ago

  • Status changed from Feedback to In Progress
  • Target version changed from Release 5.12 to Release 5.13

#9 Updated by Andreas Kohlbecker 5 months ago

  • Target version changed from Release 5.13 to Release 5.14

#10 Updated by Andreas Kohlbecker 4 months ago

  • Target version changed from Release 5.14 to Release 5.15

#11 Updated by Andreas Kohlbecker about 2 months ago

  • Target version changed from Release 5.15 to Release 5.17

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)