Bug 314419

Summary: Timeline directory is not refreshed when deleting a document
Product: [Unmaintained] nepomuk Reporter: Andy <sxxe>
Component: kioslave - nepomuksearchAssignee: Nepomuk Bugs Coordination <nepomuk-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aspotashev, me, nepomuk-bugs
Priority: NOR    
Version: 4.9.98 RC3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andy 2013-02-04 13:41:09 UTC
For example, navigate to "timeline:/today/" in dolphin and delete a file (shift + del).

The file will get physically deleted but it is still visible in dolphin because the view is not getting refreshed.



Reproducible: Always

Steps to Reproduce:
1. open "timeline:/today/" in dolphin
2. delete a file by hitting shift+del keyboard shortcut
Actual Results:  
The file is still visible in dolphin

Expected Results:  
The file should be not visible because it does not exist anymore
Comment 1 Vishesh Handa 2013-02-04 13:42:50 UTC
The Folder in the QueryService doesn't seem to re-run the query when the resource is removed. Seems like a problem with the ResourceWatcher.
Comment 2 Vishesh Handa 2013-02-04 13:46:47 UTC
The ResourceWatcher only emits the ResourceRemoved signal when we are watching that resource or types related to that resource. In the QueryFolder we only watch via Properties.

Need to fix that, but we need proper unit tests before that. Need to make sure all the cases are covered.
Comment 3 Vishesh Handa 2013-06-10 21:49:06 UTC

*** This bug has been marked as a duplicate of bug 312888 ***