Bug 434281

Summary: Fullscreen transition animation not working initially.
Product: [Plasma] kwin Reporter: Contijn Buijs <contijn.buijs>
Component: effects-variousAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.21.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Contijn Buijs 2021-03-11 13:35:15 UTC
SUMMARY
When playing a video, for example with mpv, when I go full-screen, it is instant without a smooth transition/animation.

Leaving full-screen shows a smooth transition and from this point on, going full-screen and back is always a smooth animation.

STEPS TO REPRODUCE
1. Play a video with MPV.
2. Go full-screen (f).

OBSERVED RESULT
First time going full-screen is without transition/animation.

EXPECTED RESULT
I expected a smooth animated transition when going full-screen.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.21.2
KDE Frameworks Version: 5.79
Qt Version: 5.15.2

ADDITIONAL INFORMATION
I noticed this behavior on Firefox as well and video's on the web.

IMPORTANT TO NOTE: I also discovered this bug only happens on initial window creation. If I move the window around first and then go full-screen, the smooth transition does happen.

But if I don't move the window, the first time going full-screen is always instant and without animation.
Comment 1 Contijn Buijs 2021-03-11 13:43:00 UTC
Apology if something is wrong here. I am new to KDE and even newer to bug reporting.

Feedback if I did something wrong is much appreciated.
Comment 2 Nate Graham 2021-03-12 23:51:53 UTC
I can reproduce the issue, but it appears to be MPV's fault for overriding the defaults. Please report this to the MPV developers. Thanks!
Comment 3 Contijn Buijs 2021-03-13 08:08:42 UTC
(In reply to Nate Graham from comment #2)
> I can reproduce the issue, but it appears to be MPV's fault for overriding
> the defaults. Please report this to the MPV developers. Thanks!

Just checked with SMPlayer and MPlayer and they do indeed show the animation.

Then I guess with Firefox it is the same then? Since there it also does not happen initially.
Comment 4 Contijn Buijs 2021-03-13 08:32:36 UTC
To clarify, in Firefox I mean using the full-screen button on video's like on YouTube for example.

Pressing F11 works with the animation, but using the full-screen button on a video does not show it the very first time.
Comment 5 Nate Graham 2021-03-13 13:54:04 UTC
Yep.
Comment 6 Contijn Buijs 2021-03-15 21:04:07 UTC
(In reply to Nate Graham from comment #2)
> I can reproduce the issue, but it appears to be MPV's fault for overriding
> the defaults. Please report this to the MPV developers. Thanks!

I made a report on mpv (https://github.com/mpv-player/mpv/issues/8652#issuecomment-799589058) and they are asking what default is being overridden.

Are you able to specify that? Then I can inform them. :)