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 138101 - Pointer (Information) tab should display selection bounds
Pointer (Information) tab should display selection bounds
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: User Interface
2.0.x
Other All
: Normal enhancement
: 2.8
Assigned To: GIMP Bugs
GIMP Bugs
: 435740 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-03-25 15:21 UTC by Ilmari Heikkinen
Modified: 2008-11-10 18:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ilmari Heikkinen 2004-03-25 15:21:25 UTC
It would be nice to have selection bounds info in the info palette, and/or the
statusbar.

This would basically be the same as the script-fu: (gimp-selection-bounds <img num>)

The selection information would only be updated when the selection changes if
performance is a problem.

What the selection info box would show is:
* selection top-left XY-coords
* selection bottom-right XY-coords
* selection width and height

The reason for having both the full coordinates and w/h is to avoid doing math
the slow way in wetware :)
Comment 1 Michael Natterer 2004-04-05 12:26:36 UTC
Closing as duplicate of bug #86276 and pasting this one as
comment there. We don't need to track info dialog enhancments
using multiple bugs.

*** This bug has been marked as a duplicate of 86276 ***
Comment 2 Sven Neumann 2006-09-11 15:29:20 UTC
Reopening because bug #86276 is now closed and the selection size is the only issue remaining. This information should however not go into the Info dialog but to the Cursors tab.
Comment 3 Sven Neumann 2007-05-04 07:42:02 UTC
*** Bug 435740 has been marked as a duplicate of this bug. ***
Comment 4 Martin Nordholts 2008-05-28 18:30:48 UTC
The Cursors tab (dialog) now goes under the name Pointer tab (dialog), right? I don't see the logic in putting the information about the selection mask there, mind to elaborate?
Comment 5 Sven Neumann 2008-05-29 06:57:43 UTC
It's what another well-known application does, so users expect it there. And actually, I can't think of a better place.
Comment 6 Martin Nordholts 2008-11-08 20:39:11 UTC
Well this should be easy to add, I'll try to do it for 2.8.
Comment 7 Martin Nordholts 2008-11-10 18:44:12 UTC
Added to trunk, rev 27603:

2008-11-10  Martin Nordholts  <martinn@svn.gnome.org>

	Bug 138101 – Pointer (Information) tab should display selection
	bounds

	* app/display/gimpcursorview.c: Show the position and size of the
	bounding box of the selection in the active image using the unit
	of the active image window.

	(gimp_cursor_view_format_as_unit): Don't add the unit abbreviation
	if the unit is px.