GNOME Bugzilla – Bug 695870
commit "actor: Skip transitions on invisible actors" breaks working code - reproducer included
Last modified: 2013-03-14 22:05:31 UTC
Created attachment 238918 [details] Reproducer Commit https://git.gnome.org/browse/clutter/commit/?h=clutter-1.14&id=0d65f9461ee2a02cf400e5d8aa40c07eca43cf7c breaks mutter's flash screen code[1]. A reproducer program using that code is attached. [1] https://git.gnome.org/browse/mutter/tree/src/compositor/compositor.c#n1502
I am *very* tempted to say that it's the intended behaviour, and that if you want to override it, you're welcome to use an explicit ClutterPropertyTransition — but it's also very late in the cycle, and I don't want to cause more breakage than necessary, so I think I'll just revert the commit from the clutter-1.14 branch.
in theory, you should be able to queue an initial transition, but we short-circuit actors with 0 opacity, so the "was_painted" flag does not get unset and short-circuits the implicit transition as well. I think we should probably ignore implicit transitions on allocation until the actor is painted once, and allow other implicit transitions to be "queued".
revert pushed to the clutter-1.14 branch, and for master we'll see what we can do.