Bug 460854

Summary: popup/close animation of kickoff is lag when there are windows on the desktop
Product: [Plasma] kwin Reporter: rosswzyang
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: nate
Priority: NOR    
Version First Reported In: 5.26.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: example capture
example capture

Description rosswzyang 2022-10-22 16:53:24 UTC
Created attachment 153119 [details]
example capture

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

the popup/close animation of kickoff is lag when there are windows on the desktop

STEPS TO REPRODUCE
1.  open dolphin\konsole on the desktop
2.  click kickoff


OBSERVED RESULT
2 frames are lost compared with no window on the desktop case

EXPECTED RESULT
no frame is lost

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20221020
KDE Plasma Version: 5.26.1
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 6.0.2-1-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-11320H @ 3.20GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: TIMI
Product Name: A18R

ADDITIONAL INFORMATION
Comment 1 rosswzyang 2022-10-22 16:54:53 UTC
Created attachment 153120 [details]
example capture
Comment 2 Nate Graham 2022-10-24 19:31:06 UTC
Cannot reproduce.
Comment 3 rosswzyang 2022-10-25 15:00:23 UTC
(In reply to Nate Graham from comment #2)
> Cannot reproduce.

must keep one window active and open on the desktop, then directly click kickoff, look at the pop up/close animation carefully, you will find a little bit lag compared with the case where no window is on the desktop
Comment 4 rosswzyang 2022-10-25 15:07:44 UTC
when some window is active on the desktop, if you click the kickoff, this window will transit to inactive state and has  a transition animation/effect, and this animation/effect cannot be rendered simultaneously with the pop up/close animation of kickoff seemly.
Comment 5 rosswzyang 2022-10-25 15:08:51 UTC
(In reply to rosswzyang from comment #4)
> when some window is active on the desktop, if you click the kickoff, this
> window will transit to inactive state and has  a transition
> animation/effect, and this animation/effect cannot be rendered
> simultaneously with the pop up/close animation of kickoff seemly.

this might be the underlying reason for the lag problem i think
Comment 6 rosswzyang 2022-10-25 15:19:11 UTC
(In reply to rosswzyang from comment #3)
> (In reply to Nate Graham from comment #2)
> > Cannot reproduce.
> 
> must keep one window active and open on the desktop, then directly click
> kickoff, look at the pop up/close animation carefully, you will find a
> little bit lag compared with the case where no window is on the desktop

resize kickoff more bigger, this case is more likely to occur
Comment 7 rosswzyang 2024-05-04 15:02:32 UTC
this issue can be closed, on plasma 6, everything works fine