GNOME Bugzilla – Bug 90519
IfsCompose's design preview needs context sensitive cursors
Last modified: 2005-07-26 13:38:23 UTC
In the GFlare plug-in the mouse cursor should be changed when it enters the preview window so the user has some visual feedback to make it more obvious that you can click in the preview.
Visual feedback would indeed be nice (Hey, I didn't know this =), if its not too much work it would be nice to have in 2.0. Changing target milestone to 2.0 in response to mail sent by David Neary on the gimp-developer list.
Changed the short summary to something more general since this bug report also applies to the following plug-ins: GFlare IWarp Supernova FlareFX IfsCompose The following plug-ins already indicate (by cursor change) that the preview is clickable: GFig Fractal Explorer The following plug-ins also change the cursor but clicking the preview doesn't do anything(?): Lighting Effects Map to Object
Bumping to 2.2. Dave.
Should this be part of the new plug-in preview widget?
Maurits, I don't understand your question. The plug-ins we talk about do special things with the preview. Of course the visual feedback cannot be part of the preview widget since the preview widget doesn't know anything about this.
I just tried to fix this for nova and flarefx, but it appears impossible because GimpPreview and friends have their own idea about the preview area's cursor. Will probably need a GimpPreview API to do this. Increasing priority because it needs an API change and thus must be done before 2.2.
2004-10-13 DindinX <dindinx@gimp.org> * libgimpwidgets/gimppreview.[ch]: added a new function to set the default cursor on preview: gimp_preview_set_default_cursor(). * libgimpwidgets/gimpscrolledpreview.c: changed accordlingly. * plug-ins/common/flarefx.c: * plug-ins/common/nova.c: use this function. This addresses bug #90519.
Resetting priority to "Normal" because the API change has been done.
If someone wants to look into the remaining plug-ins. This could still be done before 2.2. Should be an easy fix.
I am not sure but I think the current choice of cursor in FlareFX, Supernova as well as Lighting Effects (and perhaps others) is somewhat unfortunate. The hand cursor is already used by the scrollable previews. Perhaps the crosshair cursor (see http://developer.gnome.org/doc/API/2.0/gdk/gdk-Cursors.html#gdk-cursor-new-for-display) would be more appropriate here?
Agreed, the hand cursor should only ever be used for moving. For picking points the crosshair you suggested in IMHO a good choice.
Fixed in CVS. Changed to FUTURE for the IfsCompose issue. 2004-10-29 Michael Natterer <mitch@gimp.org> * plug-ins/common/flarefx.c * plug-ins/common/nova.c: changed preview cursors to GDK_CROSSHAIR. * plug-ins/common/iwarp.c * plug-ins/gflare/gflare.c * plug-ins/ifscompose/ifscompose.c: added GDK_CROSSHAIR preview cursors. Not quite perfect for IfsCompose (actually needs tool- and constext-sensitive cursors) but definitely better than before. Fixes bug #90519.
So much effort for a five lines change... 2005-07-26 Sven Neumann <sven@gimp.org> * plug-ins/ifscompose/ifscompose.c: change the cursor with the tool (bug #90519).