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 641726 - Make the boxpointer movement smoother for the arrow
Make the boxpointer movement smoother for the arrow
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2011-02-07 14:54 UTC by Quentin "Sardem FF7" Glidic
Modified: 2011-02-09 17:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Change the checks for the alternate drawing (10.73 KB, patch)
2011-02-07 14:54 UTC, Quentin "Sardem FF7" Glidic
needs-work Details | Review
Change the checks for the alternate drawing (10.95 KB, patch)
2011-02-09 16:15 UTC, Quentin "Sardem FF7" Glidic
committed Details | Review

Description Quentin "Sardem FF7" Glidic 2011-02-07 14:54:17 UTC
Created attachment 180303 [details] [review]
Change the checks for the alternate drawing

The alternate drawing of boxpointers arrow is not smoothy enough to be visually nice. It should be adaptive to the exact place of source and boxpointer and not all-at-once.
Comment 1 Dan Winship 2011-02-09 14:34:11 UTC
Comment on attachment 180303 [details] [review]
Change the checks for the alternate drawing

Nice. However, if you slow things down (Alt-F2, lg, St.set_slow_down_factor(5), Esc), it becomes obvious that there's still a "jump", at the point when it switches from drawing a full arrow to drawing a half arrow. It would be better if it smoothly adjusted between those points as well.
Comment 2 Quentin "Sardem FF7" Glidic 2011-02-09 16:15:11 UTC
Created attachment 180480 [details] [review]
Change the checks for the alternate drawing

A little bit of Math.{min,max} magic and it's now perfect!
Comment 3 Dan Winship 2011-02-09 17:50:02 UTC
committed. thanks