Opened 9 months ago

Last modified 9 months ago

#18824 new bug

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

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

Description (last modified by LupusMichaelis)

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) (attached to this bug as well) 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 (3)

by LupusMichaelis, 9 months ago

Attachment: main.cpp added

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

by LupusMichaelis, 9 months ago

Attachment: Makefile added

The receipe to build and test

comment:1 by LupusMichaelis, 9 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.