Review Request: Update KFileItem and KFileMetaPropsPlugin to only request limited metaData (avoid reading all the file and blocking the UI)

Jos van den Oever jos.van.den.oever at kogmbh.com
Sat Mar 27 15:41:54 GMT 2010


On Saturday 27 March 2010 14:22:54 Darío Andrés wrote:
> Another simple alternative would be examinate why a 64kb limit was imposed
>  when reading the metaInfo (Jos?) and try to remove that limit, (in a way
>  that doesn't cause KFileMetaInfo to read *all* the file *all the times*)
>  So, Nick could use KFileMetaInfo() and that would not affect the file
>  managers

The limit was quite arbitrary, reasoning that most metainfo would normally be 
in the first 64k easily.
If you do not want to read all files all the time, you have to come up with a 
rule when to read all and when not to.

Cheers,
Jos

-- 
Jos van den Oever, software architect
+49 391 25 19 15 53
http://kogmbh.com/legal/




More information about the kde-core-devel mailing list