https://bugs.kde.org/show_bug.cgi?id=439704

            Bug ID: 439704
           Summary: Rename the resource when putting it inside a bundle
           Product: krita
           Version: git master (please specify the git hash!)
          Platform: Mint (Ubuntu based)
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Resource Management
          Assignee: krita-bugs-n...@kde.org
          Reporter: tamtamy.tym...@gmail.com
  Target Milestone: ---

SUMMARY
When making a bundle, Krita should look at the "Name" of the resource and when
putting the resource inside the bundle, it should rename its filename to be
Name.suffix (with standard ' ' <-> '_').

It would ease some of the artists worries about weird resources names,
probably.

Desired effect:
1) Before: "Old_Name.kpp" with Name "New_Name" -> "New_Name.kpp"
2) Before: "Name (1).kpp" with Name "Name" -> "Name.kpp"
3) Before: "Name.0001.kpp" with Name "Name" -> "Name.kpp"

Why?
1) Artists were complaining about filenames that don't match their
expectations. It wouldn't be feasible to change the way we treat resources in
the resource folder now, but it would be good to have pretty names inside an
exported bundle.
2) It would allow PNG patterns to have correct names, I guess?
3) Names "Name (\d\d\d)" are copies of the resource, no point in repeating
them, I guess.
4) It will both resolve some and cause some name-filename issues (created: like
preset A renamed to B, then a preset B created, then the user wants to import
both; solved: preset A renamed to B, then a preset A created, user wants to
import both). I feel like nicer solution would be more desirable.

There is no danger that I see of "losing" any information because we don't care
about versioning of the resource on the bundle creator's system anyway.

SOFTWARE/OS VERSIONS
git hash: 13f04ca236

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to