GNOME Bugzilla – Bug 759091
notebook tab stays hovered if mouse leaves slowly
Last modified: 2015-12-07 16:42:39 UTC
Created attachment 316846 [details] screen recording. See attached screen recording using gtk3-widget-factory. I see this with current trunk and 3.18.5.
Created attachment 316886 [details] [review] GtkNotebook: Use gdouble in coordinate calculations Otherwise rounding errors fool the "tab under coordinates" checks on crossing events, which will be triggered close enough to the window rectangle if the pointer moves slowly enough. With this, the tab_prelight() function correctly figures out we've moved the pointer outside the tab area when called in gtk_notebook_leave_notify().
Review of attachment 316886 [details] [review]: Looks good to me.
Attachment 316886 [details] pushed as c0477c2 - GtkNotebook: Use gdouble in coordinate calculations