New interface in darktable 2.7 (dev)

(Silvio) #91

Hello everyone,

DISCLAIMER:
I have never liked the old Darktable interface and especially its icons.
Therefore, my personal opinion is likely biased…

These past months, I have followed the commits in the Darktable’s GitHub web-page with great attention because of that.
I have tried Darktable several times in the past years, mostly on Windows 10, because I consider it more features completed compared to RawTherapee (no clone tool, no masks etc).
In the end, however, I have always sticked with RawTherapee because of its GUIs which I consider more attractive for my needs.

As regards this discussion, to make it short I am persuaded that:

  • You can always stick with the stable version;
  • You can code it yourself whatever it suits you and propose to the community;
  • You can hire someone to code it for you.

Needless to say, in an ideal world everything concerning the GUIs (icons, themes, shortcuts etc) should be configurable…
In practice, this takes a HUGE amount of time!
Users generelly strongly underestimate the time and skills needed for this task…
IMHO, It is impossible to satisfy everyone’s needs concerning the software interfaces!
Adobe Photoshop elements, for instance, has different workspaces: basic for beginners, expert etc
Just think at how much it is different a software for a smartphone (GUIs which are easy to navigate and no cluttered) and one for a Pc Desktop (GUIs with plenty of panels).

Let’s take an example such as LibreOffice [1] which has million of users and many private software companies working on it (Collabora, RedHat etc)
Andreas Kainz [2] is the designer of most of the new icons added these past months. His work on this taks is wonderful IMHO.
Lately, he worked hard on improving the Sifr Theme which has mono color icons [3].
He works as a volunteer, that is he is not officially paid by anyone but he delivers them just for fun, in his spare time.
If you take a look at his patreon web-page he has only 9 sustainers (patrons), which means 27 dollars a month whereas LibreOffice has millions of users all around the world…

In the long distant past, personally, I was a strong supporter of monochromatic icons with gray themes as background because I considered them much more professionals and also less distractive to work with.
I couldn’t believe why my older colleagues didn’t like them at all!
At present, I am much older and my sight is not as good as in the past. Funnily enough, now, I prefer icons with colors myself, not monochromatic ones!
For instance, now, I like very much the standard GUIs of Gimp [4] since I find it easier for me to work with: I can tell the difference of the different tools much more easily.

Thanks a lot indeed for your past comments: I have read them with great pleasure :slight_smile:

[1] https://www.libreoffice.org/
[2] https://www.patreon.com/user?u=10071325
[3] https://www.gnome-look.org/p/1012041/
[4] http://write.flossmanuals.net/gimp/interface-basics/

1 Like

#92

Hmm… It seems these icons are pngs located on my system in:
…\darktable\share\darktable\pixmaps\plugins\darkroom

Change the name of this folder and you effectively switch these icons off.

Simple. No need to write these out of the code at all. If you want the icons off by default then…

Well, I can’t imagine most of the dev’s don’t already know this

0 Likes

(gi.vi.23) #93

Thanks! Great look! Make the cursor bigger is a good choice, on the 2.6 version I have problems centering the cursor :slight_smile:

1 Like

(Gustavo Adolfo) #94

Do the screenshots below from Lightable and Darkroom show the new expected appearance of the new GUI? I’m bit confused specially regarding Darkroom, which seems to show two different types/sizes of fonts…

0 Likes

(Dominik Markiewicz) #95

I think it goes in wrong direction (at least, not in the direction I hoped it will go), sorry for that. I want to find a solution, not argue.

Anyway, I think, I found solution for the ‘missing icons’ problem. I can simply add:

background-image: url('path to module image');
background-repeat: no-repeat;
padding-left: 20px; //or something

on the #modulename #iop-panel-label.

Now, I cannot get ID of the specific module/iop AFAIK. I’ve hack this a bit using module->name() and it is working, so maybe I’ll write a few line of code in the next week.

2 Likes

#96

Nice one.

I don’t know if it’s beyond the scope of what you’re planning but it’d be ideal if the path part of the url could be taken from the css…

0 Likes

#97

I think some of the module names may be more of a problem in this regard. I mean, ‘contrast brightness saturation’ is a bit long winded isn’t it.

I’ve changed some of these by hacking the binaries but I don’t want to be doing that every time there’s a new version. So how about a way to change these names legitimately. A plugin name setting in darktablerc would be good.

0 Likes

(Aurélien Pierre) #98

And this works with which version of GTK ?

0 Likes

(darix) split this topic #99

A post was split to a new topic: Darktable Raster masks explained

0 Likes

(Dominik Markiewicz) #100

Tested only with 3.24.5 and 3.18. It works in both cases (except, It complains about min-width, min-height and :disabled pseudo class on 3.18). background-image with images url and background-repeat landed in GTK in 2011 according to the source code, so ~GTK v3.5.

0 Likes

#101

CSS has always been more capable than one would expect, even the older versions. I am sure that a lot more could be customized. :sunny:

0 Likes

#102

I’m testing DT 2.7 right now.
I’m looking at the CSS but I can’t find the style for the smaller text in the box:
Snipaste_2019-04-17_21-21-55

I thought was the condensed but changing the size doesn’t have any effect.

0 Likes

#103

I have this black borders around the dt window, is there a way to get rid of them? Are they a feature of the new design or a bug? They are even visible if dt is displayed full screen (f11)

0 Likes

#104

Settings Border around image…?

0 Likes

#105

I built the git master version for Windows and testing the GUI

I was getting Pango warnings about font “Roboto Condensed” not found, even if I have the font installed.
Looking in the darktable-elegant.css I found a possible bug (at least under Windows):

In Row 458:

font-stretch: condensed;
font-family: "Roboto Condensed","Segoe UI Condensed", "SF Pro Display", "Ubuntu Condensed", "Cantarell", sans-serif;

The font-stretch statement looks redundant to me. If I comment it, the font is loaded correctly.

Marco

0 Likes

#106

I can’t find anything in the settings??

0 Likes

#107

@matejmarti you can change the color using css. Don’t recall the name. It won’t visible if the color is the same as default bg color.

0 Likes

#108

image

0 Likes

(Martin Scharnke) #109

Try using the shortcut key ‘B’ - look in

settings/shortcuts/global/toggle panels collapsing controls

to see if this has been changed to something else

0 Likes

(Aurélien Pierre) #110

Well done then ! You can add specific CSS IDs in modules using gtk_widget_set_name(GTK_WIDGET(self->widget), "module-id") in the function void gui_init(dt_iop_module_t *self) of each IOP in src/iop. Then, style the label in CSS with #module-id #iop-panel-label {background-image: url(...);}

We are talking here about how GTK is able to understand CSS stylesheets, and I’m afraid there is little to be confident about. GTK is a nightmare.

The CSS uses the font size 1em which copies the OS-defined font size. So either tune the default desktop font size in your desktop environment, or set

*
{
  font-size: 0.9em;
}

in your custom CSS.

Key B and they disappear/reappear. It’s not a bug, it has always been like that. The new feature is you can optionaly hide them now.

exactly.

It is not redundant if Roboto, Segeo and SF Pro are not installed.

1 Like