Re: [darktable-dev] Current git display awry

2017-07-06 Thread Tobias Ellinghaus
Am Donnerstag, 6. Juli 2017, 10:43:48 CEST schrieb Tobias Ellinghaus:
> Am Donnerstag, 6. Juli 2017, 08:51:59 CEST schrieb Terry Duell:
> > Hello Tobias,
> > 
> > On Wed, 05 Jul 2017 17:07:02 +1000, Tobias Ellinghaus  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...
> 
> I think I know what's broken (it was actually me ...). I'll fix it soonish.
> Thanks for reporting.

Should be fixed now.

commit 27df7c1993f0f6a93d66fbb2eeda17671e09403c
Author: Tobias Ellinghaus 
AuthorDate: Thu Jul 6 10:57:36 2017 +0200
Commit: Tobias Ellinghaus 
CommitDate: Thu Jul 6 10:57:36 2017 +0200

Fix GTK theme selection when installing

This got broken in 0b01ba62340c0510b413a4581df152b08a32c932.

> [...]
> 
> > Cheers,
> 
> Tobias



signature.asc
Description: This is a digitally signed message part.


Re: [darktable-dev] Current git display awry

2017-07-05 Thread Urs Schütz

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

Hello Tobias,

On Wed, 05 Jul 2017 17:07:02 +1000, Tobias Ellinghaus  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



Re: [darktable-dev] Current git display awry

2017-07-05 Thread Terry Duell

Hello Tobias,

On Wed, 05 Jul 2017 17:07:02 +1000, Tobias Ellinghaus  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,
--
Regards,
Terry Duell
___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev] Current git display awry

2017-07-05 Thread Tobias Ellinghaus
Am Dienstag, 4. Juli 2017, 19:32:37 CEST schrieb Patrick Shanahan:
> * Terry Duell  [07-04-17 19:07]:
> > Hello,
> > I just built the current master, using my usual method (rpmbuild on fedora
> > 25), and find that the display is close to unusable.
> > Large fonts and icons and quite wide red borders.
> > I should have grabbed a screenshot, but have since reverted to a build
> > from
> > about a week ago.
> > I can re-install this build and get a screenshot if it is really needed to
> > understand the problem.
> > Is this likely to be something I have caused?
> 
> most of the dev's are asleep now.  from what I have observed, you have a
> gtk problem.  did you clean your build system first?  do you have a
> recent gtk change?

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.

> hope this helps.
> 
> ps: darix does builds on openSUSE's build service and I believe he
> includes a fedora rpm.  you could check.  I use his openSUSE builds.

Tobias

signature.asc
Description: This is a digitally signed message part.


Re: [darktable-dev] Current git display awry

2017-07-04 Thread Patrick Shanahan
* Terry Duell  [07-04-17 19:07]:
> Hello,
> I just built the current master, using my usual method (rpmbuild on fedora
> 25), and find that the display is close to unusable.
> Large fonts and icons and quite wide red borders.
> I should have grabbed a screenshot, but have since reverted to a build from
> about a week ago.
> I can re-install this build and get a screenshot if it is really needed to
> understand the problem.
> Is this likely to be something I have caused?

most of the dev's are asleep now.  from what I have observed, you have a
gtk problem.  did you clean your build system first?  do you have a
recent gtk change?

hope this helps.

ps: darix does builds on openSUSE's build service and I believe he
includes a fedora rpm.  you could check.  I use his openSUSE builds.
-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
Registered Linux User #207535@ http://linuxcounter.net
Photos: http://wahoo.no-ip.org/piwigo   paka @ IRCnet freenode
___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org