Bug 152412 - Edit identity "Edit File" wrong path
Summary: Edit identity "Edit File" wrong path
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-16 12:14 UTC by FiNeX
Modified: 2007-11-16 15:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
error on the edit identity edit (134.14 KB, image/jpeg)
2007-11-16 12:15 UTC, FiNeX
Details

Note You need to log in before you can comment on or make changes to this bug.
Description FiNeX 2007-11-16 12:14:47 UTC
Version:           Revision 737448 (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

On the "Edit Identity" dialog, if you choose to edit the file selected for the signature, it will open the default editor, but the filepath is wrong.
Example:
1) select the file named "bar" on your home directory (/home/foo)
2) press "edit file" button
-> the editor will try to open the file "/home/foo/file:///home/foo/bar"

See the screenshot :-)
Comment 1 FiNeX 2007-11-16 12:15:17 UTC
Created attachment 22091 [details]
error on the edit identity edit
Comment 2 Thomas McGuire 2007-11-16 15:46:24 UTC
SVN commit 737562 by tmcguire:

Use path() instead of url(), so QFileInfo::isRelative will do the correct thing.

BUG: 152412



 M  +1 -1      signatureconfigurator.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=737562
Comment 3 FiNeX 2007-11-16 15:58:04 UTC
Well done :-)