Project

General

Profile

Actions

task #8716

closed

Configure taxeditor to run with GTK2 in linux

Added by Andreas Kohlbecker almost 5 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Priority13
Category:
taxeditor
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
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

Actions #1

Updated by Andreas Kohlbecker almost 5 years 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

Actions #2

Updated by Andreas Kohlbecker almost 5 years 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
Actions #3

Updated by Andreas Kohlbecker almost 5 years 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

Actions #4

Updated by Patrick Plitzner almost 5 years 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.

Actions #5

Updated by Andreas Kohlbecker almost 5 years 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?

Actions #6

Updated by Patrick Plitzner almost 5 years 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
Actions #7

Updated by Andreas Kohlbecker almost 5 years ago

  • Description updated (diff)
Actions #8

Updated by Andreas Kohlbecker over 4 years ago

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

Updated by Andreas Kohlbecker over 4 years ago

  • Target version changed from Release 5.13 to Release 5.14
Actions #10

Updated by Andreas Kohlbecker over 4 years ago

  • Target version changed from Release 5.14 to Release 5.15
Actions #11

Updated by Andreas Kohlbecker over 4 years ago

  • Target version changed from Release 5.15 to Release 5.18
Actions #12

Updated by Andreas Kohlbecker almost 4 years ago

  • Target version changed from Release 5.18 to Release 5.19
Actions #13

Updated by Andreas Kohlbecker over 3 years ago

  • Target version changed from Release 5.19 to Release 5.21
Actions #14

Updated by Andreas Kohlbecker over 3 years ago

  • Target version changed from Release 5.21 to Release 5.22
Actions #15

Updated by Andreas Kohlbecker over 3 years ago

  • Target version changed from Release 5.22 to Release 5.51
Actions #16

Updated by Andreas Kohlbecker over 2 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100

apparently fixed

Actions #17

Updated by Andreas Kohlbecker over 2 years ago

  • Target version changed from Release 5.51 to Release 5.12
Actions

Also available in: Atom PDF