Ticket #323 (new enhancement)

Opened 5 years ago

Last modified 22 months ago

layout of mainpage causes headache.

Reported by: han@mijncomputer.nl Owned by: rakshasa
Priority: normal Component: rtorrent
Version: Severity: trivial
Keywords: Cc:

Description

The layout of the mainpage is rather illogical, let's take a look:

                                          *** rTorrent 0.6.0 - libTorrent 0.10.0 ***
 [View: main]
   name_of_the_torrent
             106.1 /  701.7 MB Rate:   5.9 /   9.5 KB Uploaded:   107.9 MB [14%]  0d 18:49 [   R: 1.01]

Now Suppose it would look like this:

 [View: main]                                            *** rTorrent 0.6.0 - libTorrent 0.10.0 ***
             downld   size             speed    ETA       upload    speed  rate
   name_of_the_torrent
             106.1    701.7 MB Rate:   9.5Kb    0d 18:49  107.9 MB  5.9Kb  14%

Download columns grouped together, upload columns grouped together and a columnheader which explains what what means, without consuming more space.

Change History

Changed 5 years ago by rakshasa

It's not causing me any headaches as I've become slowly used to it as quick hacks have been added. ;)

I'll consider any suggestions for when I get around to that part of the code.

Changed 5 years ago by eric

i also would like to see only one row per torrent, not three. i think that will look clearer. there are many redundant information, like "Rate:" and "Uploaded:" for every torrent is waste of space. why not write that in the first row?

Changed 5 years ago by anonymous

It looks like a clear layout is not easy.

I like it when information of the same type are together (ie up/down speed, downloaded/total size).

Perhaps something like this would be easier to decipher:

Name                                            size tot
             est. time   down %   speed down   size down
status                    ratio     speed up     size up

This would take four rows, and the name could cause formatting problems when it contains invalid characters. However, there could be multiple columns on wide terminals.

Any single layout of status line(or as it is now the middle line that contains most information) is not going to be easy to decipher. Sizes are only comparable to sizes, and speeds to speeds. But if you put these together you get things related to upload/download separated.

It's probably a matter of taste (and also depends on the usage pattern) what fields and in what order would allow to see the state of the torrent easily.

I certainly look for different things when running rtorrent on a computer connected with a slow line with a download limit than when running on a fast unlimited line.

Changed 5 years ago by anonymous

if you do a multiple line layout like shown, please put "down" in the bottom line and "up" in the top line :-)

Changed 4 years ago by anonymous

The current info line doesn't fit on the standard 80-column terminal. This is bad. Also, one line per torrent would be excellent. So, how about making it configurable? One easy solution would be to put a formatting template into the config file. For example:

torrent_info_line = "%file:20 %down/%size MB [%completed] %eta %urate / %drate KB [%opts R: %ratio]"

This would result in something like

ubuntu-5.10-insta...  161.6/ 617.2 MB [24%] 0d 03:09    1.1 /  41.3 KB [TI R:  0.03]

In my example the tags would be defined like this:

%file[:len] Filename. Lenght is optional, defaults to 20. If filename is longer than length the name is cropped at len-3 and three periods are appended.

%down Megabytes downloaded. Always 6 characters long.

%size Total filesize in megabytes. Always 6 characters long.

%completed Percentage. Always 3 characters long, includes %-character. Empty if 100%

%eta ETA in "Xd HH:MM" format, always 8 characters long.

%urate Current upload rate in kilobytes. Always 6 characters long.

%drate Current download rate in kilobytes. Always 6 characters long.

%opts T and/or I. Always 2 characters long.

%ratio Share ratio. Always 5 characters long.

My example wouldn't fit to 80 characters either, but I would probably drop some stuff from there (share ratio and upload rate at least) if I could.

Changed 2 years ago by anonymous

I also would appreciate the ability to get my rtorrent to fit in an 80-column terminal. A formatting template in the config file would be amazing.

Changed 22 months ago by ilf@zeromail.org

I would also like a different layout. I love the proposition to make it customizable in the config and also the example two posts up.

Note: See TracTickets for help on using tickets.