After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 326844 - Scale Series: Prevent rename .jpg to .jpeg
Scale Series: Prevent rename .jpg to .jpeg
Status: RESOLVED FIXED
Product: gthumb
Classification: Other
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2006-01-13 13:44 UTC by whoops
Modified: 2006-03-05 14:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
bug fix (3.68 KB, patch)
2006-01-13 13:47 UTC, whoops
none Details | Review

Description whoops 2006-01-13 13:44:55 UTC
Please describe the problem:
My camera save file with .jpg extension. To scale images in Scale Images dialog
I select overwrite mode = overwrite and image type = JPEG. I expect that in
"overwrite mode" old images will be replaced with new ones, but after scale
there are old images with .jpg extension and new ones with .jpeg 

Steps to reproduce:
1. Select several photos with .jpg extension
2. Select Scale Images, select overwrite mode = overwrite and image type = JPEG
3. Click scale


Actual results:
both old images .jpg and new .jpeg exists

Expected results:
only .jpg images (overwrited)

Does this happen every time?
yes

Other information:
Comment 1 whoops 2006-01-13 13:47:54 UTC
Created attachment 57278 [details] [review]
bug fix 

Also in file gth-batch-op.c line 454 I added remove_scheme_from_uri to first arg of strcmp, because path appears in format file:///path/file which lead to file delete (when remove original was checked).
Comment 2 Paolo Bacchilega 2006-03-05 14:54:58 UTC
patch applied to CVS, thanks.