change preset name

I have the following issue (DT 5.3.0 702):

I create a new preset, and give it a name. I apply the preset and the module name is changed accordingly with preset name. This is ok, as expected.

I change the name of the preset but the name of the module still contains the old name of the preset (I tried to restart DT, edit name in settings, change to another preset and then come back to my initial preset, still nothing) … Not expected.

I believe it is working as intended. When you are changing the preset in the module you are acting on the module, so the title reflects that. When you change the name of the preset the module does not have to know about it.

The name of the module is just a label, it does not have to be a preset name. The fact that changing the current preset renames the module instance is just a convenience. Once a style/preset is applied the module only knows about the values that it copied from it, it does not keep a reference to the underlying preset.

This is done on purpose so that you can change a preset without affecting all the module instances that used it in the past.

Edit: Apologies, I had clearly misunderstood the problem. I agree, that seems to be a bug.

What you say, it is ok, as expected, I think.

I mean something slightly different. What about this scenarios:

  1. reset module and apply again the preset with new name?
  2. apply preset with new name to another image?

What name do you expect: the old one or the new one? I would expect the new one …

I just tested your scenario on my windows install of DT 5.3 +670 and it selects and identifies the newly created preset as I would expect. I am not sure if a new bug has appeared in 5.3 +702. I will check the weekly build supplied in a couple of days.

Did you actually change something in the preset such as a slider value or just change the name by editing the preset and giving a new name? Regardless I can not replicate your described behaviour.

The way I edit presets is in the hamburger of the module itself. I am unsure what you mean by edit name in settings? I wonder if this could be where the problem lies?

I’m on Linux. I change only the name, no other settings in preset.

To be more clear, I do some screenshots.

I take agx as example. At the beginning, no preset applied
image

In the next step I apply the preset:

Name update, as expected.

Now I change the name of the preset (hamburger of the module itself), press OK:

Preset name updated, module name is not changed. As expected.

Now I reset the the module agx.
image

And apply the new preset:

Module name contains the old preset name. The same happens if I edit another image and try to apply the new agx preset …

Thanks @Terry for trying on Windows. Maybe someone else could try it also on Linux?

I can actually replicate this problem on Windows DT +670 if I follow your steps shown here. Seems a bug to me.

However, if I actually move a slider the old name disappears and I can create a new preset with correct naming.

Your problem can be resolved by changing the name of the preset through DT’s preferences options. But I agree it seems strange to me that the name doesn’t change when the preset is edited via the modules hamburger.

I am on MX linux (debian based)

I have had the same behavior since 5.0 (maybe longer…I did not try making presets until then). The only way to fix it has been to delete the preset and create a new one.

2 Likes

This has also been my experience and also for about the same length of time. Windows 11.

1 Like

That’s a bug (or more a non expected behavior never tested/reported), fixes is worked on:

6 Likes