linuxmint / pix

Image management application
GNU General Public License v2.0
205 stars 43 forks source link

Renaming several picture files with a date pattern is aberrant #188

Open Curius16 opened 1 year ago

Curius16 commented 1 year ago

Distribution

Mint 21.2

Package version

3.0.2

Frequency

Always

Bug description

Hello. I've always renamed my pictures files with the pattern: %D{%Y-%m-%d__%H-%M-%S}%E (— are 2 underscores) with a result in the form of: 2016-03-17__10-48-01.jpg Since Mint 21.2: "Pix, which was originally based on gThumb 3.2.8, was rebased on gThumb 3.12.2. ". Now the resulting name of the files is in the form: --——-2023-08-04--14.51.11-.jpg (--——- are 2 dashes, 2 underscores, 1 dash) See attached picture: Pix File Name Format Bug

Steps to reproduce

Try to rename several files with the pattern: %D{%Y-%m-%d__%H-%M-%S}%E (— are 2 underscores)

Expected behavior

The resulted names should be in the form of: 2016-03-17__10-48-01.jpg (— are 2 underscores) but they are in the form of: --——-2023-08-04--14.51.11-.jpg (--——- are 2 dashes, 2 underscores, 1 dash)

Additional information

No response

vizrbo commented 6 months ago

To add to this discussion, on a Mint 21.3 Cinnamon laptop, I did the following:

  1. sudo apt purge pix pix-data pix-dbg
  2. Visited "http://packages.linuxmint.com/list.php?release=vera#backport"
  3. Manually downloaded pix and pix-data .deb files
  4. cd Downloads sudo dpkg -i pix-data_2.8.9+vera_all.deb sudo dpkg -i pix_2.8.9+vera_amd64.deb

This version of Pix, 2.8.9, solves the regression in Pix 3.2.2 and 3.0.2 not printing the desired file name upon using the formatting string:

%M{%Y%m%d-%H%M%S}%E

which is supposed to output something like: 20240220-221802.jpeg but instead prints out what @Curius16 mentioned

I'm not aware what is the protocol here regarding tagging the devs on issues, so would be really obliged if I am pardoned this gesture - @clefebvre

Relevant links:

  1. https://help.gnome.org/users/gthumb/stable/gthumb-rename-series.html.en
  2. https://forums.linuxmint.com/viewtopic.php?t=401752

Linux Mint has been my first ever linux distribution, and if I'm able to offer any sort of assistance, it'll be a big deal for me!