Bug 355821

Summary: File->Save As... only quoted text in title is considered as filename
Product: [Frameworks and Libraries] frameworks-kio Reporter: NSLW <lukasz.wojnilowicz>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kdelibs-bugs, montel, nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description NSLW 2015-11-24 06:53:44 UTC
We've got two test messages titled:
1) TEST MESSAGE WITHOUT QUOTE
2) TEST MESSAGE WITH "QUOTE"
When I want to save the first one, I get: TEST MESSAGE WITHOUT QUOTE.mbox
When I want to save the second one, I get: QUOTE.mbox



Reproducible: Always

Steps to Reproduce:
1. receive email message which title contains quotes e.g. TEST MESSAGE WITH "QUOTE"
2. File->Save as...
3. In FileDialog choose requested directory and press save

Actual Results:  
I get QUOTE.mbox file.

Expected Results:  
I should get TEST MESSAGE WITH "QUOTE".mbox file.

Note that before I press save in FileDialog  the filename is correct i.e. TEST MESSAGE WITH "QUOTE".mbox
Comment 1 Laurent Montel 2015-11-24 07:14:59 UTC
it's not a specific kmail bug
it's a kdelibs bug
Comment 2 Laurent Montel 2015-11-24 12:54:35 UTC
Git commit a0702a75173dbf5caf443f642f733f74da893af1 by Montel Laurent.
Committed on 24/11/2015 at 12:54.
Pushed by mlaurent into branch 'master'.

Create workaround for Bug 355821 - File->Save As... only quoted text in title is considered as filename

M  +1    -0    messageviewer/src/utils/messageviewerutil.cpp

http://commits.kde.org/kdepim/a0702a75173dbf5caf443f642f733f74da893af1
Comment 3 Laurent Montel 2015-11-24 12:55:14 UTC
Git commit 14994705122446334327bba0bcee6b5ae024a903 by Montel Laurent.
Committed on 24/11/2015 at 12:55.
Pushed by mlaurent into branch 'Applications/15.12'.

Create workaround for Bug 355821 - File->Save As... only quoted text in title is considered as filename
(cherry picked from commit a0702a75173dbf5caf443f642f733f74da893af1)

M  +1    -0    messageviewer/src/utils/messageviewerutil.cpp

http://commits.kde.org/kdepim/14994705122446334327bba0bcee6b5ae024a903
Comment 4 Nate Graham 2018-08-22 20:05:31 UTC

*** This bug has been marked as a duplicate of bug 185433 ***