script_manager - new UI for darktable 4.8

script_manager’s user interface has changed in darktable 4.8 in an effort to be more consistent with the darktable UI.

This is what it will look like:

smui

hovering over a script name will provide metadata if available:

If no metadata is available, then the tooltip will revert to the current behavior (display second comment block in the file or no documentation available).

If you are on master, you can test this starting later today.

11 Likes

Wow excellent work!

3 Likes

Thanks. Some credit goes to @Pascal_Obry for raising the issue and giving me some ideas.

2 Likes

Looks modern and clean. Nice work!

1 Like

@wpferguson , using a small font the on/off icons ( ~/.config/darktable-dev/lua/data/icons/path20.png ) are too big (see screenshot).

script-manager

Running dt with GTK_DEBUG=interactive I tried to determine the name of the GTK object to scale the icons down a bit using user.css. Unfortunately, I could not find a name for these objects. Could you please give me a hint on how to scale down the icons using CSS.

Downscaling the image files ~/.config/darktable-dev/lua/data/icons/path20.png and ~/.config/darktable-dev/lua/data/icons/blank20.png with GIMP works in principle, but I’m afraid it’s not a sustainable approach.

Here’s the css from darktable.css

/* ??? TO BE REMOVED ON DT 5.0 : script_manager power button */
button#pb_off
{
opacity: 0.5;
}
button#pb_on
{
opacity: 1.0;
}
label#pb_label
{
padding-left: .5em;
}

1 Like