Skip to content
Commit 7a319db4 authored by Tiernan Hubble's avatar Tiernan Hubble Committed by Nate Graham
Browse files

Fix Slide effect on Wayland

Qt Wayland windows have their internal Wayland surface destroyed when they're
hidden, and re-created when they're shown. Since `KWindowEffects::slideWindow()`
requires the Wayland surface, it doesn't work when called after `hide()` and
before `show()`. The solution is simply to call it directly after `show()`; window
opening animations are asynchronous so the effect is applied to the window as
it's opening.

BUG: 447456
FIXED-IN: 22.04
parent 8b0f2849
Loading
Loading
Loading
Pipeline #143544 passed with stage
in 46 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment