#378: Advanced (pieces) progress bar
-----------------------------+----------------------------------------------
Reporter: andar | Owner: andar
Type: feature-request | Status: new
Priority: major | Milestone: Future
Component: gtkui | Version:
Keywords: |
-----------------------------+----------------------------------------------
Comment(by damoxc):
The first issue can be solved with a gtk setting, can't remember which one
it is off the top of my head but widgets can be set to not auto-expand.
As for the second, the only solution I can think of would be to start
dropping pieces, or merge pieces together and average, so
{{{
#!python
if piece_count > bar_width:
_pieces = pieces[:]
pieces = []
while _pieces:
one = _pieces.pop(0)
two = _pieces.pop(0)
# do calc
pieces.append(one + two / 2)
}}}
That is of course pseudo code just to give a general idea of what I was
saying.
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/378#comment:10>
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.