Opened 13 years ago

Last modified 2 weeks ago

#8465 assigned bug

No size 'Used Free' information on Desktop Volume Get Info

Reported by: grimus Owned by: nobody
Priority: normal Milestone: R1
Component: Applications/Tracker Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

The boot Volume on the Desktop does not show 'Used/Free' information when 'Get Info' is selected.

The Desktop Icon shows the disk usage scale correctly.

Nightly hrev43955

Attachments (1)

screenshot1.png (937.2 KB ) - added by grimus 13 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 by anevilyak, 13 years ago

Component: - GeneralApplications/Tracker
Owner: changed from nobody to axeld

Please provide a screenshot, that information shows in the info window as expected here.

by grimus, 13 years ago

Attachment: screenshot1.png added

comment:2 by SeanCollins, 13 years ago

did the volume mount as read/write or read only ? what type of volume is it ? if it is a read only volume, the icon will not indicate disk space.

comment:3 by grimus, 13 years ago

Sorry, I can see where the screenshot confusion comes from. Grimus IS the boot volume, renamed to try and sort out another problem. Forgot I had done it. Thanks for your responce.

comment:4 by diver, 13 years ago

I tried to reproduce this bug, but I see another behavior: Capacity string changes to Size: 5 bytes. Restarting Tracker fixes it.

Last edited 13 years ago by diver (previous) (diff)

comment:5 by anevilyak, 13 years ago

Owner: changed from axeld to anevilyak
Status: newassigned

Will try to find time to look into it sometime in the next days if no one beats me to it.

comment:6 by grimus, 13 years ago

Keywords: ormationGet added; Get removed

More information...... Originaly installed onto a Netbook and a Laptop using hrev43955 'anyboot' file download and re-named to iso then burnt image to CD. Both the Netbook and Laptop had the same no 'used free' information when selecting 'get info' on the desktop icon. Running from a live CD gives the same no 'used free' information, which I assume is correct as it is a read only medium. Put a 43990 system folder that was copied from a raw image onto 43955 and the 'used free' information is reported. So it seems the problem is just on installs from CD, or maybe I did something wrong. Sorry for the noise. Closed ?

comment:7 by diver, 13 years ago

Keywords: Get added; ormationGet removed

in reply to:  4 comment:8 by anevilyak, 13 years ago

Replying to diver:

I tried to reproduce this bug, but I see another behavior: Capacity string changes to Size: 5 bytes. Restarting Tracker fixes it.

I dug into this one a bit ; before the rename, the stat buffer returned by BEntry::GetStat() tells us that the type is S_IFDIR, which we then correctly promote to the volume type by further checking if it's the root directory. However, if you then rename the volume, a subsequent call to GetStat() on the same entry ref returns S_IFLNK instead, causing Tracker to think you're getting info about a symlink instead. Right now I'm not sure what causes this though, and particularly, why restarting Tracker clears it up. Will try to dig further when I have a bit more time, though if anyone else has some insight here, that would help since I'm not so familiar with the filesystem-related portions of the kernel.

comment:9 by anevilyak, 10 years ago

Owner: changed from anevilyak to nobody

comment:10 by waddlesplash, 2 weeks ago

Keywords: Get Info removed
Note: See TracTickets for help on using tickets.