| Summary: | free space: unknown on removable media properties tab | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Vladimir Benes <vbenes> | ||||||
| Component: | nautilus | Assignee: | Tomáš Bžatek <tbzatek> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Desktop QE <desktop-qa-list> | ||||||
| Severity: | low | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | 6.3 | CC: | tpelka, tsmetana | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | nautilus-2.28.4-19.el6 | Doc Type: | Bug Fix | ||||||
| Doc Text: |
Cause: A short-lived internal object
Consequence: Free space was not displayed in the volume Properties dialog
Fix: A reference to other internal object has been placed in
Result: Free space is now displayed properly
|
Story Points: | --- | ||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2012-06-20 14:24:42 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
|
Description
Vladimir Benes
2012-01-05 23:58:12 UTC
Created attachment 551045 [details]
screenshot
Yeah, this looks really stupid. Does `df` work as expected? And what about `gvfs-info -f <mount_point>`? gvfs-info -f /media/F1BA-345D/ attributes: filesystem::size: 7962914816 filesystem::free: 4456239104 filesystem::type: msdos df -h Filesystem Size Used Avail Use% Mounted on /dev/sdb1 7.5G 3.3G 4.2G 45% /media/F1BA-345D this is my usb flash so I assume all removable media are affected haha this is really funny .. when nautilus window is opened.. it shows correct Free space in both areas.. so insert flash, wait for automatic mount and nautilus opening, go into prefs via usb icon and now everything is fine.. close the window and the free space changes to unknown immediately.. what a magic!! :-) Created attachment 567078 [details] The Patch (In reply to comment #4) > haha this is really funny .. when nautilus window is opened.. it shows correct > Free space in both areas.. so insert flash, wait for automatic mount and > nautilus opening, go into prefs via usb icon and now everything is fine.. close > the window and the free space changes to unknown immediately.. what a magic!! > :-) Yes, that was the problem. Nautilus shares instances of NautilusDirectory objects but there was not one until you opened a window. So we created a new instance on every free space display request but before it had chance to display the result, the object got unref'ed.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Cause: A short-lived internal object
Consequence: Free space was not displayed in the volume Properties dialog
Fix: A reference to other internal object has been placed in
Result: Free space is now displayed properly
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0914.html |