Bug 163744 - download dialogs forgets to add slash inbetween path and file
Summary: download dialogs forgets to add slash inbetween path and file
Status: RESOLVED FIXED
Alias: None
Product: kget
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords:
: 165351 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-11 01:07 UTC by Frederik Gladhorn
Modified: 2008-08-01 12:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederik Gladhorn 2008-06-11 01:07:22 UTC
Version:            (using Devel)
Installed from:    Compiled sources
OS:                Linux

Every once in a while after selecting a file to download the target file is missing a slash before the file name.
This can result in not writable target urls.
Error dialog with: Directory "/home/frederiklatexSuite20060325.zip" is not writable

I cannot reproduce it every time, but it happens from time to time.

Greetings,
Frederik
Comment 1 Lukas Appelhans 2008-06-11 09:41:04 UTC
SVN commit 819409 by lappelhans:

Add trailing slash between filename and path in any case.

BUG:163744


 M  +2 -2      newtransferdialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=819409
Comment 2 Urs Wolfer 2008-06-29 19:19:21 UTC
*** Bug 165351 has been marked as a duplicate of this bug. ***
Comment 3 giuseppe 2008-07-26 02:24:35 UTC
Bug is not fixed
kget still save 
the file with uncorrect
name,and on upper directory.
Comment 4 Lukas Appelhans 2008-07-26 02:34:32 UTC
What version are you using?

For me it is fixed :)

Lukas
Comment 5 giuseppe 2008-07-26 02:54:43 UTC
2.1.0 with kde 4.1.0
Comment 6 Lukas Appelhans 2008-07-26 03:28:23 UTC
Mmh, it should work (tm) and it is for me... I have no real clue how to fix this one then :(

Lukas
Comment 7 Frederik Gladhorn 2008-07-28 23:45:11 UTC
Sadly I have to confirm that it's not fixed in all cases :(
I am not sure why there are two scenarios and your patch definitively fixed one.
This is with current trunk (KDE 4.2 from 2008/07/28).
I hit it again when using konqueror, right click -> save link as.
Now when I tried to save to ~/Destop/filename it gets saved as ~/Desktopfilename
Maybe the problem is with konqi then?

Greetings,
Frederik
Comment 8 Lukas Appelhans 2008-07-28 23:49:11 UTC
Confirmed, eliasp just told us in the IRC-Channel 2 Minutes ago, will try to fix tomorrow...
Sorry I do not use Konqueror atm.. :)

Lukas
Comment 9 Lukas Appelhans 2008-08-01 04:07:03 UTC
SVN commit 840408 by lappelhans:

Add trailing slash even if the newtransferdialog is not shown

CCBUG:163744


 M  +2 -2      main.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=840408
Comment 10 Lukas Appelhans 2008-08-01 04:07:45 UTC
*** Bug has been marked as fixed ***.
Comment 11 Urs Wolfer 2008-08-01 12:18:06 UTC
SVN commit 840529 by uwolfer:

Backport:
SVN commit 840408 by lappelhans:

Add trailing slash even if the newtransferdialog is not shown

CCBUG:163744

 M  +2 -2      main.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=840529