GNOME Bugzilla – Bug 683617
Can't take screenshots (Mac OS)
Last modified: 2012-10-14 15:11:58 UTC
(Mac OS 10.7.4) Steps to reproduce: Open Gimp in multi window mode. (My window setup: dock window on the left, large main window covering the rest of the screen.) File -> Create -> Screenshot. No popup to be seen. Discover that something got added to the Mac OS dock, click on that icon -> the "Screenshot" popup appears (behind the dock window, would be better if it would be completely visible). Make sure that "... single window" is selected. Click "Snap" - the popup disappears (also the icon in the OS dock). No screenshot appears. If I try the same for "... entire screen", I get an image, but it is completely black.
I had downloaded Gimp from ftp://ftp.gimp.org/pub/gimp/v2.8/osx/gimp-2.8.2-dmg-2.dmg . ("About Gimp" says "2.8.3".)
It is actually GIMP 2.8.2. Confirming this on OS X 10.6. The same is for capturing an area: the dialog window gets closed, I select an area, but nothing happens. It worked in Simones X11 2.6.12 build (I just checked this back). A workaround is to use the builtin Mac functions for screenshots (To save your finger bones, you should assign another, more convenient shortkey to this function ;-). I heard, this bug was already known, but found no 'duplicate master'. Maybe somebody else knows more?
I've patched the screenshot plugin to use the standard Mac OS X screenshot utulity. The 'GIMP on OS X' builds already include this patch for a long time. The patch is attached.
Created attachment 226413 [details] [review] use standard Mac OS X screenshot utility
Thanks Karin that looks very complete and nicely hacked up, will take care of applying.
Err Simone...
Hmm, on my mac, /tmp is not user writable, very strange. Will change the patch to use another location.
Fixed in master and gimp-2-8. Seems the screenshot utility can write to /tmp anyway. Fixed formatting and the ifdefs to include all the options that are available. commit f3c1186e5f4849be6468b788a268098ada58f75c Author: Simone Karin Lehmann <sikale@web.de> Date: Sun Oct 14 17:03:24 2012 +0200 Bug 683617 - Can't take screenshots (Mac OS) Use the standard Mac OS X screenshot utulity, it supports everything: delay, capture decoration, capture region, even the mouse pointer. (cherry picked from commit 85445c88c3ec593af2f0436c13e0ed2010d73086) plug-ins/common/screenshot.c | 127 ++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 122 insertions(+), 5 deletions(-)