Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove --launcher.GTK_version 2 from Archi.ini on Linux #393

Closed
Phillipus opened this issue Sep 1, 2018 · 2 comments
Closed

Remove --launcher.GTK_version 2 from Archi.ini on Linux #393

Phillipus opened this issue Sep 1, 2018 · 2 comments

Comments

@Phillipus
Copy link
Member

With reference to #391

Background

On Linux, Archi.ini contains the following entry:

--launcher.GTK_version
2

This is to force Archi to use GTK version 2 instead of the default version 3. This ensures that some UI features work (Undo/Redo animation, cell heights, for example).

This means that for the internal SWT Browser component to work some Linux distros (Ubuntu 18.04) may have to install libwebkitgtk-1.0.0:

sudo apt-get install libwebkitgtk-1.0.0

Problems

However, some distros no longer support libwebkitgtk-1.0.0 (Fedora 28, see #391).

Solution

If the entry is removed from Archi.ini then GTK version 3 is used and the SWT Browser component works without further user intervention (I tested this on Ubuntu 18.04 and Fedora 28).

Drawbacks

If Archi is running on Linux using GTK 3 then I have noticed these issues:

  • When renaming a model, concept, folder or view in the models tree the text cell editor height is too short. Possible solution is to increase height only on Linux.
  • The Undo/Redo animation no longer works causing a delay when performing Undo/Redo To see this - drag a box in a diagram view to a new position then select "Undo". Normally the box will slide back to it's first position. Using GTK 3 this does not happen, instead there is a delay which can make Archi seem sluggish. (This was also the case on Mac OS X, and the undo/redo animation feature was removed from Mac version.)

Fixes for Archi 4.3

  • Remove the --launcher.GTK_version entry from Archi.ini
  • Disable the Undo/Redo animations on Linux
@Phillipus
Copy link
Member Author

Also, another issue is that GTK 2 is discontinued. Eclipse itself should run in GTK3.

@Phillipus
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant