Bug 154733 - Statusbar information aren't updated when filesize is changed
Summary: Statusbar information aren't updated when filesize is changed
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Mark
URL:
Keywords:
: 163784 290844 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-12-28 08:11 UTC by Michael Braun
Modified: 2012-10-27 14:48 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
dolphin_statusbar.png (186.77 KB, image/png)
2007-12-28 08:11 UTC, Michael Braun
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Braun 2007-12-28 08:11:01 UTC
Version:            (using KDE KDE 3.97.0)
Installed from:    Mandriva RPMs

When you open e.g. a PNG file from dolphin in gwenview and change the size of the picture and save it back to the same name, dolphin did not update the file size in the status bar before using "F5" to refresh the list. The information sidebar is showing the correct size if you hover over the icon. (see attachement)
Comment 1 Michael Braun 2007-12-28 08:11:28 UTC
Created attachment 22727 [details]
dolphin_statusbar.png
Comment 2 Peter Penz 2008-01-17 22:23:54 UTC
Thanks for the report, I can confirm this. But as far as I know it is not possible to get informed about a size change of a file without polling...

@David: Is my assumption correct?
Comment 3 David Faure 2008-01-18 13:29:45 UTC
On Thursday 17 January 2008, Peter Penz wrote:
> Thanks for the report, I can confirm this. But as far as I know it is not possible to get informed about a size change of a file without polling...

Yes and no. It depends on the underlying method used by KDirWatch.
If KDirWatch uses polling (directly, or via FAM) then you're out of luck, 
but if KDirWatch uses the linux kernel "inotify" (directly, or via FAM) then
KDirWatch gets those signals afaik. Not sure if propagates all of them though,
iirc it buffers them to prevent too many gui updates, but it should still send them.
Cc'ing dirk for confirmation.
Comment 4 Dirk Mueller 2008-01-18 20:08:52 UTC
On Friday 18 January 2008, David Faure wrote:

> Yes and no. It depends on the underlying method used by KDirWatch.
> If KDirWatch uses polling (directly, or via FAM) then you're out of luck,
> but if KDirWatch uses the linux kernel "inotify" (directly, or via FAM)
> then KDirWatch gets those signals afaik. Not sure if propagates all of them
> though, iirc it buffers them to prevent too many gui updates, but it should
> still send them. Cc'ing dirk for confirmation.


It should work with polling and inotify, not with fam or dnotify though. do 
you have famd running?


Greetings,
Dirk
Comment 5 Peter Penz 2008-06-11 21:06:37 UTC
*** Bug 163784 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2008-12-14 19:36:05 UTC
Any news on this ?

Here using:

Qt: 4.4.3
KDE: 4.1.85 (KDE 4.1.85 (KDE 4.2 Beta2))
kdelibs svn rev. 896844 / kdebase svn rev. 896844

on ArchLinux 2.6.27.8 x86_64
without FAM

Selecting an txt file in Dolphin, and then reediting it and saving its content on KWrite reflect the filesize change in the statusbar, however the information panel (which is updated when I first hover in the txt file when selecting it) isn't updated. It's only updated when I "re-hover" the file
Comment 7 Mark 2010-09-02 02:08:42 UTC
Confirmed with KDE 4.5.1
Comment 8 Mark 2010-09-19 02:32:53 UTC
I'm going to work on this one.. assigning it to myself.
Updates soon.
Comment 9 Dario Andres 2011-02-20 13:47:46 UTC
[Comment from a bug triager]
Have anyone else experienced this ? I just re-check it against KDE SC 4.6 branch and it works. The statusbar information is updated (with file selected, or no selection) when files on the current directory change size... Tested with a text file on a local directory. No FAM
Regards
Comment 10 Alexey Chernov 2011-02-20 20:12:13 UTC
I can't reproduce it, too, either with text files or images (JPG). FAM installed (gamin-0.1.10).
Comment 11 Jekyll Wu 2012-01-07 05:52:15 UTC
*** Bug 290844 has been marked as a duplicate of this bug. ***
Comment 12 Bryan Cuneo 2012-10-25 22:16:26 UTC
[Part of the Dolphin Bug Weeks 2012]
This is not reproducable in Dolphin 2.1 (KDE SC 4.9.2) (Kubuntu package). Judging from previous comments, it was fixed some time around KDE SC 4.6.
Comment 13 Jekyll Wu 2012-10-27 14:41:25 UTC
Close it as fixed according to the recent comments. 

Mark, please confirm or deny the fix since you have assigned this report to yourself.
Comment 14 Mark 2012-10-27 14:48:59 UTC
(In reply to comment #13)
> Close it as fixed according to the recent comments. 
> 
> Mark, please confirm or deny the fix since you have assigned this report to
> yourself.

Oh, was i.. Why did i do that? :p
Either way, the issue is indeed gone.

I just tried this on Dolphin 2.1 with Gwenview to resize an image (like the first post describes) and dolphin shows the new filesize in all places just fine.

I can't say where it got fixed.