Opened 4 months ago

Last modified 4 months ago

#18824 new bug

Tracker directory view isn't updated if the directory was locked during file creation — at Initial Version

Reported by: LupusMichaelis Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Applications/Tracker Version: R1/beta4
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

The intent is, in a same thread, to create files in a directory that has been locked (for consistency).

So far, the files are created (you can access them and list them), but an open Tracker view of the directory isn’t properly updated. Only the last written file may be displayed when the directory's unlocked.

I wrote a [small program](https://gitlab.com/LupusMichaelis/belab/-/tree/trunk/dirlocker) to narrow down the behaviour. The Makefile expose a bug target you can use to automatically launch the example.

[Discussion on forum](https://discuss.haiku-os.org/t/tracker-refresh-view-after-a-directorys-been-locked/14671)

Change History (2)

by LupusMichaelis, 4 months ago

Attachment: main.cpp added

Exemple to launch the Tracker and create files in a locked directory

by LupusMichaelis, 4 months ago

Attachment: Makefile added

The receipe to build and test

Note: See TracTickets for help on using tickets.