Bug 248162 - kget doesn't remember last-used folder
Summary: kget doesn't remember last-used folder
Status: RESOLVED WORKSFORME
Alias: None
Product: kget
Classification: Applications
Component: general (show other bugs)
Version: 2.5.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2010-08-17 17:28 UTC by S. Christian Collins
Modified: 2018-09-23 14:03 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 S. Christian Collins 2010-08-17 17:28:45 UTC
Version:           unspecified (using KDE 4.5.0) 
OS:                Linux

I download a file to:
/home/chris/Storage/Videos/Demo Scene/

When I try to download another file after that, previous versions of kget (KDE 4.4) would point me to the previously used folder, but instead kget 2.5.0 shows my home folder, and the following is in the location bar:
/home/chris/Storage/Videos/Demo Scene/http%3A/www224.megavideo.com/files/

Reproducible: Always

Steps to Reproduce:
Do the same thing as mentioned in the details.

Actual Results:  
Location bar points to:
/home/chris/Storage/Videos/Demo Scene/http%3A/www224.megavideo.com/files/

Expected Results:  
Location bar should point to:
/home/chris/Storage/Videos/Demo Scene/

** My System **
Motherboard: MSI K9N SLI Platinum (nForce 570 SLI chipset)
CPU: AMD Athlon(tm) 64 Processor 4000+ (2.6 GHz)
RAM: 2GB DDR2
Video: Dell NVIDIA GeForce 7800 GTX w/ 256 MB RAM (PCI Express)
OS: Kubuntu 10.04 i386 w/ KDE SC 4.5.0 from Kubuntu PPA
Linux Kernel: 2.6.32-24-lowlatency
NVIDIA driver: 256.44
Screen Resolution: 1280 x 960
X.org: 7.5
Qt: 4.7.0
Comment 1 S. Christian Collins 2010-08-17 17:41:03 UTC
Here's proper reproduction steps:
1) Install the FlashGot plugin into Firefox and set it to use Kget as the download manager.
2) Open this link in Firefox: http://www.megavideo.com/?v=MAQRQE6P
3) Click the red play button, and once it turns green, you should see the FlashGot icon flashing in the lower right-hand corner of Firefox.  Click on it, and it should fire up Kget, and you'll see something like this in the location bar:
/home/chris/Storage/Videos/Demo Scene/http%3A/www522.megavideo.com/files/

which should be:
/home/chris/Storage/Videos/Demo Scene/
Comment 2 Lukas Appelhans 2010-08-17 21:49:16 UTC
Hey!

It seems that srcUrl.fileName(KUrl::ObeyTrailingSlash); returns an empty string for this url, so the whole url is used as the filename of the file...

We might fix it to only use the charakters between the last slashes...

Lukas
Comment 3 Myriam Schweingruber 2012-06-21 20:04:13 UTC
Any news on this? It was reported for version 2.5.x which was quite some time ago.
Comment 4 S. Christian Collins 2012-06-23 15:12:58 UTC
Unfortunately, I am unable to test this until I can find another link that reproduces the bug.  The link I posted in comment #1 is now broken.
Comment 5 Andrew Crouthamel 2018-09-23 02:44:40 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 S. Christian Collins 2018-09-23 14:03:51 UTC
I am unable to reproduce this bug in current KGet, so i will close this bug.