Nyx0uf/qlImageSize

Broken on mavericks

Nyx0uf opened this issue · 29 comments

Image preview doesn't seem to work on 10.9, looks like the QL plugin is not used to render the preview, no idea why at the moment.

Works fine for thumbnails though.

Any news on this?

Unfortunately I'm very busy these days and I don't have time to investigate the problem.

Ok, no prob :) - pls update here when you have had time to look at it :)

Please update when you get a chance. Thanks.

Whatever I try the preview function will not get called.

Tried creating a new empty project to simply display images but it's the same comportment, the plugin is not called, so looks like a bug with public.image UTI. I filled a radar to Apple.

Too bad it doesn't work (yet). It's a great "plugin" 👍

Hi Nyx0uf,

I have run some tests, I have compiled and run some other quicklook plug-ins, just to compare with yours.
These are some conclusions:

  • First: If it's set a different UTI than public.image the plug-in will take place. Even I have added a different UTI to your proyect and it's called by the system.
  • Second: I have deleted all plugins in /System/Library/QuickLook, and then I have tried to preview a webpage: the default plugin is not being executed (because is does not exist), BUT If try to preview a image then the system's image 'previewer' take place. That means that images are being previewed with like a built-in plugin that is not in system/library or any other place. Maybe we should try to trace system calls...

Finally, I am able to override other files UTIs (.strings, webpages...) and they work fine but images are like a special case when the system always use the default previewer.

Maybe my explanation is not really clear, but if you got some questions I'll gladly answer all of them :)

Hoping to help a little bit, David.

Hi,

Thanks for testing !

That's weird because I tried replacing public.image with public.jpeg/png etc etc... but I still didn't get it to work in the end.

removing the Image plug-in should be sufficient (it declares only public.image as an UTI)

Anyway, I'll run some more test.

I also have tried a different image plugin
http://www.code-line.com/software/sneakpeekphoto/
And also it does not work, I think that finder or preview handles directly images file types, avoiding any quicklook plugin to take over.

Maybe the issue I'm having is similar. I am trying to write a plugin to display videos at half size (1:1 on retina) and no matter what I do, the system plugin is being called instead of mine. Even when qlmanage insists mine is the only one registered for public.movie.

If anyone can help debug this further don't hesitate to post progress 😃

Hi, I have a similar problem with my plugin. But what I just noticed was although I have public.image the only images it works with are .psd and .icn But not any other images like jpg, png, tif ??. I hope this tidbit helps some one find the problem. Because it is driving me nuts

The problem lies with Apple, we can't do anything for now.

If you guys didn't do it, fill a radar, the more we there will be the better : bugreport.apple.com

Thanks. Just done one. Are you able to look and see what other people have filed?

No we can't see other people reports, that's why there is OpenRadar (http://openradar.appspot.com/page/1)

That's great. Thanks

Fantastic plugin. I cannot believe that this is the only one like it! It seems like such a basic feature that is missing. I need it all the time for game development, and specifically when most of the assets are on network volumes. Thanks for your time and work on this Nyx0uf!

Currently works with .psd and .tga and doesn't with .jpg, .png and .gif. I am on 10.9.1. Hope this helps. Great plugin! Thanks!

.jpf & .bmp are ok too. qlImageSize works like that alone and with other plugins.

Just tested my plugin. Works with jpeg 2000

On 2 Feb 2014, at 02:31, markhunte mark.hunte@btinternet.com wrote:

Just tested my plugin. Works with jpeg 2000

I'm trying with all betas of 10.9.2 but so far it is still not fixed :(

And as @artiomist said, the plugin works for less common image formats (bmp, tga...) but not for jpg,png,gif.

Well the good news is it appears to work on the first OS X 10.10 beta ;) I wouldn't expect any fix for Mavericks from Apple though...

@Nyx0uf that is great news! any chance you could play with qlretinavideos on 10.10 (if you have a Retina Mac, of course)? I've never been able to use it, so I haven't a clue if it actually works.

Has anyone tested 10.9.3? Edit: I did for a moment, not having any success

Sorry I don't own a retina machine

Thanks for confirming the fix in 10.10.

I can confirm my plugin also works on 10.10 (RSully/qlretinavideos#1).

@Nyx0uf do you do anything special to reset quick look to "see" the plugin? I only was able to use it via Finder after a reboot.

probably a cache problem, qlmanage -r and qlmanage -r cache

Right, we kept trying qlmanage -r, didn't think of adding cache.

Closing this since Yosemite is out and fixes the bug. For people on Mavericks, too bad, looks like Apple didn't care enough to make patch.

Just thought I would mention that Apple responded to my bug report to confirm resolution in Yosemite. No mention of Mavericks.