https://bugs.kde.org/show_bug.cgi?id=421317

--- Comment #14 from Stefan Brüns <stefan.bru...@rwth-aachen.de> ---
(In reply to tagwerk19 from comment #11)
> (In reply to Christoph Feck from comment #4)
> > From the backtrace, it looks like there is a text file larger than 2 GiB. 
> > Qt only supports up to 2 GiB.
> Not sure what Baloo would do with a 2GB file...
> 
> Thought there was a "rough limit" of 10 Mbyte, see
>     https://bugs.kde.org/show_bug.cgi?id=410680#c7
> 
> Doesn't always seem to cut in, maybe does for some filetypes and not others.
> Cf Bug 447681

The limit is currently only applied when the detected mimetype is a subtype of
"text/", not when it is a specialized (inherited) type of e.g. text/plain. For
example, "application/json" or "message/rfc822".

For a more complete list:
$> grep -E '<mime|sub-class' /usr/share/mime/packages/freedesktop.org.xml |
grep -B1 -E 'sub-class.*text/' | grep -v 'mime-type.*text/' | sed -nE
'/mime-type/ { N; s@.*="([^"]*).*\n.*"(.*)".*@\1 \t->\t\2 @ ; p} '  | tee
/dev/stderr | wc -l

That lists 64 types.

You can find such files with e.g.
$> baloosearch -t Text mimetype:application or mimetype:message

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to