Bug 158527 - imageconverter.desktop conversion issue when filename has multiple '.' in the name
Summary: imageconverter.desktop conversion issue when filename has multiple '.' in the...
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-28 08:35 UTC by Rich Johnson
Modified: 2009-09-03 01:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rich Johnson 2008-02-28 08:35:47 UTC
Version:            (using KDE 4.0.1)
Installed from:    Ubuntu Packages
OS:                Linux

Copying from original report at https://launchpad.net/bugs/113789

Am able to verify the behavior in KDE 3.x as well as KDE 4 from SVN.

----------------------------

The RegEx in the file /usr/share/apps/konqueror/servicemenus/imageconverter.desktop are not correct. If you try to convert images in a folder named "No. 022" the conversion will not work proper. It will recognise the "." as the dot from a suffix and produces a Picture in the parent path called No.jpg. I am not good RegExp, so I am not able to fix that stuff.

Here is one of the bad lines ;)
 Exec=convert %f "`echo %f | perl -pe 's/\.[^.]+$//'`.jpg

----------------------------
Comment 1 Luke Plant 2008-05-23 16:26:09 UTC
The bug is not really in the regex -- the regex works from a command line.  It is to do with how KDE parses the Exec line.  See the launchpad bug report.
Comment 2 Jonathan Thomas 2009-09-03 01:19:41 UTC
Works in KDE4.