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 728927 - Force PopupSubMenu arrow rotation angles to multiples of 90
Force PopupSubMenu arrow rotation angles to multiples of 90
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: system-status
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 731550 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-04-25 05:58 UTC by Hashem Nasarat
Modified: 2014-09-03 15:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Force PopupSubMenu arrow rotation angles to multiples of 90 (2.22 KB, patch)
2014-04-25 05:58 UTC, Hashem Nasarat
committed Details | Review

Description Hashem Nasarat 2014-04-25 05:58:15 UTC
When you open or close a PopupSubMenu the arrow icon rotates, but
the code previously assumed that the starting angle was a multiple
of 90.  If you click the submenu fast enough the rotation could overlap
with the previous rotation and you'd get something that wasn't a multiple
of 90.
Now we ensure that the ending arrowRotation angle is always a multiple
of 90 regardless of what the starting angle is.
Comment 1 Hashem Nasarat 2014-04-25 05:58:19 UTC
Created attachment 275105 [details] [review]
Force PopupSubMenu arrow rotation angles to multiples of 90
Comment 2 Florian Müllner 2014-07-10 12:28:53 UTC
*** Bug 731550 has been marked as a duplicate of this bug. ***
Comment 3 Florian Müllner 2014-07-10 12:45:53 UTC
Review of attachment 275105 [details] [review]:

OK