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”?
@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.
According to DistroWatch.com: 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.
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:
Close RawTherapee.
Update your system and reinstall RT (no need for console output here).
which rawtherapee
ldd "$(which rawtherapee)"
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
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.
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 $
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.
@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.
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.