tags 728319 + patch thanks Yavor Doganov wrote: > It seems like Preview is not capable of opening images.
Attached is a trivial patch that fixes this. These methods were removed in 2005 (it's even in the upstream ChangeLog), but apparently he forgot to remove the code that registers the notification observers. Somehow we got away with it, but not with -base 1.22 or newer. The bad news is that stable is affected so an update has to be prepared.
Description: Fix exception while loading an image. Don't register observers for non-existing notifications/selectors. Author: Yavor Doganov <ya...@gnu.org> Bug-Debian: http://bugs.debian.org/728319 Forwarded: no Last-Update: 2014-06-19 --- --- preview.app.orig/Document.m +++ preview.app/Document.m @@ -291,16 +291,6 @@ name: @"TEST" object: imageView]; - [[NSNotificationCenter defaultCenter] addObserver: self - selector: @selector(_notifyMouseDown:) - name: @"MOUSEDOWN" - object: nil]; - - [[NSNotificationCenter defaultCenter] addObserver: self - selector: @selector(_notifyMouseUp:) - name: @"MOUSEUP" - object: nil]; - }