Bug 295341 - Download order plugin requires sorting possibility
Summary: Download order plugin requires sorting possibility
Status: RESOLVED FIXED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-04 20:39 UTC by ZyX
Modified: 2012-03-24 11:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Example of the torrent file where files are totally shuffled (217.57 KB, application/x-bittorrent)
2012-03-04 20:39 UTC, ZyX
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ZyX 2012-03-04 20:39:48 UTC
Created attachment 69291 [details]
Example of the torrent file where files are totally shuffled

I am constantly observing torrents where download order plugin shows shuffled files (one of examples attached). It will be fine if there were three additional buttons and one feature:

1. Sort by name button (maybe it should be done by clicking on table header with current list transformed to table)
2. Move to top/bottom buttons
3. Move to top/bottom, move up/down should be able to operate on all selected files (if this is not implemented, then selecting multiple files should not be allowed at all)

Points 2. and 3. eases manual sorting very much in case 1. is not sufficient, though it will be fine if only 1. is implemented (unless it is implemented in such a way that it is possible for some folder to appear after some file located in the root: in the example file it is Sub folder, I guess it is obvious why I don’t need it after *.mkv).
Comment 1 Joris Guisson 2012-03-24 11:16:23 UTC
Git commit c04f76bbb54c59a9f20d343ff6aba4edd05b283b by Joris Guisson.
Committed on 23/03/2012 at 20:12.
Pushed by guisson into branch 'master'.

- Add search line to download order dialog
- Add move top and bottom option to download order dialog
- Make sure that move up and move down in the download order dialog work with multiple items

M  +3    -0    ChangeLog
M  +125  -33   plugins/downloadorder/downloadorderdialog.cpp
M  +8    -5    plugins/downloadorder/downloadorderdialog.h
M  +52   -52   plugins/downloadorder/downloadordermanager.cpp
M  +12   -12   plugins/downloadorder/downloadordermanager.h
M  +125  -63   plugins/downloadorder/downloadordermodel.cpp
M  +17   -8    plugins/downloadorder/downloadordermodel.h
M  +29   -29   plugins/downloadorder/downloadorderplugin.cpp
M  +58   -60   plugins/downloadorder/downloadorderwidget.ui

http://commits.kde.org/ktorrent/c04f76bbb54c59a9f20d343ff6aba4edd05b283b
Comment 2 Joris Guisson 2012-03-24 11:16:23 UTC
Git commit 25610087d455ddb6dc043aba26718a776add2072 by Joris Guisson.
Committed on 24/03/2012 at 12:15.
Pushed by guisson into branch 'master'.

Add automatic sorting options to download order plugin (name, seasons and episodes, album track number)

M  +1    -0    ChangeLog
M  +11   -0    plugins/downloadorder/downloadorderdialog.cpp
M  +142  -0    plugins/downloadorder/downloadordermodel.cpp
M  +5    -0    plugins/downloadorder/downloadordermodel.h
M  +30   -16   plugins/downloadorder/downloadorderwidget.ui

http://commits.kde.org/ktorrent/25610087d455ddb6dc043aba26718a776add2072