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

            Bug ID: 492941
           Summary: Fractional seconds formatter value (zzz) not being
                    read and applied to filename
    Classification: Applications
           Product: digikam
           Version: 8.4.0
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: AdvancedRename-file
          Assignee: digikam-bugs-n...@kde.org
          Reporter: kde.bugs@mattbaker.digital
  Target Milestone: ---

Created attachment 173526
  --> https://bugs.kde.org/attachment.cgi?id=173526&action=edit
Import view preview file name

SUMMARY

The fractional / sub seconds value of an image is not being read or applied to
the filename. For example, with a format code of [date:"yyyy-MM-dd
hh-mm-ss.zzz"], the zzz part is always 000 when displayed in the "New name"
column and when applying the rename operation.

Note however, when in Import view, the fractional seconds element is correctly
displayed in the example output field when selecting an image, but when
applying the format, the value also goes to 000.

STEPS TO REPRODUCE - Renamer View
1. Select image
2. Press F2 / Rename
3. Enter [date:"yyyy-MM-dd hh-mm-ss.zzz"] into format / name field

OBSERVED RESULT - Renamer View
All image names in "New Name" column are 000 where zzz format specifier is
used.

EXPECTED RESULT - Renamer View
The fractional seconds value is displayed and applied correctly.

-----

STEPS TO REPRODUCE - Import View
1. Import from a device
2. In the File Renaming Options section, enable Customise and set the field to
[date:"yyyy-MM-dd hh-mm-ss.zzz"]
3. Click on any of the images and observe the previewed name in the File
Renaming Options.

OBSERVED RESULT - Import View
Preview file name is correct with the zzz section showing fractional seconds,
but the actual import and rename process results in 000 for the zzz section of
the file name.

EXPECTED RESULT - Import View
Both previewed file name and actual file name match, and both have fractional
seconds correctly read from the file.

SOFTWARE/OS VERSIONS
Windows 10 22H2 19045.4529

digiKam
Build date: 2024-09-04 13:02 (target: RelWithDebInfo)
Revision: 933e4d03eddd94118a8dd16b134f571342bc9bc0
Branch: master


ADDITIONAL INFORMATION
Mentioned in https://bugs.kde.org/show_bug.cgi?id=492007#c7

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

Reply via email to