Bug 291057 - dolphin (kde4.8rc2) does not refresh folder after paste
Summary: dolphin (kde4.8rc2) does not refresh folder after paste
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 2.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-09 14:14 UTC by H.H.
Modified: 2012-11-30 10:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.H. 2012-01-09 14:14:15 UTC
Version:           2.0 (using Devel) 
OS:                Linux

perhaps I should describe multiple problems here:

- dolphin seems not to refresh folders. for example after copying some files, and paste them via ctrl+v. they appear after refreshing the view (F5)

- often, when I open folders, the view area is blank, sometimes refresh (F5) helps, sometimes not and I have to switch between folders multiple times, after the view is displayed

I always use detailed-view with only folder-view on the left


Reproducible: Always

Steps to Reproduce:
see above

Actual Results:  
see above

Expected Results:  
see above

OS: Linux (x86_64) release 2.6.37.1-1.2-desktop
Compiler: gcc
Comment 1 Peter Penz 2012-01-09 14:19:11 UTC
I cannot reproduce the first issue - this sounds like a duplicate of bug 211472 and might be related to a not installed fam or an issue in KDirWatch.

The second issue might be related to bug 290182, which has been fixed recently. Do you use an up-to-date version of Dolphin or RC2?
Comment 2 H.H. 2012-01-09 14:55:39 UTC
I use the opensuse-rc2 packages from obs.

fam is installed (did not know what that is until now :-))

I hope the first issue will disappear in final 4.8 ..
Comment 3 H.H. 2012-01-09 15:17:28 UTC
its even worse with issue 1:

often, when the folder contents are correctly displayed, and I then hit refresh (F5), it gets blank
Comment 4 H.H. 2012-01-09 15:24:53 UTC
perhaps this problem only appears, when I dolphin is restored at login. at least I cannot reproduce after a restart.
Comment 5 gedgon 2012-01-09 21:48:14 UTC
(In reply to comment #1)
> I cannot reproduce the first issue - this sounds like a duplicate of bug 211472
> and might be related to a not installed fam or an issue in KDirWatch.

Isn't fam obsolete and replaced by inotify in KDE? I've gamin installed, but only as a Samba dependency.

I can definitely confirm bug 211472. This is pretty much very old critical bug. Maybe Dolphin should skip KIO/KDirWatch in this case and use kernel inotify directly?
Comment 6 Peter Penz 2012-01-10 07:39:24 UTC
> Isn't fam obsolete and replaced by inotify in KDE?

AFAIK KDirWatch should support both.

> Maybe Dolphin should skip KIO/KDirWatch in this case
> and use kernel inotify directly?

This is not possible if you don't want to lose all IO-slave in Dolphin ;-)

The strange thing is that this issue in KDirWatch seems only to occur on some distributions and it looks related to a configuration problem: On my Suse default installation I've the same problem, with my custom compiled KDE everything works fine. This still might indicate a problem in KDirWatch, but obviously it is not an issue that occurs in all environments.
Comment 7 gedgon 2012-01-10 09:59:19 UTC
(In reply to comment #6)

> with my custom compiled KDE
> everything works fine. This still might indicate a problem in KDirWatch, but
> obviously it is not an issue that occurs in all environments.

That strange, indeed. Are you using FAM?
Arch build are pretty much vanilla, so...
I will try my luck without -DWITH_FAM=OFF and fam daemon.

btw. Here's interesting screenshot ( http://img28.imageshack.us/img28/7475/snapshotvk.png ). This bug not only look random but results are different among apps.
Comment 8 gedgon 2012-01-11 07:22:34 UTC
(In reply to comment #7)
> I will try my luck without -DWITH_FAM=OFF and fam daemon.

Nothing changed with FAM. Still random behavior ;(
Comment 9 gedgon 2012-01-11 22:01:14 UTC
Sorry Peter for bothering you again about this, but I've found some pattern for scenario similar to this from screenshot above. I think it can be easly reproduced and I'm not sure anymore about KDirWatch fault. Looks like KDirWatch works fine. Please taka a look at this. http://youtu.be/y10uE7Ey5lA
Comment 10 Peter Penz 2012-01-11 22:25:20 UTC
Thanks for the video and your efforts to help! My guess us that the issue in your video has the same root cause as bug 290172 that has been fixed after RC2. Sadly I cannot investigate further into this at the moment to be 100% sure... :-(
Comment 11 Peter Penz 2012-01-11 22:26:26 UTC
ah, typo: meant bug 290182
Comment 12 Jeroen van Meeuwen (Kolab Systems) 2012-08-24 16:21:30 UTC
Resetting assignee to default as per bug #305719
Comment 13 Jekyll Wu 2012-08-30 14:00:22 UTC
Is it still an issue in recent versions like KDE SC 4.8.5 or 4.9 ?
Comment 14 gedgon 2012-08-30 21:23:27 UTC
(In reply to comment #13)
> Is it still an issue in recent versions like KDE SC 4.8.5 or 4.9 ?

Yes.
Comment 15 Frank Reininghaus 2012-11-29 22:14:20 UTC
(In reply to comment #14)
> (In reply to comment #13)
> > Is it still an issue in recent versions like KDE SC 4.8.5 or 4.9 ?
> 
> Yes.

Is that 'yes' meant for the "dolphin seems not to refresh folders" issue? In that case, it's probably been fixed just today (bug 211472), and this report can be closed.
Comment 16 gedgon 2012-11-30 10:13:20 UTC
Of course. Great news, btw. Thanks.
Comment 17 Frank Reininghaus 2012-11-30 10:24:17 UTC
All right, let's close it then. Thanks!