Opened 4 years ago

Last modified 3 years ago

#15571 new enhancement

[Tracker] Snif files in MIME filtered windows asynchronously

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

Description

This is so applications that filter their open... actions with mimetypes can allow users to open stuff that was obtained without setting a mimetype, a good example i encountered was png files synched over git which then didn't have any mimetype and thus weren't visible to WonderBrush.

Proposed solution: If tracker stumbles upon a file with no mimetype set during it's filtering add that to a list of to be-sniffer files and start sniffing asynchronously (and add to the list based on the result)

Alternatively Tracker could do this for all it's windows and not just during filtering.

Change History (3)

comment:1 by humdinger, 4 years ago

In case it wasn't clear, the above described the experience in WonderBrush's open file dialog.

comment:2 by jessicah, 3 years ago

I think I would prefer the alternative scenario, maybe an option to disable auto-sniff?

comment:3 by pulkomandy, 3 years ago

John's patch for thumbnails sets up the required code to run a task in the background and scan all the files. I think we could just modify it so it identifies the files in the process?

Note: See TracTickets for help on using tickets.