Bug 514474 - Clearing overview's filter add filtered windows with the wrong scale
Summary: Clearing overview's filter add filtered windows with the wrong scale
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-overview (other bugs)
Version First Reported In: 6.5.4
Platform: CachyOS Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-12 00:34 UTC by Jérôme L
Modified: 2026-01-12 19:05 UTC (History)
1 user (show)

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


Attachments
observed result, filter windows with ' clear filter, the windows animates when reappearing, dolphin is bigger than expected (1.04 MB, video/mp4)
2026-01-12 00:34 UTC, Jérôme L
Details
expected result, the windows doesn't animate when reappearing (851.79 KB, video/mp4)
2026-01-12 00:43 UTC, Jérôme L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jérôme L 2026-01-12 00:34:42 UTC
Created attachment 188426 [details]
observed result, filter windows with ' clear filter, the windows animates when reappearing, dolphin is bigger than expected

SUMMARY
In overview, filtered windows reappear with shuffled scale and position, forcing an animation.

STEPS TO REPRODUCE
1. Open several windows
2. Filter windows (the issue is more impressive when all windows are filtered)
3. Clear the filter

OBSERVED RESULT
Windows move a lot each time they reappear.
One of the window is always with maximum scale, as if it didn't account for the other windows.

EXPECTED RESULT
Less or no move and scale animations when the filter is cleared.

SOFTWARE/OS VERSIONS
Linux: 6.18.3
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Wayland
Built kwin at commit d3ac0c4ee78eb124a569ba8862bc18b211f9b012

ADDITIONAL INFORMATION
Comment 1 Jérôme L 2026-01-12 00:43:10 UTC
Created attachment 188427 [details]
expected result, the windows doesn't animate when reappearing

It looks better without expoLayout.forceLayout(); in onObjectAdded (https://invent.kde.org/plasma/kwin/-/blob/master/src/plugins/private/qml/WindowHeap.qml:159)

However, the new windows now appear at the same place, which doesn't look that good.
N.B. I don't know what forceLayout is for, removing it may break something else.