Re: nautilus loves to preview unfinished files



On Fri, 2004-07-02 at 10:48 +0200, Alexander Larsson wrote:
> On Tue, 2004-06-29 at 08:30, Davyd Madeley wrote:
> > So, Galeon (I don't know about epiphany) marks partially downloaded
> > files as foo.bar.part, and upon completion renames them to foo.bar.
> > 
> > Nautilus loves to keep repreviewing these files, and eating up all my
> > CPU time in the process. Nautilus also likes to repreview files that
> > it's copying from one server to my home.
> > 
> > Surely it would be better to not have nautilus preview files until they
> > are done? Perhaps instead just use the clock on the page icon (maybe if
> > people were feeling smart, do the MacOSX bar filling as it's
> > transferred).
> 
> How would you do it though?

Well for files which are *.part, create a mime/type such as text/html
+partial or audio/ogg+partial or even application/x-nautilus-partial (or
something) which isn't previewed by nautilus. Thereby saving the CPU
through it's constant desire to repreview things.

Doing percentage completion would be a lot harder. Safari apparently
stores the percentage completed in the metadata for the file. Perhaps
this part is something to consider for later on. That said, if we added
support, people would add support.

--d

-- 
http://davyd.ucc.asn.au/
 
PGP Fingerprint <http://davyd.ucc.asn.au/pgp>
08B0 341A 0B9B 08BB 2118  C060 2EDD BB4F 5191 6CDA

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]