[Kget] [Bug 197675] kget new download dialog sets incorrect name for target file

anton benderamp at gmail.com
Wed Jun 24 14:22:53 CEST 2009


https://bugs.kde.org/show_bug.cgi?id=197675





--- Comment #4 from anton <benderamp gmail com>  2009-06-24 14:22:51 ---
>That was not handled correctly (but fixed now). I can't say anything about the
original report though -- I don't get the weird additional "user" in there.

user means current user name - in my case this is benderamp:
Destination=/home/benderamp/Desktop/benderamp

This seems to be more directory open dialog issue, rather then kget (or kget
misuses it).

This is what I do in more details:

1. Start downloading - the Destination=/home/benderamp/ by default
2. Press directory chooser button - receive directory chooser dialog with title
KGet
2.1 The location directory is /home
2.2 Directory "benderamp" is selected inside central file view
2.3 File name field at the bottom also equals "benderamp" (this is important)
3. Click on the selected directory with mouse - enter /home/benderamp directory
(important to do this with mouse, not with "Ok" button)
3.1 File name field at the bottom value still equals "benderamp"
4. Click on the Desktop directory with mouse - enter /home/benderamp/Desktop
directory
4.1 File name field at the bottom value still equals "benderamp"
5. Press "Ok" button - the Destination value now equals
"/home/benderamp/Desktop/benderamp"

So, I can understand why this happens - it takes current directory value (which
is Desktop) and treats "benderamp" (which were set as default value in file
name field) as a new file name inside it.



There is another scenario - very similar, but a bit different:

1. Start downloading - the Destination=/home/benderamp/ by default
2. Press directory chooser button - receive directory chooser dialog with title
KGet
2.1 The location directory is /home
2.2 Directory "benderamp" is selected inside central file view
2.3 File name field at the bottom also equals "benderamp" (this is important)
3. Press "Open" button - this would enter /home/benderamp directory (this is
key difference from the previous scenario)
3.1 File name field at the bottom is now empty
4. Click on the Desktop directory with mouse - enter /home/benderamp/Desktop
directory
4.1 File name field at the bottom is still empty
5. Press "Ok" button - it will not work (because file name field is empty)
6. Type some text in the file name field (123) and press Ok

the Destination value now equals "/home/benderamp/Desktop/123"

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kget mailing list