Linux: don’t like autohiding scrollbars?

If you are a Linux user which has problems with autohiding scrollbars that make it hard to select the last item in a table, tree or text control, you should try to set the environment variable GTK_OVERLAY_SCROLLING to 0 before launching the application. For SmartGit, open bin/smartgit.sh in a text editor and add the line

export GTK_OVERLAY_SCROLLING=0

before the last line.

SmartGit 18.2 does not start on (some) Linux systems

If SmartGit 18.2 does not start on your Linux while SmartGit 18.1 worked fine, the reason might be that 18.1 used GTK2 and 18.2 uses GTK3. Use following instructions to let SmartGit 18.2 use GTK2, too:

  1. if the directory ~/.local/share/smartgit exists, please delete it
  2. copy lib/org.eclipse.swt.gtk.linux.x86_64.jar from the SmartGit 18.1 installation to 18.2
  3. in bin/smartgit.sh remove the leading # from the line
    #export SWT_GTK3=0
  4. configure SmartGit to update the installation for new builds (Preferences, page SmartGit Updates, option Update SmartGit application in-place)
  5. ensure, that the installation is up-to-date (About dialog, page Information, click the button right beside the Version input field if enabled)

The tasks 2 and 3 you will need to do after each SmartGit update.

Buttons without selected state with Breeze-theme on KDE

If you are using a recent KDE version, e.g. with openSuSE Leap 42.2, you will notice that some toolbar buttons don’t show a selected (or toggled) state.

You can fix (or work-around) it, by opening the System Settings and selecting “Application Style” in the “Appearance” section. On the tab “GNOME Application Style (GTK)” you can find the options for selecting GTK themes:

If you select, e.g. “Adwaita”, and click “Apply”, SmartGit’s toolbar buttons will show their selected (or toggled) state: