Bug 202945 - deleted directories still appears on nepomuk search results
Summary: deleted directories still appears on nepomuk search results
Status: RESOLVED DUPLICATE of bug 152777
Alias: None
Product: nepomuk
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-07 14:21 UTC by FiNeX
Modified: 2011-01-06 15:47 UTC (History)
5 users (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 FiNeX 2009-08-07 14:21:56 UTC
Case A:
1) create a test directory: "foo"
2) comment it with "bar"
3) search for "bar" on the dolphin nepomuk search bar
-> "foo" directory is displayed
4) delete the "foo" folder
5) search for "bar" on the dolphin nepomuk search bar
-> "foo1" directory is displayed with the trash icon
6) empty the trash
7) search for "bar" on the dolphin nepomuk search bar
-> "foo1" directory is still displayed with the trash icon

Additional step:
8) clicking on "foo1" makes dolphin display an error message on a dialog box: "file or folder ... doesn't exists".

Case B:

1) Create a directory "foo"
2) Create a sub directory "bar"
3) Comment "bar" with "foobar"
4) Sarch for "foobar"
-> "bar" directory is shown
5) Delete "foo"
6) Sarch for "foobar"
-> "bar" directory is shown again even if it has been deleted (it was a subdirectory of "foo" which has been deleted on step 5)

7) clicking on "bar" makes dolphin display an error message on the status bar: "file or folder ... doesn't exists"

* * *

When an item is deleted it should be removed from nepomuk too.

Closing and reopening dolphin sometimes updates the DB, but not always. For example I've done the steps about 5 times with different strings and directories. After closing and reopening dolphin, some items has been removed from the nepomuk search, others not.



P.S. @Peter Penz: should I report steps A-8 and B-7 behaviour into a new dolphin bug?
Comment 1 Luciano Leveroni 2009-08-09 17:33:07 UTC
I can confirm this with KDE 4.3.0. The tag is not removed immediately. At first I thought is just will not be removed, but some minutes afterwards (maybe after closing Dolphin?) the tag is removed.

Btw, using folderview with tags rocks! :)
Comment 2 Peter Penz 2009-08-10 20:18:44 UTC
@FiNeX: yes, it would be nice if you could report A-8 and B-7 as separate report :-) Thanks in advance!
Comment 3 FiNeX 2009-08-10 20:50:59 UTC
@Peter: ok, I've created bug #203351 .
Comment 4 Benji 2010-03-02 23:15:37 UTC
any news on this? for me it's still a significant issue on 4.4...
Comment 5 Sebastian Trueg 2011-01-06 15:47:49 UTC
Resolving as duplicate since all bugs of this kind boil down to the same problem: there still is no good way to monitor all file operations on the system.

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