Bug 260310 - Capacity bar in status bar isn't updated on changes
Summary: Capacity bar in status bar isn't updated on changes
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 16.12.2
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-16 20:20 UTC by Alexey Chernov
Modified: 2018-04-02 11:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
screenshot of the Properties dialog with capacity bar (82.29 KB, image/png)
2010-12-21 23:31 UTC, Alexey Chernov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Chernov 2010-12-16 20:20:09 UTC
Version:           unspecified (using KDE 4.5.4) 
OS:                Linux

Capacity bar (placed to the right of the status bar by default) isn't updated properly until I change directory.

Reproducible: Always

Steps to Reproduce:
1. Delete something visible in terms of disk space (using Shift+Del inside Dolphin itself, for example).
2. Notice that indication in capacity bar wasn't updated.
3. Click 'Properties' to see the disk space of partition. Notice that capacity bar is still not updated.
4. Change directory. Notice that now capacity bar is updated.
Comment 1 Dario Andres 2010-12-21 19:25:37 UTC
[Comment from a bug triager]
This is related to bug 256285
Comment 2 Peter Penz 2010-12-21 19:39:26 UTC
I cannot reproduce this issue: I deleted a file and the capacity bar is updated a few seconds without changing the directory. Please note that currently there is no mechanism in kdelibs to automatically get informed about the capacity change, so Dolphin does a polling each 10 seconds. Could you please check whether waiting up to 10 seconds works in your case? What I'm wondering is that when opening the Properties dialog also no update is done (as in this case the capacity is read for sure). Do you have FAM installed on your system? If you're not sure: If you remove a file in the console and have the parent directory of this file open in Dolphin: does Dolphin automatically remove the file too?
Comment 3 Alexey Chernov 2010-12-21 23:30:18 UTC
Peter, thanks for detailed description of the problem. I've made more experiments and here's the answers on your questions:
1. I didn't wait for 10 seconds the first time. Now I tried to wait even more (about 2 minutes) and the capacity bar didn't updated at all (copied about 3 GB to the disk).
2. Yes, suprisingly it isn't updated even when I click Properties (see the screenshot). It doesn't depend on how I quit the Properties dialog, I tried both OK and Cancel but with no result.
3. It is updated immediately when I go to any child folder.
4. I have Gamin 0.1.10 installed but to make sure everything works properly I've made the experiment you described and yes, Dolphin is automatically updated when I remove file from console.

Maybe any other package can be the cause? I've also noticed (not only on the described system but on two others with latest Kubuntu) that Dolphin don't remove unmounted flash drives. I know it's separate bug but maybe it's connected to this one and will help somehow.
Comment 4 Alexey Chernov 2010-12-21 23:31:09 UTC
Created attachment 55144 [details]
screenshot of the Properties dialog with capacity bar
Comment 5 Julian Steinmann 2018-03-19 20:25:14 UTC
@Alexey Can you still reproduce this issue with Dolphin 17.12.3? If not, I'll close this bug soon™.
Comment 6 Julian Steinmann 2018-04-02 11:20:03 UTC
No response -> closing. Please reopen if you can still reproduce this behavior with the newest version of Dolphin.