Bug 508471 - Toggle overview hangs display for a few seconds
Summary: Toggle overview hangs display for a few seconds
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: effects-overview (other bugs)
Version First Reported In: 6.4.4
Platform: NixOS Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-19 12:57 UTC by statauskersa33
Modified: 2025-09-03 03:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Video showing 2 monitors a few applications started and how the display hangs when pressing toggle overiew (3.28 MB, video/mp4)
2025-08-19 13:12 UTC, statauskersa33
Details

Note You need to log in before you can comment on or make changes to this bug.
Description statauskersa33 2025-08-19 12:57:17 UTC
SUMMARY
Using toggle overview is not instant and takes a few seconds to load holding the system.

STEPS TO REPRODUCE
1. In settings, change global animation speed to instant.
2. Setup 6 workspaces
3. Open a few applications on different workspaces (same thing happens when using dual or single monitor setup) 
4. press keybind for toggle overview
5. the system display should hang for a few seconds (in those few seconds its possible that one-five frames will be updated)  

OBSERVED RESULT
Runs faster when there are less workspaces and applications, but that doesn't work for how I use my computer. When comparing to Gnome desktop, on Gnome showing overview is near instant.
Having individual CPU monitoring enabled and pressing the overview, seems that one core runs at 100% usage.

EXPECTED RESULT
Pressing toggle overview to instantly show the overview.

SOFTWARE/OS VERSIONS
Operating System: NixOS 25.11
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.16.0 (64-bit)
Graphics Platform: X11
Processors: 16 ร— AMD Ryzen 9 7940HS w/ Radeon 780M Graphics
Memory: 24 GiB of RAM (22.7 GiB usable)
Graphics Processor 1: AMD Radeon 780M
Graphics Processor 2: zink Vulkan 1.4

ADDITIONAL INFORMATION
Personally, I don't need animations or live preview on what's happening in the application overview. I tried searching for a setting to: disable live preview or to use only app icon, or display only a snapshot of the application - but I wasn't able to find such option.
Comment 1 statauskersa33 2025-08-19 13:12:10 UTC
Created attachment 184252 [details]
Video showing 2 monitors a few applications started and how the display hangs when pressing toggle overiew
Comment 2 statauskersa33 2025-08-19 13:18:25 UTC
Sorry, I don't see how to edit the previous message, but I am using Wayland not X11
Comment 3 Nate Graham 2025-08-19 19:24:16 UTC
Your hardware is powerful; this definitely shouldn't be happening.

For what it's worth, I have similar hardware (7940U, everything else the same) and toggling overview with animations disabled is 100% instant for me.

Is it any better with animations turned on?

Does it work as expected in a new clean user account on the same computer?
Comment 4 statauskersa33 2025-08-19 19:50:22 UTC
> Is it any better with animations turned on?
Well... Depends.

Setup:
- Still running the same session as when the attached clip has been recorded (laptop has been running 11hours)
- Laptop display out (I have disconnected the external display)
- power plugged in, everything is set to max performance (same as before)
- 2 "browsers" streaming videos at 1080p
- Animations set to instant.
Toggling overview is not great, about 150-200ms but when trying after a few minutes it can be about 500ms, not pleasant. CPU usage only spikes on a single core to ~45%, also checked the nvme performance it is not being a bottleneck.

Testing with Animations speed set 8th step (from the left):
- About 800-900ms of frozen screen when it unfreezes i instantly see the overview view.

>Does it work as expected in a new clean user account on the same computer?
Do you mean a new user or a clean install?
Comment 5 Nate Graham 2025-08-19 19:52:34 UTC
A new user account. A clean installation would be a bit of an invasive thing to ask you to do!

Though if you can (maybe with a live session via a USB flash drive) that would be useful information to know as well.

Basically, anything to narrow down what might specifically might be causing this, especially because I can't reproduce it with almost identical CPU and GPU hardware, which points away from the idea of it being a GPU driver issue or a general code issue with Overview.
Comment 6 statauskersa33 2025-08-19 21:22:11 UTC
One thing I haven't mentioned is that it doesn't happen from startup, it happens after running for some time.

Same device: After reboot, running for 58mins couldn't replicate (100-150ms toggle overview).
Same device, new user after maybe 15 minutes couldn't replicate (100-150ms toggle overview, tried dual monitor also).
Thinkpad x270: liveboot couldn't replicate the issue in a few minutes. (100-200ms toggle overview)
Huawei D15: liveboot couldn't replicate the issue in a few minutes.(100-200ms toggle overview)

I don't know how to replicate the issue, but I had it happen quite a few times - just that today I ran out of patience lol. I will keep an eye out and update when I catch it.

One last thing that maybe is related that I noticed that when changing workspace, even if the app on for example is on workspace 1 and is placed on the left half, swapping workspace made the application window spawn in a location as if the app was just started and not on the left side.
Comment 7 Bug Janitor Service 2025-09-03 03:48:22 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 8 statauskersa33 2025-09-03 03:57:25 UTC
Cannot be at my setup for a month, cannot attempt to reproduce the issue/havent encountered it again. 

Also swapped from nix to arch