-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add animation when objects are opened #20
Comments
In the Dock we have implemented this and it was actually very easy, but the Dock is written in Qml. How do we do this in Filer? Something in
maybe? I think our
cc @moochris |
In https://stackoverflow.com/a/52856454 Then we can use a or a
https://stackoverflow.com/q/52853322 Need to play with https://github.com/kimtaikee/resizeAnimation examples. |
While the icon is increased, we can slowly fade it out; maybe using https://doc.qt.io/qt-5/qgraphicsopacityeffect.html? |
If the opened item is a folder, the folder's window appears instantly; we might use a KWin animatin for it. If the launched item is an application, we may need to animate the application icon instead because a window may or may not appear immediately. |
Works reasonably well on the desktop; does not work 100% correctly inside folders yet References: * helloSystem/Filer#20 * helloSystem/hello#86
It looks like it can be done using QTimeLine Property Animation. |
E.g., Open animation like in https://user-images.githubusercontent.com/900690/51821977-24acd700-22db-11e9-865a-17490e445f35.gif
The text was updated successfully, but these errors were encountered: