Summary: | GTK4 apps have no closing animation | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Jin Liu <ad.liu.jin> |
Component: | effects-various | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | nate |
Priority: | NOR | Keywords: | qt6 |
Version: | 5.90.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/3663453c7d0c5ad09120dbfff183ac80d2fe97c5 | Version Fixed In: | 6.0 |
Sentry Crash Report: |
Description
Jin Liu
2023-12-09 11:04:19 UTC
Can reproduce. It looks like d-spy unmaps the wl_surface by attaching a nil buffer before destroying the xdg_toplevel. It's quite rare, but I guess kwin should still handle that. (In reply to Vlad Zahorodnii from comment #2) > It looks like d-spy unmaps the wl_surface by attaching a nil buffer before > destroying the xdg_toplevel. It's quite rare, but I guess kwin should still > handle that. I have three GTK4 apps in my laptop: d-spy, easyeffects and kooha. And they all have this problem. So probably it's a common GTK4/libadwaita issue. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4787 Git commit 3663453c7d0c5ad09120dbfff183ac80d2fe97c5 by Vlad Zahorodnii. Committed on 13/12/2023 at 14:06. Pushed by vladz into branch 'master'. scene: Freeze SurfaceItem tree when the Window is closed If the wl_surface is unmapped, the compositor should unmap the window. Most clients don't do it, and instead destroy the wl_surface or the surface role object or both. A very tiny fraction of clients actually close the window by unmapping the wl_surface. Either way, it's worth handling that case because xdg-shell protocol says that the clients are allowed to do it. M +4 -0 src/scene/surfaceitem.cpp M +2 -0 src/scene/surfaceitem.h M +16 -0 src/scene/surfaceitem_wayland.cpp M +1 -0 src/scene/surfaceitem_wayland.h M +9 -0 src/scene/windowitem.cpp M +1 -0 src/scene/windowitem.h https://invent.kde.org/plasma/kwin/-/commit/3663453c7d0c5ad09120dbfff183ac80d2fe97c5 |