Am 16.07.2013 um 08:57 schrieb Beatrix Willius <[email protected]>:

> Hi Christian,
> 
> 1. QuickLookMBS is dog-slow. It takes 3 seconds for a 300kb Word file on my 3 
> year old MacPro. Can you try to speed this up?

No. It's just a function from Apple we call.
Of course you can use QLPreviewPanelMBS to show the panel which may be quicker 
or show progress.

> 2. Because of the speed I moved the QuickLookMBS code into a thread. When an 
> attachment is loaded that needs QuickLook a thread is created to get the 
> picture data. When a new attachment is loaded that doesn't need QuickLook the 
> thread is killed. But this doesn't make any difference. When I do some 
> logging the QuickLook code is always executed and not killed. Is this related 
> to 

The quick look method does not yield time. Running it on a thread does not help 
much.
I could of course make a more thread aware version doing the work in background 
thread.

Greetings
Christian

-- 
MBS Xojo Developer Conference 2013

More details and registration here:
http://www.monkeybreadsoftware.de/realbasic/events/






_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to