#2202: gtkui stable sort torrent view
--------------------------+-------------------------------------------------
 Reporter:  gazpachoking  |       Owner:                        
     Type:  patch         |      Status:  new                   
 Priority:  minor         |   Milestone:  1.3.6                 
Component:  gtkui         |     Version:  other (please specify)
 Keywords:  sort          |  
--------------------------+-------------------------------------------------
 Gtk TreeModelSort sorts unstably, causing torrents to jump around when
 sorted by a column without unique values for all rows. Stable sort fixes
 this, as well as makes sorting by multiple columns in a row retain last
 sort when primary sort column is equal. Included in my
 [https://github.com/gazpachoking/deluge/tree/gtk-stablesort branch here]
 against 1.3-stable.
 
([https://github.com/gazpachoking/deluge/commit/3c85cc4b03e5e63eea5338219202005fb20866ad
 diff])

 My only concern with this patch is that it uses torrent hash as unique row
 identifier, which is hard coded. Maybe unique column should be passed into
 !ListView upon init.

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/2202>
Deluge <http://deluge-torrent.org/>
Deluge project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-dev?hl=en.

Reply via email to