Opened 3 months ago

Last modified 3 months ago

#19033 new bug

Query edit doesn't work as expected

Reported by: tzu_mi Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Kits/libtracker.so Version: R1/beta5
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

as in the subject, when you edit a query, after you confirm the edit window hangs for a few seconds , but the new query is not applied in the opened window, but if you close the window, and reopen it, the window shows the result of the edited query hrev 58035

Change History (4)

comment:1 by humdinger, 3 months ago

FWIW, I cannot reproduce. Works in hrev57849, 64bit, as well as hrev58015 and hrev58035.

comment:2 by humdinger, 3 months ago

Hold on. I could reproduce once when search a very common file like all images with an "e" on all disks. Subsequent queries worked, maybe they were in the cache, after all pretty much every file has an "e" in it...

comment:3 by tzu_mi, 3 months ago

I forgot to say it happens only with Tracker's "find" interface, cli works as expected

Try to open a query for "scren.h", obviously you wont get anything, then edit the search (alt+g or edit menu), and try again with the correct "Screen.h", press search and the find panel will hangs, but the window won't update the search

close the window, go to the queries folder, reopen the last, and you'll get the correct result

comment:4 by CalistoMathias, 3 months ago

This issue seems to happen because the Tracker application doesn't cause the results window to quit. The source code does not seem to have an explicit way of causing the window itself to close. I added in this fix in this Gerrit Push: https://review.haiku-os.org/c/haiku/+/8169

This seems to fix the issue.

Note: See TracTickets for help on using tickets.