darktable icon indicating copy to clipboard operation
darktable copied to clipboard

Improve and simplify preferences content

Open Nilvus opened this issue 6 years ago • 39 comments

Is your feature request related to a problem? Please describe.

darktable become more and more configurable on each release. Globally it's a good thing but we need to take care about not overload preferences. They're probably already a little bit. Saying that, it's hard to see which settings are surplus. Maybe all are welcomed and needed.

Said that, by checking settings, some are specific to a module and could be moved. For example, a setting for white balance and a setting for color balance. But maybe more could be moved.

This comes from previous discussion in some PR or issues like #6706, #7021 or #6704

Describe the solution you'd like

We already have some modules, in lighttable, with specific preferences like metadata editor or export ones. The idea would be to moved really specific settings to a module in the module.

That could simplify a little bit preferences window and so help finding remaining settings more quickly and at the same time, having specific settings of a module directly accessible in the module or part of lighttable.

We just need to be careful to only moved some specific settings. To avoid moving too much settings (that could be the risk), I think only some settings for a specific part of a darktable view could be moved. For example, moving settings for darkroom, it's no but moving a setting for a darkroom module, that could be yes as it's a specific part of the view and not related to the view or many parts of the view. Hope I'm clear here about the limit to fix.

The idea here is to discuss about that and see how that could be moved for next release. That could be for the next minor one 3.4.1 or next major one, depending on choices discussed.

Some settings I think they can be moved:

- In lighttable tab: delimiters for size categorise overlay txt sidecar over zoomed images

They can be moved in star overlays menu as they are related to information and display of thumbnail, visually, like all other options in star overlays menu.

- In darkroom tab: _ white balance slider colors_: could be moved in white balance module colorbalance slider block layout: could be moved in color balance module

Those are just ideas and could be changed/completed/updated, etc. It's all about discussing that and find the best way for a better experience. We need to remember some things for that discussion:

  • Avoid to have in the future an overloaded preferences window
  • Be sure all choices are consistent between them
  • Avoid having also too many places for settings (that's the main reason for my suggestion to limit setting to be moved to specific part of a view, cited above here)

@elstoc, @jenshannoschwalm, @TurboGit, @aurelienpierre, @AlicVB, @johnny-bit: your views are welcomed here.

Nilvus avatar Nov 24 '20 17:11 Nilvus

@Nilvus : first, I completely agree.

Now for the part I know the best :

  • overlay txt sidecar over zoomed images is not used anymore... good catch. Just done a PR to remove it.
  • delimiters for size categories : I would really prefer to remove that from pref and to put that in the overlay menu, but I'm not sure where, as currently all items of the menu are for the current size, and the above pref is to define the category of size... Maybe you have some idea ?

AlicVB avatar Nov 24 '20 18:11 AlicVB

I am not asked in the first place here, but here is my ideas:

  1. like other software, have an expert mode, which holds lots of advanced stuff and in normal mode it is hidden
  2. I do not opt for spreading prefs into the modules, that ends up in having the prefs spread all over the system.
  • hence have a module-specific tab in prefs where all module spefic thingies go into and can be grouped by module name

AxelG-DE avatar Nov 24 '20 18:11 AxelG-DE

* `overlay txt sidecar over zoomed images` is not used anymore... good catch. Just done a PR to remove it.

And one less. Great.

* `delimiters for size categories` : I would really prefer to remove that from pref and to put that in the overlay menu, but I'm not sure where, as currently all items of the menu are for the current size, and the above pref is to define the category of size... Maybe you have some idea ?

Not sure as I never use it and I'm quite sure few users will use it. I'm even not really sure myself of how to set them (tooltip is not clear). If I'm not wrong, you could choose just 2 limits of size for thumbnails and how to display them. If I'm not wrong, I see 2 possibilities. In both, add that with a sort of min/max instead of a separator to simplify and so add it on top of overlay menu, just before title to set it and so then have the options for current size set. But of course, that would need that part of the menu could be adjusted dynamically, independently of this first setting. I don't know if this is possible). The other way would be to add that setting in bottom bar, at the left of the combobox used to select thumbnail mode (culling, file navigator...)

Nilvus avatar Nov 24 '20 18:11 Nilvus

I am not asked in the first place here, but here is my ideas:

All views are welcomed!

1. like other software, have an expert mode, which holds lots of advanced stuff and in normal mode it is hidden

It's an idea, even if I don't like it. Having an expert mode for me is the risk to not limit settings and so overload preferences, even if we add it. And darktable is mainly made for users who want advanced possibilities to process their images. But it's just my opinion.

2. I do not opt for spreading prefs into the modules, that ends up in having the prefs spread all over the system.

That's why I write that we should limit that to few options for specific module. And if you look carefully darktable, you will see that they are already settings in many specific places like metadata editor, export module, color picker in darkroom, filmic rgb, etc. So, the idea is to only move some settings like those I write: one setting for a specific module could be on the module. No more.

At the opposite, for example, we have only 2 settings actually for map view but I would not move them outside preferences as it's not a specific part (module) of darktable).

* hence have a module-specific tab in prefs where all module spefic thingies go into and can be grouped by module name

That could also be an idea to discuss. Good catch. We also need to be careful to not multiply tabs too much but 1 or 2 more is ok.

Nilvus avatar Nov 24 '20 18:11 Nilvus

The problem with devising "a solution" is with discoverability of settings and place taken by them.

I took a look at current master preferences window and there's not so much settings IMO :)

And let's deal with individual problems and how to place them: Personally I'm no fan of "expert mode", it usually implies bad options design. Let's say that in my opinion darktable has expert mode via external text editor & edit of darktablerc :) Module specific settings are problematic, just look at mentioned wb or color balance settings: those are just single options. Having those settings directly in module, connected not with processing but with how module looks is imo wasting modue GUI (also wb & cb have "click header for fun time" easter egg way of changing that setting... but it's not easily discoverable). An option would be to further extend and complicate module ui code by allowing access to some menu... but then where? module headers have multi instance menu (not a place to deal with module ui option) and module preset menu (also not a place to put setting).

OK, so let me discuss settings per tab:

  • general - IMO no changes needed
  • import
    • whole import section is already in import options in import file/dir (except maybe rating). so if we could add rating to import dialog options this setting section is "repeat of what's available". I don't remember what controlls import metadata preset (metadata editor?) but it's a bit more work for documentation
    • whole session options is (can't check right now) repeat of tethering settings. so whole import tab out ;)
  • lighttable
    • first 3 and 5th settings are native to collect images modue and if i'm not mistaken there's an ongoing pr to sort it out
    • couple other settings (for presets for utility modules etc) should probably be in totally different "interface" tab, but it still has to be inside preferences option
    • the "delimiters..." option is necessary, however it's a bit hard to understand how to use it at first, but that's just a job for docs/better tooltip ;)
  • darkroom - would just need a bit of reorganization... and maybe some settings moved to generic "interface" tab?
  • other views - is almost empty... could work as generic catch-all for interface ;)
  • processing - is imo "perfect" but dunno
  • security - is imo "perfect"
  • cpu/gpu/memory - is a bit of hard tab ;) most settings there are autodetected.
  • miscellaneous
    • interface section could be moved to generic "interface" tab
    • tags could be chucked to tags module, but i have no opinion
    • multi-instance shortcuts should stay - the shortcuts tab is for assinging shortcuts and not for shortcut options
    • other
      • 1st april game - that setting should also depend on availability of said game, as i added compile option that disables game completely ;)
      • pass storage backend could be moved to either security or storage.
      • playing audio files is enabled only in lighttable, but that setting is security dependent so... dunno ;)

Overall what that gives us? IMO - just moving settings around and not really much limiting the size of settings ;)

johnny-bit avatar Nov 24 '20 19:11 johnny-bit

I know I suggested some of these things but I pretty much agree with @johnny-bit's summary. Probably a few little things that can be changed but most aren't particularly worth it and are just a case of moving things around amongst the tabs.

elstoc avatar Nov 24 '20 19:11 elstoc

I would suggest a "modules" tab that has two sections: "utility modules" and "processing modules". This tab could take some of the load from both the darkroom and lighttable tabs (since the "utility module" settings really don't belong on the lighttable tab anyway)

elstoc avatar Nov 24 '20 19:11 elstoc

I agree with the basic sentiment: Don't put too many details into the prefs.

I think that the preferences should only hold settings that are global or span multiple tools.

Anything specific to a certain tool belongs into the tool.

But: leave everything in the darktablerc so settings are still transferable and more important searchable by text. Having the presets as a database blob is already cumbersome enough.

@AlicVB .. why is txt overlay preference setting not needed anymore? Is it always displayed now?

@johnny-bit please let us move the "initial import rating" also to the import dialog away from settings. it is an evil metadata killer setting that needs to be out in the open where it happens.

grubernd avatar Nov 24 '20 19:11 grubernd

Anything specific to a certain tool belongs into the tool.

Again it's a question of discoverability (where to put it so that it's obvious) and space (don't increase the size of modules unnecessarily). So agree that where a module has lots of settings it makes sense to have a settings button. Otherwise prefs is the way to go. With processing modules, for example, most modules don't save settings from one image to the next, so it's a question of where to put a single option in a discoverable way so it's obvious that it's a persistent setting. I'm not sure I know a good answer.

elstoc avatar Nov 24 '20 19:11 elstoc

@grubernd : not needed anymore as overlays content are now configurable and sidecar_txt (don't remember the exact name) is among the available variables.

AlicVB avatar Nov 24 '20 20:11 AlicVB

The problem with devising "a solution" is with discoverability of settings and place taken by them.

I took a look at current master preferences window and there's not so much settings IMO :)

That's not my idea, just a thing to discuss ;-) The only thing I'm sure is that we have to be careful in the future to not multiply settings. Too many settings could kill the idea of settings ;-)!

Personally I'm no fan of "expert mode", it usually implies bad options design. Let's say that in my opinion darktable has expert mode via external text editor & edit of darktablerc :)

Good catch, we already have that expert mode with darktablerc file.

Module specific settings are problematic, just look at mentioned wb or color balance settings: those are just single options. Having those settings directly in module, connected not with processing but with how module looks is imo wasting modue GUI (also wb & cb have "click header for fun time" easter egg way of changing that setting... but it's not easily discoverable). An option would be to further extend and complicate module ui code by allowing access to some menu... but then where? module headers have multi instance menu (not a place to deal with module ui option) and module preset menu (also not a place to put setting).

Good point here for those 2 ones.

* general - IMO no changes needed

I agree.

* import
  
  * whole import section is already in import options in import file/dir (except maybe rating). so if we could add rating to import dialog options this setting section is "repeat of what's available". I don't remember what controlls import metadata preset (metadata editor?) but it's a bit more work for documentation

I totally agree too. That could be kept only in dialog windows.

  * whole session options is (can't check right now) repeat of tethering settings. so whole import tab out ;)

Hmm, I don't have access to tethering (no compatible camera) and so I have only session options in import tab, so needed to be kept in preferences but could be moved yes and merge with another tab (for example "other views" which have really few settings ; eventually by rename tab)

* lighttable
  
  * first 3 and 5th settings are native to collect images modue and if i'm not mistaken there's an ongoing pr to sort it out
  * couple other settings (for presets for utility modules etc) should probably be in totally different "interface" tab, but it still has to be inside preferences option

Yes, there's a PR (for 3th one): #6797

  * the "delimiters..." option is necessary, however it's a bit hard to understand how to use it at first, but that's just a job for docs/better tooltip ;)

At least yes, a better doc/tooltip is needed. But I think it could also be moved (but with the limit to better explicit it and I don't know how by now).

* darkroom - would just need a bit of reorganization... and maybe some settings moved to generic "interface" tab?

For this one, I disagree, all settings are good there (I don't talk here about the 2 module specific, my answer is above). This tab has been improved just few days ago by @TurboGit by splitting in 2 sections. That's already a good point but maybe we could improve it another way.

* cpu/gpu/memory - is a bit of hard tab ;) most settings there are autodetected.

So, do you mean to not kept this tab? I had previously posted an issue about updating settings (I closed it today): #5328

* miscellaneous
  
  * interface section could be moved to generic "interface" tab

Totally agree.

  * tags could be chucked to tags module, but i have no opinion

Good idea.

    * 1st april game - that setting should also depend on availability of said game, as i added compile option that disables game completely ;)

So could maybe be removed. But this bullshit game is some annoying than some old developers want to keep...

    * pass storage backend could be moved to either security or storage.
    * playing audio files is enabled only in lighttable, but that setting is security dependent so... dunno ;)

I think you point all things to be moved and yes, those settings could be moved to security tab. By also moving "interface" section in general tab, that would let place to move "other views" tab content and "session" section in "import" tab to that misc tab. That way, we just remove 2 tabs and make all tabs more consistent. Like that.

Overall what that gives us? IMO - just moving settings around and not really much limiting the size of settings ;)

Yes, mostly but the first word I put here is to "improve" preferences content. We are on it. And we have already on no more used option that @AlicVB see and removed already. And with your comment, we also quite few settings to remove (import ones) at least as they are already elsewhere.

The question remaining after that is who is ok to do that? Unfortunately, I put the proposal but don't have coding skills to do that.

Nilvus avatar Nov 24 '20 20:11 Nilvus

I had previously posted an issue about updating settings (I closed it today): #5328

Why had you closed it though? those settings do need an update and thinking :)

The question remaining after that is who is ok to do that?

Dunno, we'll see :) Please sum up what needs to be done - it's usually very easy to code if you know exactly what needs to be done rather than scan whole issue thread on github ;)

johnny-bit avatar Nov 24 '20 20:11 johnny-bit

about delimiters docs, a small proposal here : #7055 together with the removing of the sidecar txt one

AlicVB avatar Nov 24 '20 21:11 AlicVB

I'm also leaning toward an expert mode and for me all prefs at the same place seems better.

TurboGit avatar Nov 24 '20 22:11 TurboGit

Let's say that in my opinion darktable has expert mode via external text editor & edit of darktablerc :)

Amen

wpferguson avatar Nov 25 '20 03:11 wpferguson

Just a few ideas.

  1. If we have module-specific preferences we must make sure that these are handled good for styles, presets and copy&paste of history. One example leading to confusion is the exposure module.

  2. There are preferences because of 'we could not fully agree on how to implement' or 'are we really sure it works'. One example is the 'database' section. I think the default options are pretty good and will work fine in 99.9%. I would suggest to remove them all from the preference interface and leave it to 'expert mode' via text editor :-)

  3. What is the reason to have 'high quality thumb processing from size' and 'delimiters for size categories' expose as preference at all? I think they should be removed as a preference and at relevant code sections should use the 'prefer performance over quality' setting.

  4. Number of background threads? Also something that is not really necessary as a preference as the technical background is pretty clear.

jenshannoschwalm avatar Nov 25 '20 06:11 jenshannoschwalm

I had previously posted an issue about updating settings (I closed it today): #5328

Why had you closed it though? those settings do need an update and thinking :)

It's because this issue is no longer followed and you write here that settings are mostly autodetected. But ok, would be good to update them too (I think at least some things in that issue could already be updated from what had been discussed. They could be updated with that preferences update. I reopen the issue so!

Please sum up what needs to be done - it's usually very easy to code if you know exactly what needs to be done rather than scan whole issue thread on github ;)

I will do that soon, just waiting a little to see new feedback and then will propose a sum of our discussion.

Nilvus avatar Nov 26 '20 14:11 Nilvus

Just a few ideas.

1. If we have module-specific preferences we must make sure that these are handled good for styles, presets and copy&paste of history. One example leading to confusion is the exposure module.

The discussion quickly go to forget that idea of module-specific preferences.

2. There are preferences because of 'we could not fully agree on how to implement' or 'are we really sure it works'. One example is the 'database' section. I think the default options are pretty good and will work fine in 99.9%. I would suggest to remove them all from the preference interface and leave it to 'expert mode' via text editor :-)

I totally agree. Expert mode is (and could stay) darktablerc file and options like that do not need to stay in preferences.

3. What is the reason to have 'high quality thumb processing from size' and 'delimiters for size categories' expose as preference at all? I think they should be removed as a preference and at relevant code sections should use the 'prefer performance over quality' setting.

Those 2 settings are quite different. 'high quality thumb processing from size' have quite some options and difficult to remove them. And it's worse for 'delimiters for size categories' as it's not related to thumb quality but to different sizes for setting possibily different overlays with star menu icons. So could not be integrated with 'prefer performance over quality'

4. Number of background threads? Also something that is not really necessary as a preference as the technical background is pretty clear.

Related indeed to my #5328 issue and so, if no more necessary, should be removed.

Nilvus avatar Nov 26 '20 14:11 Nilvus

this issue is no longer followed and you write here that settings are mostly autodetected

The point of the issue was to actually figure out better autovalues for autodetecting, and let me assure you I am thinking about it, just haven't had time for it and with feature freeze comming i just chucked it to "I'll work on this for 3.6 or somebody smarter will pick it up earlier ;)"

waiting a little to see new feedback and then will propose a sum of our discussion.

:heart:

johnny-bit avatar Nov 26 '20 14:11 johnny-bit

My two cents.

If a preference is only related to a plugin I would like to see it in (close to) that module. I've coded some of them in that spirit, unfortunately in different ways, but that's the way we (I) learn: metadata (preferences button), tagging (different buttons to change the display), export selected (preferences button for exported metadata). I wanted to do the same for LUT 3D folder but I've failed to convince. Another one which is expected by some people is about image information (to select the information the user is interested in). The improvement I see is to have a consistent way to do so. And also to save space on the screen.

I suggest to add an optional entry at the bottom of the presets menu. Any candidate module could submit its preferences routine.

The specific plugin preferences can then been removed from global preferences.

phweyland avatar Dec 11 '20 20:12 phweyland