D18000: Modernize easing function of slidingpopups effect.
Sefa Eyeoglu <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
sefaeyeoglu added a comment. I can only speak from experience. I don't know if there are any scientific studies that look at user experience with a focus of animation. **So this is my own opinion:** Animations should be quick and clear. An object should animate in a clearly comprehensible way. That means that an object should not appear out of nowhere. It should rather come from a place the user can't see. As we have four screen borders we could just let the object translate from a screen edge, similar to how one would open a drawer in the real world. Of course this is similar to the Material Design Guidelines as this is about comparing design to the real world. Now to this example: Let's say we have an application launcher menu in the bottom left of the screen. When I click it I expect it to come out of the lower screen edge on the left. Now thinking in the real world: When I open a drawer it does not fade in and only travel a specific short distance. I can see it open from 0% open to 100% open without any jump. Therefore the application launcher should act like a real drawer. Now let's talk about the timing of the animation. I don't open a drawer in just 150ms like in the slidingpopups effect. These 150ms may be tweaked to a bit longer, while staying snappy. There is a range of time where an animation has the perfect length. But that depends on the distance and easing and should be further investigated. **TL;DR** - Animations should resemble their real world counterpaths (e.g. Sliding Popups -> Opening a drawer in the real world) - Timing should be investigated - Timing depends on distance and easing. REPOSITORY R108 KWin REVISION DETAIL https://phabricator.kde.org/D18000 To: sefaeyeoglu, #vdg, zzag, #kwin Cc: ngraham, abetts, davidedmundson, zzag, kwin, sukalyanbanga, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, sebas, apol, mart