Opened 13 years ago

Closed 13 years ago

#337 closed Enhancement (wontfix)

Better progress (string-wise)

Reported by: Charlie Monroe Owned by: livings124
Priority: Low Milestone: None Set
Component: Mac Client Version: 0.82
Severity: Minor Keywords:
Cc:

Description

I haven't noticed until lately, that Transmission shows the selection progress in the Info Panel. It would be nice for it to show in the main window too. Here is a code that works for me:

if (![self allDownloaded])
        [progressString appendFormat: NSLocalizedString(@"%@ of %@ (%.2f%%/%.2f%%)", "Torrent -> progress string"),
                            [NSString stringForFileSize: [self downloadedValid]],
                            [NSString stringForFileSize: [self size]], 100.0 * [self progress], 100.0 * [self progressDone]];
    else if (![self isComplete])
        [progressString appendFormat: NSLocalizedString(@"%@ of %@ (%.2f%%/%.2f%%), uploaded %@ (Ratio: %@)",
                "Torrent -> progress string"), [NSString stringForFileSize: [self downloadedValid]],
                [NSString stringForFileSize: [self size]], 100.0 * [self progress], 100.0 * [self progressDone],
                [NSString stringForFileSize: [self uploadedTotal]], [NSString stringForRatio: [self ratio]]];

Attachments (1)

screencapture004.jpg (2.3 KB) - added by Charlie Monroe 13 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 13 years ago by livings124

  • Resolution set to wontfix
  • Status changed from new to closed

I tried this and it overcrowds the status line. This information can be extrapolated from the progress bar or viewed in the inspector.

Changed 13 years ago by Charlie Monroe

comment:2 Changed 13 years ago by Charlie Monroe

  • Resolution wontfix deleted
  • Status changed from closed to reopened

Well, I don't think it's overcrowded. Here is a screenshot of what I've done. Maybe the total and selected parts should be switched, but it doesn't look overcrowded at all, in my opinion. I could also fix the code I posted that in case selected and total is the same it doesn't show at all....

I have attached a screen of the bar as I have it now.

comment:3 Changed 13 years ago by livings124

  • Resolution set to wontfix
  • Status changed from reopened to closed

Pretty ugly and it's not clear what it's referring to right away.

Note: See TracTickets for help on using tickets.