[effects/sheet] Decrease the default animation duration
ClosedPublic

Authored by zzag on Oct 21 2018, 6:34 PM.

Details

Summary

For some historical reasons, the sheet effect uses animation duration of
500ms. In comparison to other effects that animate the appearing and the
disappearing of windows, 500ms is too high value for the duration.

As the title says, this change decreases the default animation duration
to 300ms. The new duration is more saner.

The opacity is animated to make the effect look smoother with the
shorter animation duration.

BUG: 400021
FIXED-IN: 5.15.0

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
zzag created this revision.Oct 21 2018, 6:34 PM
Restricted Application added a project: KWin. · View Herald TranscriptOct 21 2018, 6:34 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
zzag requested review of this revision.Oct 21 2018, 6:34 PM
graesslin accepted this revision.Oct 22 2018, 4:12 AM
This revision is now accepted and ready to land.Oct 22 2018, 4:12 AM
This revision was automatically updated to reflect the committed changes.