Opened 14 years ago

Closed 13 years ago

Last modified 13 years ago

#5914 closed bug (fixed)

Partially clipped information about copied objects

Reported by: streak Owned by: yourpalal
Priority: normal Milestone: R1/alpha3
Component: Applications/Tracker Version:
Keywords: Cc: mdisreali@…
Blocked By: Blocking:
Platform: All

Description

I found that tracker is clipping information about copied/moved objects in tracker window while copying/movine Auto-Manual resize tracker window while copying-moving enhancement should do the trick...

In attachment screenshot with clipped information

Attachments (2)

tracker_resizing.jpg (10.7 KB ) - added by streak 14 years ago.
TrackerStatus_patch.png (6.6 KB ) - added by yourpalal 13 years ago.
dialog appeareance with patch applied

Download all attachments as: .zip

Change History (15)

by streak, 14 years ago

Attachment: tracker_resizing.jpg added

comment:1 by yourpalal, 14 years ago

Owner: changed from axeld to yourpalal
Status: newassigned

comment:2 by scottmc, 13 years ago

Any chance you'll get to this one in the next week or two?

in reply to:  2 comment:3 by yourpalal, 13 years ago

Replying to scottmc:

Any chance you'll get to this one in the next week or two?

I'm not sure right now, I'll have to take a look at the source, but IIRC, it is non-layout code, so it might take a bit longer. I will post once I can get an estimate of how long it will take to track down/fix the problem.

comment:4 by yourpalal, 13 years ago

It looks like the changes won't be too drastic, although we'll need to decide what to truncate or move, but I'm having trouble replicating this. In particular, it is hard to find something that takes a long enough time to copy to properly observe the window.

in reply to:  4 comment:5 by Disreali, 13 years ago

Cc: mdisreali@… added

Replying to yourpalal:

It looks like the changes won't be too drastic, although we'll need to decide what to truncate or move, but I'm having trouble replicating this. In particular, it is hard to find something that takes a long enough time to copy to properly observe the window.

Try moving the Haiku trunk to a new location. As for what to change, I think splitting the info under the progress bar into two lines would be good.

example:

Moving: Haiku           <many # of files>
////progress-bar///
To: <new location>/Haiku
100MiB of 2.96GiB  @ 2.5MiB/s

Hope this helps.

comment:6 by axeld, 13 years ago

Copying a large amount of files, or a large file helps to bring up the estimation, especially when copying to a slow medium like a USB stick.

Besides making the window a bit wider, I would also like to have a tooltip with the current information (ie. complete, the view itself switches between estimated time, and copy speed).

by yourpalal, 13 years ago

Attachment: TrackerStatus_patch.png added

dialog appeareance with patch applied

comment:7 by yourpalal, 13 years ago

I've attached a screenshot of the window, with my current patch applied. Basically the strategy is:

  • if possible, show both the full destination and full status message
  • if that is not possible, show the abbreviated message
  • If needed, truncate the destination with B_TRUNCATE_MIDDLE

The reason I chose this is that truncating the status message would make it basically unreadable, and probably offer little space savings. The destination is truncated in the middle, as I believe that is the standard behavior for truncating paths. I haven't done it yet, but I think the window might as well be a bit wider, so I will do that too, but the basics of the patch will stay the same.

Furthermore, I like the idea of adding a tooltip, and I did a bit of refactoring with that in mind, but I want to open a separate ticket for that.

comment:8 by humdinger, 13 years ago

Correctly trunkating is very much appreciated. Would it be easily possible to have the status window resizable and remembering its width, like the mail_daemon status when fetching/sending mails?

in reply to:  8 comment:9 by yourpalal, 13 years ago

Replying to humdinger:

Correctly trunkating is very much appreciated. Would it be easily possible to have the status window resizable and remembering its width, like the mail_daemon status when fetching/sending mails?

:) Yes, that could be done by (most easily with the layout API). However, I would file that as another ticket as well.

comment:10 by yourpalal, 13 years ago

Resolution: fixed
Status: assignedclosed
Type: enhancementbug

Fixed in hrev40685.

comment:11 by diver, 13 years ago

BTW clicking Pause button freezes Tracker status window after this revision.

in reply to:  11 ; comment:12 by yourpalal, 13 years ago

Replying to diver:

BTW clicking Pause button freezes Tracker status window after this revision.

Uh-oh, I'll look into it! Thanks for the heads up!

in reply to:  12 comment:13 by yourpalal, 13 years ago

Replying to yourpalal:

Replying to diver:

BTW clicking Pause button freezes Tracker status window after this revision.

Uh-oh, I'll look into it! Thanks for the heads up!

For reference, this was fixed in hrev40698 by Stippi.

Note: See TracTickets for help on using tickets.