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 171497 - Wrong offset indication when moving layers up or left
Wrong offset indication when moving layers up or left
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Tools
2.2.x
Other Linux
: Normal minor
: 2.2
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2005-03-24 15:52 UTC by Sven Lafebre
Modified: 2008-01-15 12:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sven Lafebre 2005-03-24 15:52:31 UTC
Version details: SuSE 9.2 rpm
Distribution/Version: SuSE Professional 9.2

When dragging an image layer up or left with the move tool selected, the offset    
indicator in the status bar is off by one: if you drag the layer n pixels to    
the left, it says "Move: -(n-1), 0" instead of "Move: -n, 0". Moving up has a   
similar effect. The indicator is correct when moving right or down.
Comment 1 Sven Neumann 2005-03-24 17:37:53 UTC
Fixed in both trees:

2005-03-24  Sven Neumann  <sven@gimp.org>

	* app/display/gimpstatusbar.c (gimp_statusbar_push_coords) 
	(gimp_statusbar_set_cursor): use RINT() instead of ROUND() to get
	proper rounding of negative values. Fixes bug #171497.