| Summary: | Index TMDX content | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-baloo | Reporter: | noticon |
| Component: | general | Assignee: | baloo-bugs-null |
| Status: | RESOLVED DOWNSTREAM | ||
| Severity: | wishlist | CC: | nate |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
noticon
2021-11-08 04:02:05 UTC
Can you run `file --mime-type [path to file]` on one of the files that isn't getting indexed, and paste the output here? terminal returns: This is a test.tmdx: application/octet-stream Well, that's the problem. It's actually not a text file, or at least it doesn't tell the system it's a text file. It tells the system it's binary content. And Baloo avoids indexing these. If these files really are text, then this is a bug in the file format itself. The correct solution would be one of the following: 1. Correct the error in the file structure that causes the system to mis-identify it as binary content rather than text 2. Submit a patch to shared-mime-info (https://gitlab.freedesktop.org/xdg/shared-mime-info/) to make it aware of this file format, so that it identifies the files as some type of text file rather than a binary file. Thanks! I'll do that. |