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

--- Comment #6 from c001-kd3-bug-squ33...@ubermail.me ---
(In reply to Christoph Feck from comment #5)
> It also needs to determine the file type, i.e. it opens every file and reads
> the first few bytes.

Why?!?

I mean, sure, you probably want to filter the list and exclude any files that
gwenview can't display anyway (completely reasonable for a good user
experience) and determining the type by inspecting the content is a lot more
reliable than by filename extension, but if that means I have to wait for the
program until it read the beginning of 10k files, I would prefer a file name
based filter (which works in >99% of the cases too and would be much faster).

Another alternative would be to at least cache the result of the file
inspection (so that one has to wait only the first time an image has to be
inspected). But honestly, I am not sure it is a good idea to throw 'Caching' at
such a simple problem, even if the chance of a broken cache is so unlikely.

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

Reply via email to