Bug 372978

Summary: Restored session doesn't update view with new files even when refreshed
Product: [Applications] dolphin Reporter: Brennan Kinney <polarathene-signup>
Component: view-engine: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 16.08.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Brennan Kinney 2016-11-27 02:04:29 UTC
Manjaro KDE 16.10 x64 - Latest packages.

I've noticed this quite a few times over past month or two(that I've been using KDE, no idea if it's a regression or gone unnoticed). When I reboot/shutdown with apps like dolphin open with multiple tabs and I restore the session on login, everything seems fine until an app such as browser download or docker saves a file into one of the file locations a restored session tab is displaying. The new file/folder is not visible. 

I've tried to navigate away by going up parent directories or using back/forward to refresh the location but the files still do not display. In a terminal session I can list the files/folders and see the new ones at that location. Opening a new dolphin instance and navigating to the location also reveals the files. I recall that at some point some files did reveal themselves, it may have been an hour or longer, I was doing some pdf generation and the ownership was not my local user for this usecase. So I think it's still possible the files may reveal eventually in the restored Dolphin session without opening a fresh instance of Dolphin.
Comment 1 Nate Graham 2017-09-04 04:16:26 UTC
Odd issue. I'm not able to reproduce with Dolphin 16.12.3. Please leave a comment if you can still reproduce using a newer version of the software.
Comment 2 Brennan Kinney 2017-09-04 10:57:06 UTC
(In reply to Nate Graham from comment #1)
> Odd issue. I'm not able to reproduce with Dolphin 16.12.3. Please leave a
> comment if you can still reproduce using a newer version of the software.

I haven't noticed it recently. Test case if reproducible would be:

1. Open few tabs in dolphin
2. Reboot
3. Session is restored, dolphin pops up with tabs from prior session
4. Via another instance of dolphin or app that adds a file to a location the restored Dolphin window has
5. Check if the tab displays the new file(supposedly not notified of new file).
Comment 3 Nate Graham 2017-09-04 12:58:54 UTC
Thanks! I haven't been able to reproduce with that set of steps, but it's good to have that here for reference in case it ever starts happening again.