Bug 142002

Summary: Konqueror "create image gallery" creates double extensions
Product: [Applications] konqueror Reporter: Christian Boltz <kde-bugs>
Component: kimgallerypluginAssignee: Lukáš Tinkl <lukas>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: kde
Priority: NOR    
Version: 3.5.6   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: patch

Description Christian Boltz 2007-02-20 23:53:30 UTC
Version:            (using KDE KDE 3.5.6)
Installed from:    SuSE RPMs

I noticed an annoying behaviour in KDE 3.5.6: The "create image gallery" plugin in Konqueror creates thumbnails with a double extension, for example "pic_0817.jpg.jpg".

This does not really look nice and professional :-( and is a regression compared to previous KDE versions.

How to reproduce:
- open a directory containing some pictures in Konqueror
- select  extras - create image gallery
- click OK
- check the filenames in the thumbs/ directory
Comment 1 Bram Schoenmakers 2007-02-22 20:05:17 UTC
Done on purpose, see commit message of revision 620556.

=====
BUG: 132407

Don't trim filename extensions to avoid filename clash with two files
having the same name but different filetypes (extension)
Patch provided by Olivier Trichet
=====
Comment 2 James Richard Tyrer 2007-10-31 14:12:58 UTC
It appears that the proper resolution to this issue is to replace the '.' in the original file name with a '_' so that "picture.jpg" becomes "picture_jpg".
Comment 3 James Richard Tyrer 2007-10-31 14:13:25 UTC
Confirming
Comment 4 James Richard Tyrer 2007-10-31 14:15:21 UTC
Created attachment 21961 [details]
patch
Comment 5 Janek Bevendorff 2012-06-18 17:23:51 UTC
Message from the Bugsquad and Konqueror teams: This bug is closed as outdated, as we do not have the manpower to maintain the KDE3 version anymore. If you still can reproduce this issue with Konqueror 4.8.4 or later, please open a new report. Thank you for your understanding.