Custom Query (2447 matches)
Results (475 - 477 of 2447)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#2184 | Fixed | Speed optimizations to the torrentview in GTKUI | ||
Description |
With many torrents (hundreds), the GTKUI torrent view gets noticeably slower and slower. With around 1800 torrents, each call to update_view takes around 400-600ms on my machine, when showing all the torrents. This causes the entire thing to freeze until it's finished updating. I've optimized the update_view method so that now, each update takes around 15-20ms when showing all torrents with sorting on the Name column, and a little less with no sorting. CPU usage when showing the All list is down from 90-100% to 4-10% It's still quite slow to change list, e.g. from a small list (say "Downloading" with a couple of torrents), to "All" with 1800 torrents. This takes about 350-400ms on my machine. Thats because it has to do this for most of the torrents: row[filter_column] = True Also loading the list when first connecting was crazy slow because of a very inefficient way of adding the rows to the liststore. Adding the rows is now down from about 3 seconds to 20-30ms. The two most important changes for the speed increase is:
if row[filter_column] is True: row[filter_column] = False if row[filter_column] is False: row[filter_column] = True
Optimized update_view and add_rows on 1-3-stable: https://github.com/bendikro/deluge/commit/762ad783e2b4d22c74955ddd0bbe86fc13d8550f If anyones interested, a version with time tests and prints is in the branch 1.3-dev-torrentview_time_test. |
|||
#2217 | Fixed | Exception is thrown in gtkui when opening preferences | ||
Description |
Connecting to the daemon and opening the preferences gives this error in the terminal: File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 551, in _runCallbacks current.result = callback(current.result, *args, **kw) File "/home/bro/programmer/deluge/deluge/deluge/ui/gtkui/preferences.py", line 1105, in on_fail if failure.value.exception_type == 'NotAuthorizedError': exceptions.AttributeError: 'NotAuthorizedError' object has no attribute 'exception_type' Apparently there is authentication issues causing some code to run that hasn't been tested lately. |
|||
#2225 | Fixed | Change common.decode_string to actually decode (return unicode) | ||
Description |
This patch changes the decode_string so that it tries to decode the input string with different encodings, and returns the decoded output as unicode. https://github.com/bendikro/deluge/tree/master-decode-string Previous calls to decode_string are replaced with common.utf8_encoded |