Bug 314419 - Timeline directory is not refreshed when deleting a document
Summary: Timeline directory is not refreshed when deleting a document
Status: RESOLVED DUPLICATE of bug 312888
Alias: None
Product: nepomuk
Classification: Unmaintained
Component: kioslave - nepomuksearch (show other bugs)
Version: 4.9.98 RC3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Nepomuk Bugs Coordination
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-04 13:41 UTC by Andy
Modified: 2013-06-10 21:49 UTC (History)
3 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 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 ***