Opened 10 years ago

Last modified 5 months ago

#4798 assigned bug

Query result isn't removed when parent folder of queried object is put into Trash

Reported by: humdinger Owned by: nobody
Priority: normal Milestone: R1
Component: Applications/Tracker Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

This is hrev33599.

  • Create a New Folder on the Desktop.
  • Create therein a file, name it "froody".
  • Open the find panel and query for "froody".
  • Delete the newly created folder (move it to Trash).

Now the query result window should reflect that by removing the entry of froody with the path /boot/home/Desktop/New Folder/ and instead show it in /boot/home/Desktop/Trash/New Folder/ (or at least remove the entry, if you exclude the Trash from the query). But it doesn't.

Emptying the Trash will correctly remove the entry.

If you leave out the folder from that procedure, i.e. delete the queried object directly, everything works as expected.

Change History (3)

comment:1 Changed 10 years ago by humdinger

Summary: Query result isn't removed when queried object is put into TrashQuery result isn't removed when parent folder of queried object is put into Trash

comment:2 Changed 2 years ago by axeld

Component: Kits/Storage KitApplications/Tracker
Owner: changed from axeld to nobody
Status: newassigned

What's part of the query is entirely up to Tracker's view of the world; the system itself doesn't care about it.

comment:3 Changed 5 months ago by humdinger

Retested with hrev52663. We're doing a bit better with this passage in brackets:

Now the query result window should reflect that by removing the entry of froody with the path /boot/home/Desktop/New Folder/ and instead show it in /boot/home/Desktop/Trash/New Folder/ (or at least remove the entry, if you exclude the Trash from the query). But it doesn't.

If we exlude the Trash, the entry now is indeed removed from the result window. When including the Trash, however, the entry remains with the path /boot/home/Desktop/New Folder/, so appears not to be in Trash.

Note: See TracTickets for help on using tickets.