Bug 469114 - Add Advanced Rename Templates
Summary: Add Advanced Rename Templates
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: AdvancedRename-dialog (show other bugs)
Version: 8.1.0
Platform: unspecified All
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-28 19:24 UTC by michael2macdonald
Modified: 2023-04-28 21:48 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description michael2macdonald 2023-04-28 19:24:32 UTC
SUMMARY
Advanced Renaming is a powerful tool that allows the use of powerful regex, modifiers, and options. It can be used to perform complex operations and because of this, it can use very long or complex renaming rules. If you have created a complex naming rule, or multiple rules, as part of your workflow, it is important that you can save these rules and access them when you need to use them. A way to permanently save one or more rules or rule "templates" to be recalled at any time when performing an advanced renaming operation would be very useful.
Comment 1 Maik Qualmann 2023-04-28 19:34:08 UTC
In the multiple file renaming mode, a history is created (combo box). That is not enough?

Maik
Comment 2 michael2macdonald 2023-04-28 21:47:56 UTC
(In reply to Maik Qualmann from comment #1)
> In the multiple file renaming mode, a history is created (combo box). That
> is not enough?
> 
> Maik

While I don't know the exact behavior of the history, I have some concerns with using it.

First, input history is generally not permanent. Whether it gets overwritten over time or gets lost after an update/reinstall/etc, I would prefer that my renaming rules were saved in a more deliberate and safe location so that I know that as long my config folder and database are backed up, I won't have to rewrite my rules or find that random file I manually backed them up to.

I don't know where the history is stored or how the application treats that location in terms of importance (for example, is it stored in the .cache directory or the safer .config directory?). I also don't know if the history with my workflow rules will be overwritten if I use the renaming tool more than "X" times with different one-off renaming rules. Is there a history limit???

This brings me to my second concern. If the history limit is large or non-existent, my workflow rules will be difficult to find in the large history unless I only ever use my main workflow rules.