Skip to content

Animate split view mode toggling

Felix Ernst requested to merge felixernst/dolphin:animatesplitting into master

Have the secondary ViewContainer slide into/out of view when split view mode is switched on or off by the user.

This should help users understand what split view mode is about. Without the animation it might seem like the only thing the button does is creating a weird vertical line in the middle of the view or something. With the animation it should be clear that the second view is a separate entity that was added. The closing animation will help users understand which of the ViewContainers was just closed.

Because the animation is lightning-fast I added a slow motion Action Replay to the video which shows how this code handles the corner case of a ViewContainer closing while another one opens. 2020-11-14_12-03-27

(The animation might be smoother when not using a virtual machine like in the video.)

Edited by Felix Ernst

Merge request reports