Bug 357557

Summary: Save attachment: Dialog does not show correct folder
Product: [Applications] kmail2 Reporter: Gunter Ohrner <kdebugs>
Component: UIAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: clearmartin
Priority: NOR    
Version: 5.1   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 5.1.2

Description Gunter Ohrner 2016-01-05 07:48:40 UTC
If viewing a mail and selecting "Save attachment" via the context menu, the "Save Attachment"-dialog will (correctly) show the previously selected folder in the address bar, albeit with the URL prefix "file:" prepended, and the actual file and folder list displayed is the user's home folder instead of the folder displayed in the address bar.

Clicking into the address bar and pressing "Enter" will select the correct folder.

Reproducible: Always
Comment 1 Martin Kostolný 2016-02-06 09:43:26 UTC
I used to suffer from this and /usr/bin folder was actually suggested (failing to resolve file://... path). After some time it is just /usr/bin always suggested to save attachment. I created a new ticket for that: https://bugs.kde.org/show_bug.cgi?id=359054
Comment 2 Laurent Montel 2016-02-06 14:01:55 UTC
Git commit 43c23ea9a360f1aafe3229975774464569d27ed2 by Montel Laurent.
Committed on 06/02/2016 at 14:01.
Pushed by mlaurent into branch 'Applications/15.12'.

Fix [kmail2] [Bug 357557] New: Save attachment: Dialog does not show correct folder

FIXED-IN: 5.1.2

M  +15   -22   messageviewer/src/utils/messageviewerutil.cpp

http://commits.kde.org/kdepim/43c23ea9a360f1aafe3229975774464569d27ed2