Rawtherapee 5.4 on Ubuntu 18.04 - theme issue?

(Peter Lavender) #1

Hi Everyone,

Just updated my laptop to Ubuntu 18.04 (got a little impatient) and after fixing the usual things you need to, I started RT (Nightly build) and find the following in the terminal:

(rawtherapee:19908): Gtk-WARNING **: 21:39:32.885: Theme parsing error: TooWaBlue-GTK3-_19.css:875:54: The :insensitive pseudo-class is deprecated. Use :disabled instead.

And the general layout of the UI is really… well “off”?

(Morgan Hardwood) #2

@plaven Your RT is not using any of our themes, probably because of the theme parsing error. Which version of GTK+ you’re using?
Make sure you try going to Preferences and (re-)selecting a theme.
Ping @TooWaBoo


This is only a warning and should not affect the theme in any way.
To make sure I’m right test this modified version, please.
TooWaBlueTest-GTK3-_19.css.txt (20,9 KB)
Remove .txt from the file name.

(Peter Lavender) #4

Hi Morgan,

Thanks for the reply, I’ve selected Rawtherapee and restarted, same issue withe the layout, then selected TawooBlue, and it did the same.

I’m not sure what version of gtk+, I think it’s 3.22.40:

ii libgtk-3-dev:amd64 3.22.30-1ubuntu1 amd64 development files for the GTK+ library



Your Gtk3-Version is <3.20. I don’t think your problem is related to the themes itself.

(Morgan Hardwood) #6

According to https://distrowatch.com/table.php?distribution=ubuntu Ubuntu 18.04 uses GTK+ 3.22.30.
I just compiled RT using GTK+ 3.22.30 and there were no issues, tested all the themes.


But @plaven gets a warning of the …19.css-theme. Could it be that RT can’t recognize the correct Gtk version?

(Morgan Hardwood) #8

My guess was that perhaps he used a backup options file from an old version which used <=3.18, so I suggested re-setting the theme from Preferences. Let’s try this again.

@plaven please do the following, and paste the full console output from point 2 till the end:

  1. Close RawTherapee.
  2. Update your system and reinstall RT (no need for console output here).
  3.  which rawtherapee
  4.  ldd "$(which rawtherapee)"
  5.  find ~/.config/RawTherapee* -iname "options"
     # it should show only the "options" file. If that's the case then delete it:
     find ~/.config/RawTherapee* -iname "options" -delete
  6. Run RawTherapee from the console:

(Peter Lavender) #9

Hi Morgan,

Apologies for the delay, been long days at work, and I’m not sure the state of my laptop is all that great after up the date from Gnome Ubuntu16.04 to 18.04.

Anyway, as requested:

pete@kanga~/rt $
pete@kanga~/rt $ which rawtherapee
pete@kanga~/rt $ ldd “$(which rawtherapee)”
linux-vdso.so.1 (0x00007ffcd30f4000)
libcanberra-gtk3.so.0 => /usr/lib/x86_64-linux-gnu/libcanberra-gtk3.so.0 (0x00007f32a8666000)
libcanberra.so.0 => /usr/lib/x86_64-linux-gnu/libcanberra.so.0 (0x00007f32a8454000)
libgtk-3.so.0 => /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 (0x00007f32a7b4d000)
libgdk-3.so.0 => /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 (0x00007f32a7857000)
libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f32a7603000)
libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f32a72ed000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f32a70bb000)
libfftw3f.so.3 => /usr/lib/x86_64-linux-gnu/libfftw3f.so.3 (0x00007f32a6cae000)
libfftw3f_omp.so.3 => /usr/lib/x86_64-linux-gnu/libfftw3f_omp.so.3 (0x00007f32a6aa7000)
libgiomm-2.4.so.1 => /usr/lib/x86_64-linux-gnu/libgiomm-2.4.so.1 (0x00007f32a66fc000)
libglibmm-2.4.so.1 => /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1 (0x00007f32a647c000)
libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007f32a6276000)
libgtkmm-3.0.so.1 => /usr/lib/x86_64-linux-gnu/libgtkmm-3.0.so.1 (0x00007f32a5b28000)
libatkmm-1.6.so.1 => /usr/lib/x86_64-linux-gnu/libatkmm-1.6.so.1 (0x00007f32a58de000)
libgdkmm-3.0.so.1 => /usr/lib/x86_64-linux-gnu/libgdkmm-3.0.so.1 (0x00007f32a568d000)
libpangomm-1.4.so.1 => /usr/lib/x86_64-linux-gnu/libpangomm-1.4.so.1 (0x00007f32a5460000)
libcairomm-1.0.so.1 => /usr/lib/x86_64-linux-gnu/libcairomm-1.0.so.1 (0x00007f32a523b000)
libiptcdata.so.0 => /usr/lib/libiptcdata.so.0 (0x00007f32a502f000)
libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007f32a4dc7000)
liblcms2.so.2 => /usr/lib/x86_64-linux-gnu/liblcms2.so.2 (0x00007f32a4b6f000)
libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007f32a494a000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f32a472d000)
libtiff.so.5 => /usr/lib/x86_64-linux-gnu/libtiff.so.5 (0x00007f32a44b6000)
liblensfun.so.0 => /usr/lib/liblensfun.so.0 (0x00007f32a429b000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f32a3f0d000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f32a3b6f000)
libgomp.so.1 => /usr/lib/x86_64-linux-gnu/libgomp.so.1 (0x00007f32a393f000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f32a3727000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f32a3508000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f32a3117000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f32a2dde000)
libvorbisfile.so.3 => /usr/lib/x86_64-linux-gnu/libvorbisfile.so.3 (0x00007f32a2bd6000)
libtdb.so.1 => /usr/lib/x86_64-linux-gnu/libtdb.so.1 (0x00007f32a29c0000)
libltdl.so.7 => /usr/lib/x86_64-linux-gnu/libltdl.so.7 (0x00007f32a27b6000)
libgmodule-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007f32a25b2000)
libpangocairo-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 (0x00007f32a23a5000)
libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007f32a2195000)
libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f32a1f8f000)
libcairo-gobject.so.2 => /usr/lib/x86_64-linux-gnu/libcairo-gobject.so.2 (0x00007f32a1d86000)
libcairo.so.2 => /usr/lib/x86_64-linux-gnu/libcairo.so.2 (0x00007f32a1a69000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0 (0x00007f32a1845000)
libatk-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0 (0x00007f32a161f000)
libatk-bridge-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0 (0x00007f32a13ee000)
libepoxy.so.0 => /usr/lib/x86_64-linux-gnu/libepoxy.so.0 (0x00007f32a10ed000)
libpangoft2-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 (0x00007f32a0ed7000)
libpango-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0 (0x00007f32a0c8a000)
libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f32a0a45000)
libgio-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007f32a06a7000)
libXinerama.so.1 => /usr/lib/x86_64-linux-gnu/libXinerama.so.1 (0x00007f32a04a4000)
libXrandr.so.2 => /usr/lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007f32a0299000)
libXcursor.so.1 => /usr/lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007f32a008f000)
libXcomposite.so.1 => /usr/lib/x86_64-linux-gnu/libXcomposite.so.1 (0x00007f329fe8c000)
libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007f329fc89000)
libxkbcommon.so.0 => /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0 (0x00007f329fa4a000)
libwayland-cursor.so.0 => /usr/lib/x86_64-linux-gnu/libwayland-cursor.so.0 (0x00007f329f842000)
libwayland-egl.so.1 => /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1 (0x00007f329f640000)
libwayland-client.so.0 => /usr/lib/x86_64-linux-gnu/libwayland-client.so.0 (0x00007f329f431000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f329f21f000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f329f017000)
libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f329ee0f000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f329eb9d000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f329e977000)
libjbig.so.0 => /usr/lib/x86_64-linux-gnu/libjbig.so.0 (0x00007f329e769000)
/lib64/ld-linux-x86-64.so.2 (0x00007f32a886b000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f329e565000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f329e33d000)
libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007f329e112000)
libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007f329df09000)
libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f329dc55000)
libpixman-1.so.0 => /usr/lib/x86_64-linux-gnu/libpixman-1.so.0 (0x00007f329d9b0000)
libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f329d77e000)
libxcb-shm.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007f329d57b000)
libxcb-render.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007f329d36e000)
libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f329d164000)
libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f329cf17000)
libatspi.so.0 => /usr/lib/x86_64-linux-gnu/libatspi.so.0 (0x00007f329cce7000)
libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f329ca49000)
libthai.so.0 => /usr/lib/x86_64-linux-gnu/libthai.so.0 (0x00007f329c840000)
libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f329c618000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f329c3fd000)
libmount.so.1 => /lib/x86_64-linux-gnu/libmount.so.1 (0x00007f329c1a9000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f329bfa5000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f329bd9f000)
libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f329bb1b000)
libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f329b8ee000)
libdatrie.so.1 => /usr/lib/x86_64-linux-gnu/libdatrie.so.1 (0x00007f329b6e7000)
libblkid.so.1 => /lib/x86_64-linux-gnu/libblkid.so.1 (0x00007f329b49a000)
libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f329b285000)
liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f329b069000)
libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f329ad4e000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f329ab47000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f329a932000)
pete@kanga~/rt $
pete@kanga~/rt $ find ~/.config/RawTherapee* -iname “options”

Note that I’ve compiled RT from git most times.

I’ve run both the installed version of RT with the distro and from git and it’s the same outcome.

I’ll remove the options files and try again.

(Peter Lavender) #10

Done, and still getting the same errors, but not as many:

pete@kanga~/rt $ rawtherapee

(rawtherapee:6679): Gtk-WARNING **: 16:13:02.379: Theme parsing error: RawTherapee-GTK3-_19.css:112:44: The style property GtkProgressBar:min-vertical-bar-width is deprecated and shouldn’t be used anymore. It will be removed in a future version

(rawtherapee:6679): Gtk-WARNING **: 16:13:02.379: Theme parsing error: RawTherapee-GTK3-_19.css:113:47: The style property GtkProgressBar:min-horizontal-bar-height is deprecated and shouldn’t be used anymore. It will be removed in a future version

(rawtherapee:6679): Gtk-WARNING **: 16:13:02.379: Theme parsing error: RawTherapee-GTK3-_19.css:141:27: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(rawtherapee:6679): Gtk-WARNING **: 16:13:02.379: Theme parsing error: RawTherapee-GTK3-_19.css:149:27: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(rawtherapee:6679): Gtk-WARNING **: 16:13:02.379: Theme parsing error: RawTherapee-GTK3-_19.css:216:20: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(rawtherapee:6679): Gtk-WARNING **: 16:13:02.379: Theme parsing error: RawTherapee-GTK3-_19.css:216:47: The :insensitive pseudo-class is deprecated. Use :disabled instead.
pete@kanga~/rt $

(Morgan Hardwood) #11

@plaven and what does this say?

ls -l /usr/lib/x86_64-linux-gnu/libgtk-3.so*

(Peter Lavender) #12

pete@kanga~ $ ls -l /usr/lib/x86_64-linux-gnu/libgtk-3.so*
lrwxrwxrwx 1 root root 21 Apr 17 10:23 /usr/lib/x86_64-linux-gnu/libgtk-3.so -> libgtk-3.so.0.2200.30
lrwxrwxrwx 1 root root 21 Apr 17 10:23 /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 -> libgtk-3.so.0.2200.30
-rw-r–r-- 1 root root 7346616 Apr 17 10:23 /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.2200.30

(Morgan Hardwood) #13

So your RT is using GTK+ 3.22.30, and yet it wants to load the theme for GTK+ <=3.18.

Ping @Hombre

Anyone else on Ubuntu 18.04 experiencing this?

Please contact the package maintainer and report the problem to them. The contact details will either be on our website in the Downloads > Ubuntu section, or use one of the Ubuntu package management tools to find who that is.

(Morgan Hardwood) #14

Could you:

sudo updatedb
locate --regex "RawTherapee-GTK3-.*css"

and also edit your options file while RT is closed (probably in ~/.config/RawTherapee/options), set:


then try running RT again?

(Peter Lavender) #15

Hey Morgan,

OK, so this is interesting, I make the changes to the options file as suggested, save and start up RT.

Same issue with the warnings in the console, but they complain about GTK 3.19:

Gtk-WARNING **: 09:42:57.109: Theme parsing error: RawTherapee-GTK3-_19.css:113:47

Quitting RT and then looking at the options file again and it has reset the Theme from 3.20_ to 3._19!

I’m still having major issues with the current install, but I’m not convinced it’s related to this issue…

(Peter Lavender) #16

For some reason I thought this issue affected dev from git too, but just did a pull and build and it’s working fine!

(Peter Lavender) #17

Sorry for the spam, but in case it matters, when running the dev version, the options file is updated to reflect the new GTK:


(Jean-Christophe) #18

@plaven I don’t know if you think about doing it, but once you update your toolchain, you have to re-cmake the project so that it create the correct defines in the makefiles. The only reason that could lead to the initial problem is having a wrong GTK_MINOR_VERSION value, because the project has not been re-cmaked.

Ping @Morgan_Hardwood

(Peter Lavender) #19

Hi Everyone,

Just a quick update. Given the woeful state of my laptop after the upgrade from Gnome Unbuntu 16.04 to Ubuntu 18.04, I’ve installed Manjaro Linux - because why not learn a new distro at the same time?.

Any issues previously seen are now gone. No issues or errors with the theme parsing in the terminal.

This is the packane supplied RT:

Version: 5.4
Branch: releases
Commit: a5e8eb9c
Commit date: 2018-03-20
Compiler: cc 7.3.1
Processor: x86_64
System: Linux
Bit depth: 64 bits
Gtkmm: V3.22.2
Lensfun: V0.3.2.0
Build type: Release
Build flags: -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -std=c++11 -Werror=unused-label -fopenmp -Werror=unknown-pragmas -Wall -Wno-unused-result -Wno-deprecated-declarations -O3 -DNDEBUG -ftree-vectorize
Link flags: -Wl,-O1,–sort-common,–as-needed,-z,relro,-z,now
OpenMP support: ON
MMAP support: ON

The issues I was previously seeing could very well be related to a less than clean transition with the upgrade.