GNOME Bugzilla – Bug 137050
Rectangular selection size includes non-image portion
Last modified: 2006-02-18 23:13:42 UTC
It the image size is less than image window and rectangular selection is applied to select a part of image including one of the image boundaries and the selection starts outside the image, the statusbar displayes the whole selection size. F.g. if I start selection at the {-5;-10} and the current mouse position is {7;15}, the statusbar displayes the selection size as {12;25} instead of {7;15}. It is not convenient. It should only show the size of the part of the selection, coincide with the image.
This is debatable: although it could make sense to show only the "effective size" of the selection for rectangular selections, this would not work for circular selections. So fixing this issue could bring inconsistencies between the selection tools. I am confirming this bug anyway, because it would be worth discussing the options for improving the display of the selection size. Maybe we could display both sizes if at least one corner of the selection is outside the image? So when the selection fits entirely inside the image, the current format would not change. But when the selection goes partially outside the image it would display the total size as usual, followed by something like " (inside image: WxH)".
*** Bug 141717 has been marked as a duplicate of this bug. ***
At least it would help to be able to see the final size of the rectangular selection in the title/status bar, see bug #141718.
*** This bug has been marked as a duplicate of 326450 ***