[vlc-commits] [Git][videolan/vlc][master] Revert "qml: use `OpacityAnimator` instead of `NumberAnimation` in `Bookmarks`"

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Sat Mar 28 23:07:47 UTC 2026



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
e7dc5885 by Fatih Uzunoglu at 2026-03-28T23:51:04+01:00
Revert "qml: use `OpacityAnimator` instead of `NumberAnimation` in `Bookmarks`"

OpacityAnimator can not be used here due to QTBUG-66475 (requiring explicit
from value), because the states may change before the animations complete
where in that case we can not use explicit from value.

This reverts commit 5eb4ccd365342ecaab01b110f23b8365300d59a6.

- - - - -


1 changed file:

- modules/gui/qt/player/qml/Bookmarks.qml


Changes:

=====================================
modules/gui/qt/player/qml/Bookmarks.qml
=====================================
@@ -56,9 +56,9 @@ Item {
         Transition {
             to: "hidden"
             SequentialAnimation {
-                OpacityAnimator {
+                NumberAnimation{
                     target: control
-                    from: 1.0 // QTBUG-66475
+                    properties: "opacity"
                     to: 0
                     duration: VLCStyle.duration_short; easing.type: Easing.OutSine
                 }
@@ -69,9 +69,9 @@ Item {
             to: "visible"
             SequentialAnimation {
                 PropertyAction { target: control; property: "visible"; value: true; }
-                OpacityAnimator {
+                NumberAnimation{
                     target: control
-                    from: 0.0 // QTBUG-66475
+                    properties: "opacity"
                     to: 1
                     duration: VLCStyle.duration_short; easing.type: Easing.InSine
                 }



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/e7dc588554d80a11aaf9fbed0f86737dc37213c3

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/e7dc588554d80a11aaf9fbed0f86737dc37213c3
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list