GNOME Bugzilla – Bug 755528
Popover transitions are rather slow
Last modified: 2015-09-30 01:33:11 UTC
Created attachment 312035 [details] [review] Set the popover transition duration to 0.2s With 0.33 seconds, the popove show/hide transitions seem rather slow. GtkStack has a default of 0.2s, GtkRevealer 0.25s, while gnome-shell even uses 0.15s for their popupMenus, so gtk+'s takes more than twice as long. I don't know whether we should generally unify the default for transition durations or not, but since the popover one is modeled after the shell's, we could at least get closer to the 0.15s. Attached is a patch that changes the duration to 0.2s.
You shouldn't feel like you're waiting for the transition. Did the .15 feel choppy in gtk? Why not sync with the shell?
I picked 0.2 instead of 0.15 to be closer to the shell but also to just use the one from GtkStack. We can certainly do 0.15. It's fast enough for me, if it is not for you, you might want to wait for bug https://bugzilla.gnome.org/show_bug.cgi?id=755435, or just apply those before changing the transition duration (I have them applied locally).
Created attachment 312367 [details] [review] GtkPopover: Make transitions faster
Bug 755435 has been merged. The new patch uses .15s and the performance is no problem on my system.
Review of attachment 312367 [details] [review]: Looks fine to me
Review of attachment 312367 [details] [review]: .
already pushed