| Summary: | The window opening / closing "Glide" effect is broken in Plasma 5.23 beta | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | tromzy |
| Component: | effects-various | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | nate |
| Priority: | HI | Keywords: | regression |
| Version First Reported In: | 5.22.90 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/kwin/commit/63eccbb6abbebd8112197eb0e6678aa2c5e34707 | Version Fixed/Implemented In: | 5.23 |
| Sentry Crash Report: | |||
|
Description
tromzy
2021-09-21 09:45:35 UTC
Can confirm. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/1444 Git commit c29c437e580026696d63aa82f083b020cb7c13b8 by Vlad Zahorodnii. Committed on 21/09/2021 at 12:20. Pushed by vladz into branch 'master'. effects/glide: Adjust the effect to projection matrix changes With per-screen rendering, the projection matrix is no longer created with the workspace geometry, i.e. all screen geometries united, so the center of the workspace geometry may not map to (0, 0) in the clip coordinates. GLRenderTarget::virtualScreenGeometry() can be used to query the rect that was used to create the projection matrix. M +2 -1 src/effects/glide/glide.cpp https://invent.kde.org/plasma/kwin/commit/c29c437e580026696d63aa82f083b020cb7c13b8 Git commit 63eccbb6abbebd8112197eb0e6678aa2c5e34707 by Vlad Zahorodnii. Committed on 21/09/2021 at 12:21. Pushed by vladz into branch 'Plasma/5.23'. effects/glide: Adjust the effect to projection matrix changes With per-screen rendering, the projection matrix is no longer created with the workspace geometry, i.e. all screen geometries united, so the center of the workspace geometry may not map to (0, 0) in the clip coordinates. GLRenderTarget::virtualScreenGeometry() can be used to query the rect that was used to create the projection matrix. (cherry picked from commit c29c437e580026696d63aa82f083b020cb7c13b8) M +2 -1 src/effects/glide/glide.cpp https://invent.kde.org/plasma/kwin/commit/63eccbb6abbebd8112197eb0e6678aa2c5e34707 |