On 07/05/17 19:51, Terry Duell wrote:
Hello Tobias,

On Wed, 05 Jul 2017 17:07:02 +1000, Tobias Ellinghaus <m...@houz.org> wrote:

As Patrick said, the red borders are our hint that GTK wasn't able to load the theme file. The first thing to check would be the presence of a darktable.css in ~/.config/darktable/. If that file doesn't exist you should clean out your build/ folder and try compilation again. If you still see the red borders I'd like you to start darktable from a console and paste the messages printed
there. Oh, and please tell us what version of gtk3 you have installed.

No darktable.css in ~/.config/darktable/. but it is installed in usr/share/darktable/.
A rebuild gives the same result.
Starting from a console gives the following messages...

[terry@localhost ~]$ darktable &
[1] 18222
[terry@localhost ~]$
(darktable:18222): Gtk-WARNING **: Theme parsing error: darktable.css:21:14: Using Pango syntax for the font: style property is deprecated; please use CSS syntax

(darktable:18222): Gtk-WARNING **: Theme parsing error: darktable.css:36:26: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(darktable:18222): Gtk-WARNING **: Theme parsing error: darktable.css:206:28: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(darktable:18222): Gtk-WARNING **: Theme parsing error: darktable.css:371:50: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(darktable:18222): Gtk-WARNING **: Theme parsing error: darktable.css:372:37: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(darktable:18222): Gtk-WARNING **: Theme parsing error: darktable.css:442:30: The style property GtkWidget:wide-separators is deprecated and shouldn't be used anymore. It will be removed in a future version

(darktable:18222): Gtk-WARNING **: Theme parsing error: darktable.css:443:30: The style property GtkWidget:separator-width is deprecated and shouldn't be used anymore. It will be removed in a future version

(darktable:18222): Gtk-WARNING **: Theme parsing error: darktable.css:444:31: The style property GtkWidget:separator-height is deprecated and shouldn't be used anymore. It will be removed in a future version dt_gui_gtk_init: error parsing /usr/share/darktable/darktable.css: darktable.css:21:8not a number

My system has gtk3-3.22.16-1.fc25 installed.

Cheers,

I had to change line 21 of /opt/darktable/share/darktable/darktable.css from
"font: Sans 8;" to " font: 8pt Sans;" to get it working.
My system has gtk3-3.22.15 installed.

$ diff /opt/darktable/share/darktable/darktable.css /usr/local/src/darktable/build/data/darktable.css
21c21
<   font: 8pt Sans;
---
>   font: Sans 8;
___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to