Bug 282899

Summary: Allow to change order of links while importing
Product: [Applications] kget Reporter: lman <squider>
Component: generalAssignee: KGet authors <kget>
Status: RESOLVED FIXED    
Severity: normal CC: mat69
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 4.7.3
Sentry Crash Report:

Description lman 2011-09-27 11:10:27 UTC
Version:           unspecified (using KDE 4.7.1) 
OS:                Linux

Currently when I'm importing links to kget the links are imported in random order, e.g. while importing from clipboard the order in import dialog window is different that the order of links in clipboard. It would be useful if the order could be changed or at least preserved.

Reproducible: Always

Steps to Reproduce:
Try to import set of links from clipboard

Actual Results:  
The order of imported links is different that order of links in clipboard

Expected Results:  
Order of links should be at least preserved. Best would be if the order could be changed in import window.
Comment 1 Matthias Fuchs 2011-09-27 13:37:31 UTC
I mark this as bug as the order should stay the same.

I'll look into it though I won't add a way to change the order as that is overkill imho.
Comment 2 lman 2011-09-27 18:04:09 UTC
Ok, checked the kget more deeply today. The order change is actually more or less implemented as priority so you can drop this part of my wish but the random order of imported links is reproducible always. I've wrote this bugreport at work and I wasn't sure in which window this order is changing, now I know that the order in import dialog window is ok but when you press "Import selected" in import dialog window the order of newly imported links in main window is different than in clipboard and in import dialog window.
Comment 3 Matthias Fuchs 2011-09-29 14:44:01 UTC
SVN commit 1256351 by mfuchs:

Correctly sorts urls in the Import Links dialog.

The default sort order of the urls is the order they have been
received.
BUG:282899

 M  +6 -3      kget_linkview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1256351
Comment 4 Matthias Fuchs 2011-09-29 14:57:45 UTC
SVN commit 1256355 by mfuchs:

Backport r1256351 and r1256354
Correctly sorts urls in the Import Links dialog.

The default sort order of the urls is the order they have been
received.
BUG:282899
FIXED-IN:4.7.3

 M  +5 -3      kget_linkview.cpp  


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