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 152512 - Mouse pointer incorect at two corners of object resize
Mouse pointer incorect at two corners of object resize
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: GUI
git master
Other All
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2004-09-13 15:54 UTC by Adrian Custer
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Possible patch (1.41 KB, patch)
2004-09-15 14:10 UTC, Morten Welinder
needs-work Details | Review

Description Adrian Custer 2004-09-13 15:54:07 UTC
The mouse pointer, when passing over the handles in the bottom left and top
right of a sheet object, needs to invert so it's pointing to the bottom left and
top right. Currently the pointer is the same at all four corners. 

1) new gnumeric
2) In the object toolbar, select the rectangle object
3) click on the worksheet to add the rectangle object
4) move the mouse pointer over the four corner handles
==> the mouse pointer always changes to a box with two arrows pointing to the
upper left and lower right.

I would expect the arrows allways to point into and out of the graph so I'd like
there to be a mirror image made of the pointer (reflected through a vertical
axis). That way the pointer would always point into and out of the graphical
element.

--adrian
Comment 1 Morten Welinder 2004-09-14 13:45:44 UTC
Hardly major.
Comment 2 Morten Welinder 2004-09-15 14:10:05 UTC
Created attachment 31581 [details] [review]
Possible patch

There is no suitable standard cursor that mirrors the sizing cursor.  We have
two
options:

1. Roll our own.
2. Use a cursor set that has all eight directions.  [This patch]
Comment 3 Morten Welinder 2004-09-15 14:10:54 UTC
FYI: http://www.xed.ch/lwm/tcltkref/tk.cursor.html
Comment 4 Jody Goldberg 2004-09-16 04:58:01 UTC
Comment on attachment 31581 [details] [review]
Possible patch

The problem is that the current implementation can invert the shape.

This is useful when drawing arrows but not when drawing charts.

I'd previously tried to use these and decided against it because it became ugly
to change the cursors.

I'll work up a patch that uses the suggested cursors, but handles inversions.