After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 355740 - crop rectangle difficult to move
crop rectangle difficult to move
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Tools
2.3.x
Other All
: Normal normal
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2006-09-13 08:49 UTC by Jeffery Small
Modified: 2008-01-15 14:08 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Jeffery Small 2006-09-13 08:49:18 UTC
After laying out a crop/resize rectangle, attempts to move the rectangle within the image area can freeze for extended periods where it is impossible to move.  Eventually the rectangle will start moving again but will likely freeze again within a short period.  This seems vcery consistent between 2.3.10 ans 2.3.11.
Comment 1 Sven Neumann 2006-09-13 10:23:54 UTC
The rectangle outline also leaves traces when highlight is enabled. Something is not quite right here.
Comment 2 Jeffery Small 2006-09-13 16:49:47 UTC
I can also confirm on my Solaris system that the display doesn't update properly when dragging a crop rectangle with highlighting on.
Comment 3 weskaggs 2006-09-13 22:18:05 UTC
I can't replicate either of these things, using HEAD.
Comment 4 Sven Neumann 2006-09-14 06:10:56 UTC
I am not sure if I reproduced what the bug reporter describes as a freeze, but I had the feeling that somehow the rectangle snaps to the borders and sticks there. The image borders should probably not be magnetic, they should just be a barrier that keeps me from enlarging the rectangle further. Currently if the rectangle touches an image border, certain movements (moving parallel to the border for example) seem difficult if not impossible.
Comment 5 weskaggs 2006-09-14 16:31:48 UTC
Regarding comment #4, I know what is causing that, and have an idea of how to fix it -- it doesn't seem like what the bug reporter is describing, though.  (And by the way, you didn't have "snap to image borders" activated, did you?)
Comment 6 Jeffery Small 2006-09-14 19:10:20 UTC
Where is "snap to image borders" set?  I don't see it on the crop options dialog and I don't find it on the Preferences menu.

Another annoying thing that I find is that "Expand from center" keeps getting unexpectedly set and I have to turn it off.  Now maybe I am inadvertently hitting the Ctrl key and doing this, although I am not aware of this happening.  However, here is an example of why I am opposed to using the Shift, Alt and Ctrl keys as option toggles.  I think they should only modify tool behavior so long as they are pressed with the tool reverting to the user's default selections as soon as the keys are released.  This is consistent with how these keys have historically been used.  Assigning them as feature toggles makes gimp's UI inconsistent with the majority of other program usage.
Comment 7 Jeffery Small 2006-09-14 19:23:35 UTC
By the way, the description Sve3n gives in cmment #4 is exactly what I am describing when I speak of freezing.  It does seem to have something to do with touching the image border.
Comment 8 weskaggs 2006-09-14 21:20:15 UTC
"Snap to image borders" can be found in the View menu (because other snapping commands are there).  Anyway, based on comment #7, I now understand what this bug report is about, and will try to fix it.  The other issues don't belong here:  one bug report for one problem, please.
Comment 9 weskaggs 2006-09-14 21:55:51 UTC
Okay, I think I have fixed this:

2006-09-14  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* app/widgets/gimprectangletool.c: even if constraining to boundaries,
	keep updating rectangel when pointer goes outside boundaries.
	Fixes bug #355740.