Bug 386838 - Dolphin doesn't update view (doesn't show new files)
Summary: Dolphin doesn't update view (doesn't show new files)
Status: RESOLVED DUPLICATE of bug 387663
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 17.04.3
Platform: Kubuntu Linux
: NOR major
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-13 06:07 UTC by jeremy9856
Modified: 2018-05-14 05:32 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jeremy9856 2017-11-13 06:07:55 UTC
Hello,

I'm on Kubuntu 17.10 and Dolphin (17.04.3) doesn't update the view and doesn't show new files even if you change directory.

Thanks !
Comment 1 Nate Graham 2017-11-13 14:21:05 UTC
I'm also on Kubuntu 17.10 and this doesn't happen to me, so it's not a universal issue. Might be an issue with your configuration somehow.

Can you include detailed Steps To Reproduce or a screen recording?
Comment 2 jeremy9856 2017-11-13 19:15:44 UTC
Thank to your feedback I found the problem ! I use a SSD and I saw somewhere that to preserve it you could use noatime or lazytime in fstab. I used lazytime, so I removed it, rebooted and the problem is gone !

Should I use noatime or something else or nothing maybe to preserve my SSD ?

Thanks !
Comment 3 Nate Graham 2017-11-13 19:37:14 UTC
Glad to hear it! Yes, noatime is preferred to lazytime if that's something that you're concerned about. Modern SSDs are pretty good about working around wear issues though, so unless you've got a really unusual workflow, your SSDs shouldn't wear out in normal use.
Comment 4 jeremy9856 2017-11-20 19:36:19 UTC
Well I spoke too soon :(
If I download a file and go to the directory the file doesn't appear ! I need to manually refresh Dolphin.
Comment 5 Nate Graham 2017-11-20 19:37:53 UTC
Which browser? Firefox?
Comment 6 Elvis Angelaccio 2017-11-20 19:45:59 UTC
This could be https://bugs.kde.org/show_bug.cgi?id=374075

What's your version of kcoreaddons?
Comment 7 jeremy9856 2017-11-20 20:13:55 UTC
5.39
Comment 8 jeremy9856 2017-11-20 20:14:43 UTC
(In reply to Nate Graham from comment #5)
> Which browser? Firefox?

Chrome 62
Comment 9 jeremy9856 2017-11-20 20:21:46 UTC
It's the same if I extract a file with Arc
Comment 10 jeremy9856 2017-11-24 05:54:56 UTC
Well it seem to work now after a kernel (and other packages but nothing related to kde it seem) update. Will see if it happen again.
Comment 11 jeremy9856 2017-11-26 18:00:44 UTC
Well it happen again :(
Comment 12 jeremy9856 2017-11-29 19:25:19 UTC
I there something I can do to help fix this ?
Comment 13 Elvis Angelaccio 2017-11-29 20:45:41 UTC
Try to run dolphin from konsole with:

$ QT_LOGGING_RULES=kf5.kcoreaddons.kdirwatch.debug=true dolphin
Comment 14 jeremy9856 2017-12-02 14:19:39 UTC
It happened once but the command didn't show anything.
Comment 15 jeremy9856 2017-12-04 18:32:40 UTC
I finally managed to get some infos :


Trying to convert empty KLocalizedString to QString.
qt.accessibility.core: Cannot create accessible child interface for object:  PlacesView(0x5566b6e8ab40)  index:  6
kf5.kcoreaddons.kdirwatch: inotify failed for monitoring "/usr/share/templates" : Aucun espace disponible sur le périphérique
kf5.kcoreaddons.kdirwatch: inotify failed for monitoring "/usr/share/templates" : Aucun espace disponible sur le périphérique
kf5.kcoreaddons.kdirwatch: fsWatcher->addPath "/usr/share/templates"
inotify_add_watch("/usr/share/templates") failed: "No space left on device"
kf5.kcoreaddons.kdirwatch: inotify failed for monitoring "/media/Data/Downloads" : Aucun espace disponible sur le périphérique
kf5.kcoreaddons.kdirwatch: inotify failed for monitoring "/media/Data/Downloads" : Aucun espace disponible sur le périphérique
kf5.kcoreaddons.kdirwatch: fsWatcher->addPath "/media/Data/Downloads"
inotify_add_watch("/media/Data/Downloads") failed: "No space left on device"
kf5.kio.core: KSambaShare: Could not find smb.conf!
kf5.kcoreaddons.kdirwatch: inotify failed for monitoring "/home/jeremy/Téléchargements/Films" : Aucun espace disponible sur le périphérique
kf5.kcoreaddons.kdirwatch: inotify failed for monitoring "/home/jeremy/Téléchargements/Films" : Aucun espace disponible sur le périphérique
kf5.kcoreaddons.kdirwatch: fsWatcher->addPath "/home/jeremy/Téléchargements/Films"
inotify_add_watch("/home/jeremy/Téléchargements/Films") failed: "No space left on device"
kf5.kcoreaddons.kdirwatch: inotify failed for monitoring "/home/jeremy/Téléchargements/Linux" : Aucun espace disponible sur le périphérique
kf5.kcoreaddons.kdirwatch: inotify failed for monitoring "/home/jeremy/Téléchargements/Linux" : Aucun espace disponible sur le périphérique
kf5.kcoreaddons.kdirwatch: fsWatcher->addPath "/home/jeremy/Téléchargements/Linux"
inotify_add_watch("/home/jeremy/Téléchargements/Linux") failed: "No space left on device"
kf5.kcoreaddons.kdirwatch: inotify failed for monitoring "/home/jeremy/Téléchargements/Livres" : Aucun espace disponible sur le périphérique
kf5.kcoreaddons.kdirwatch: inotify failed for monitoring "/home/jeremy/Téléchargements/Livres" : Aucun espace disponible sur le périphérique
kf5.kcoreaddons.kdirwatch: fsWatcher->addPath "/home/jeremy/Téléchargements/Livres"
inotify_add_watch("/home/jeremy/Téléchargements/Livres") failed: "No space left on device"
kf5.kcoreaddons.kdirwatch: inotify failed for monitoring "/home/jeremy/Téléchargements/Office" : Aucun espace disponible sur le périphérique
kf5.kcoreaddons.kdirwatch: inotify failed for monitoring "/home/jeremy/Téléchargements/Office" : Aucun espace disponible sur le périphérique
kf5.kcoreaddons.kdirwatch: fsWatcher->addPath "/home/jeremy/Téléchargements/Office"
inotify_add_watch("/home/jeremy/Téléchargements/Office") failed: "No space left on device"
kf5.kcoreaddons.kdirwatch: inotify failed for monitoring "/home/jeremy/Téléchargements/Photos" : Aucun espace disponible sur le périphérique
kf5.kcoreaddons.kdirwatch: inotify failed for monitoring "/home/jeremy/Téléchargements/Photos" : Aucun espace disponible sur le périphérique
kf5.kcoreaddons.kdirwatch: fsWatcher->addPath "/home/jeremy/Téléchargements/Photos"
inotify_add_watch("/home/jeremy/Téléchargements/Photos") failed: "No space left on device"
Comment 16 Nate Graham 2017-12-04 18:34:55 UTC
inotify_add_watch("/usr/share/templates") failed: "No space left on device"
inotify_add_watch("/media/Data/Downloads") failed: "No space left on device"
inotify_add_watch("/home/jeremy/Téléchargements/Films") failed: "No space left on device"

That looks like your problem. :) Your disk is full! Please re-open if your disk is not in fact full and the error message is not accurate.
Comment 17 jeremy9856 2017-12-04 18:37:44 UTC
Well I should have mention that my disk is far from full :D

$ df -h
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
udev               1,9G       0  1,9G   0% /dev
tmpfs              389M    6,3M  383M   2% /run
/dev/sda1           20G     11G  7,4G  60% /
tmpfs              1,9G     25M  1,9G   2% /dev/shm
tmpfs              5,0M    4,0K  5,0M   1% /run/lock
tmpfs              1,9G       0  1,9G   0% /sys/fs/cgroup
/dev/sda2           96G     25G   67G  27% /media/Data
tmpfs              389M       0  389M   0% /run/user/119
encfs               96G     25G   67G  27% /media/Data/Decrypted
tmpfs              389M     12K  389M   1% /run/user/1000
Comment 18 jeremy9856 2017-12-05 07:11:48 UTC
I'm not the only one impacted by this problem. I'm just the only one that took time to report :

https://www.reddit.com/r/kde/comments/7fusw0/dolphin_doesnt_update_view/
Comment 19 jeremy9856 2017-12-07 12:31:58 UTC
I reported the bug against kcoreaddons too

https://bugs.kde.org/show_bug.cgi?id=387663
Comment 20 Christoph Feck 2017-12-19 22:12:20 UTC
inotify_add_watch() fails with "No space left on device" when the number of allowed kernel inotify watches has been reached. Please ask in a forum of your distribution how to increase this limit.
Comment 21 jeremy9856 2017-12-21 11:47:16 UTC
(In reply to Christoph Feck from comment #20)
> inotify_add_watch() fails with "No space left on device" when the number of
> allowed kernel inotify watches has been reached. Please ask in a forum of
> your distribution how to increase this limit.

Don't seem to be the reason

https://bugs.kde.org/show_bug.cgi?id=387663#c1
Comment 22 Nate Graham 2018-01-30 14:41:35 UTC
I hate to back-dupe, but it looks like Bug 387663 is tracking the real culprit: inotify_add_watch() failing even when there appear to be enough kernel watches available.

*** This bug has been marked as a duplicate of bug 387663 ***
Comment 23 cipricus 2018-05-14 05:32:05 UTC
It is still present in Ubuntu 18.04.
Dolphin 17.12.3
KDE Plasma 5.12.4
KDE Framework 5.44.0
Qt 5.9.5
Kernel 4.15.0-20-generic
64-bit

Opening in parallel Dolphin and PCManFM (or other program able to create files and folders, including in terminal), and creating a new file or folder in the latter, that file or folder is not visible in Dolphin until refreshing with F5. If the file or folder is created with Dolphin, or if Dolphin is started after the creation of the file or folder, Dolphin displays it.


- files/folders have to be created in a different program

- automatic refresh: absent in Dolphin (restart or refresh needed)