[Bug 276450] New: Versioning cuts image filenames after the first '.'

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 276450] New: Versioning cuts image filenames after the first '.'

Bugzilla from mon.adresse.publique@gmail.com
https://bugs.kde.org/show_bug.cgi?id=276450

           Summary: Versioning cuts image filenames after the first '.'
           Product: digikam
           Version: 2.0.0
          Platform: Archlinux Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Versioning
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           2.0.0 (using Devel)
OS:                Linux

The automatic names generated by the versioning features assumes the first '.'
in the filename is the end of the basename. All subsequent characters are lost
in the new versions.

Reproducible: Always

Steps to Reproduce:
Edit a file called test.with.several.dots.jpg.
Save a new version.


Actual Results:  
The new version is called test.JPG.

Expected Results:  
The new version should be called something like test.with.several.dots_v2.jpg

This may not be an issue with standard filenames (ie "IMG_XXXX.JPG") but arises
with custom filenames. For instance, I like to have the lens model with
aperture in the filename, all pictures taken with a lens opening at f/2.8 are
affected.

Using the Archlinux AUR package digikam-git with kipi-plugins-git.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 276450] Versioning cuts image filenames after the first '.'

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=276450


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #1 from Gilles Caulier <caulier gilles gmail com>  2011-06-26 13:19:23 ---
Which versionning file naming logic is used in other photo-management program ?

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 276450] Versioning cuts image filenames after the first '.'

Bugzilla from mon.adresse.publique@gmail.com
In reply to this post by Bugzilla from mon.adresse.publique@gmail.com
https://bugs.kde.org/show_bug.cgi?id=276450





--- Comment #2 from barsanuphe <mon adresse publique gmail com>  2011-06-26 13:55:58 ---
I'm not sure since I only use Digikam.

I'd settle for any that doesn't eat part of the filename :).
A simple _v1.jpg, _v2.jpg suffix would be fine in my book.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 276450] Versioning cuts image filenames after the first '.'

Marcel Wiesweg
In reply to this post by Bugzilla from mon.adresse.publique@gmail.com
https://bugs.kde.org/show_bug.cgi?id=276450





--- Comment #3 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-07-14 17:41:25 ---
The precise observation is that for each newly generated filename, the part to
the next '.' is cut

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 276450] Versioning cuts image filenames after the first '.'

Marcel Wiesweg
In reply to this post by Bugzilla from mon.adresse.publique@gmail.com
https://bugs.kde.org/show_bug.cgi?id=276450


Marcel Wiesweg <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #4 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-07-14 17:43:35 ---
Git commit 481858207256d7eecc9d5a4ff93ad77ad2984844 by Marcel Wiesweg.
Committed on 14/07/2011 at 19:42.
Pushed by mwiesweg into branch 'master'.

When we have the basename and not a full filename, we should not replace
the suffix, but add the suffix.

BUG: 276450

M  +2    -1    NEWS    
M  +25   -1    libs/versionmanager/versionmanager.cpp    

http://commits.kde.org/digikam/481858207256d7eecc9d5a4ff93ad77ad2984844

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 276450] Versioning cuts image filenames after the first '.'

Gilles Caulier-4
In reply to this post by Bugzilla from mon.adresse.publique@gmail.com
https://bugs.kde.org/show_bug.cgi?id=276450

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |2.0.0

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel