Skip to content
  • Matthias Clasen's avatar
    GtkStyleContext: Avoid over-eager animation cancellation · 9f008e34
    Matthias Clasen authored
    When validating the style context, we are copying the animations
    from one StyleValues instance to another, and cancel the old ones.
    It turns out that sometimes the old and the new StyleValues are
    the same, and in this case, we end up cancelling the animations
    for good.
    
    One case where breakage from this was observed is that the spinners
    in gtk3-widget-factory stop spinning when you open and close a modal
    dialog on page 2. This depends a bit on the window manager; the problem
    can only be seen if opening the dialog causes a transition to backdrop.
    9f008e34