After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 46340 - Changing contents of folder doesn't refresh deep count
Changing contents of folder doesn't refresh deep count
Status: RESOLVED WONTFIX
Product: nautilus
Classification: Core
Component: File Properties Dialog
3.26.x
Other Linux
: Normal minor
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 48295 90596 139528 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2001-02-05 19:18 UTC by John Sullivan
Modified: 2020-03-12 18:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description John Sullivan 2001-09-10 00:59:00 UTC
To reproduce:

(1) Right-click on some folder and choose "Show Properties". Note the contents
count in the properties window.
(2) Open the folder right-clicked on in step 1. (Don't close the properties
window.)
(3) Make a new folder here, or select some item and duplicate it. Note that the
count in the sidebar updates correctly, but the deep count in the properties
window continues to show the old stale number.

We don't reset the deep count in this case. Ideally we would update the deep
count without resetting it, but that would involve walking up the parent chain
updating each parent (until a NautilusDirectory with no corresponding
NautilusFile was encountered). We also have to make sure that we don't update
the deep count every time we update the shallow count, because that would mean
the return of bug 45863.



------- Bug moved to this database by unknown@bugzilla.gnome.org 2001-09-09 20:59 -------
Comment 1 John Fleck 2002-01-05 04:11:08 UTC
Changing to "old" target milestone for all bugs laying around with no milestone set.
Comment 2 Kjartan Maraas 2002-08-04 10:14:39 UTC
I see this in the current 2.0.x release of nautilus too.
Comment 3 mwehner 2003-09-30 02:26:56 UTC
*** Bug 48295 has been marked as a duplicate of this bug. ***
Comment 4 mwehner 2003-09-30 02:27:31 UTC
*** Bug 90596 has been marked as a duplicate of this bug. ***
Comment 5 mwehner 2003-09-30 02:30:35 UTC
Confirmed with 2.4.x.
Setting version->2.4.x, adding GNOMEVER2.4, GNOMEVER2.5 keywords.
Comment 6 Martin Wehner 2004-04-24 18:04:59 UTC
*** Bug 139528 has been marked as a duplicate of this bug. ***
Comment 7 Kjartan Maraas 2005-01-05 10:44:33 UTC
The deep count is updated here, but the count for the folder in a icon view
(spatial) window is not updated until I ctrl+r
Comment 8 António Fernandes 2017-08-21 21:21:53 UTC
Still true. However, the steps to reproduce now require opening the same folder in another window before step (1), because Properties dialog is modal now.
Comment 9 António Fernandes 2020-03-12 18:04:10 UTC
This cannot be realistically fixed without introducing bugs, as argued in the commit message of commit 13ecf5f9c2d219866550757cb660b569299ac285