Bug 204666 - Folder for download group selected through folder selection dialog missing trailing slash
Summary: Folder for download group selected through folder selection dialog missing tr...
Status: RESOLVED FIXED
Alias: None
Product: kget
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-21 16:49 UTC by Alvaro Manuel Recio Perez
Modified: 2009-10-11 14:18 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 Alvaro Manuel Recio Perez 2009-08-21 16:49:15 UTC
Version:            (using KDE 4.3.0)
Compiler:           x86_64 architecture
OS:                Linux
Installed from:    Ubuntu Packages

When you select a default folder for a download group ("Settings" | "Groups" | "Configure" | "Default folder") through the folder selection dialog (little blue folder icon) the resulting path is missing the trailing slash "/". For example, in my system I selected "Documentos" on my home folder, resulting in "/home/naproxeno/Documentos" instead of "/home/naproxeno/Documentos/". With the former, KGet tries to save every download as a file named "Documentos" instead of saving it inside that folder, and asks for an alternative name. KGet only does what is expected if the path ends in a slash.

Considering this, KGet should automatically add a slash when the user selects a folder in the settings of a download group.
Comment 1 Dario Massarin 2009-09-14 16:11:29 UTC
SVN commit 1023319 by dario:

Always add the trailing slash to download folder locations 
when changed in the group settings dialog.

BUG: 204666



 M  +1 -1      groupsettingsdialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1023319
Comment 2 Michael Reiher 2009-10-09 14:23:32 UTC
Could you backport this to 4.3?
Comment 3 Matthias Fuchs 2009-10-11 13:48:26 UTC
SVN commit 1033860 by mfuchs:

Backport of r1023319
Always add the trailing slash to download folder locations when changed in the group settings dialog.

CCBUG: 204666

 M  +1 -1      groupsettingsdialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1033860
Comment 4 Michael Reiher 2009-10-11 14:18:06 UTC
Thanks a lot!