Bug 480567

Summary: Cannot resize GTK apps by the border after snapping to a screen corner
Product: [Plasma] kwin Reporter: B Negri <b.gomes.negri>
Component: Quick TilingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: b.gomes.negri, dougshaw77, m.mcnutt
Priority: NOR Keywords: qt6
Version First Reported In: git master   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
URL: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6745
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Log of Firefox with WAYLAND_DEBUG=1
List of installed packages

Description B Negri 2024-01-30 21:50:17 UTC
Created attachment 165368 [details]
Log of Firefox with WAYLAND_DEBUG=1

SUMMARY
After snapping a GTK app like D-Feet or Firefox to a screen edge or corner, it is impossible to resize it by dragging on its borders.
Exception is when the GTK app is side-by-side with a Qt app that can be resized normally, then both apps can be resized at the same time by dragging on the space between them as normal.

STEPS TO REPRODUCE
1. Launch a GTK app
2. Drag it to a screen edge/corner
3. Let go
4. Try resizing it by dragging on its borders

OBSERVED RESULT
Resizing is possible

EXPECTED RESULT
Resizing is not possible

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 40 Rawhide
(available in About System)
KDE Plasma Version: 5.92.0 (Desktop says 6.0 RC1)
KDE Frameworks Version: 5.248.0
Qt Version: 6.6.1

ADDITIONAL INFORMATION
Output of rpm -qa (list of all installed packages) and launching Firefox with WAYLAND_DEBUG=1 and reproducing the bug attached.
Comment 1 B Negri 2024-01-30 21:50:47 UTC
Created attachment 165369 [details]
List of installed packages
Comment 2 Matt 2024-01-31 01:46:39 UTC
I can reproduce this on Fedora Kinoite Rawhide. It is also not just snapping but windows placed in meta+t tiling spaces
Comment 3 Doug 2024-01-31 04:01:54 UTC
Is the problem that one can or can't resize after snapping an app to a corner or screen edge?  I am able to, on KDE Neon Testing.
Comment 4 B Negri 2024-01-31 04:03:21 UTC
The problem is that one cannot resize after snapping to a screen corner or edge
Comment 5 Doug 2024-01-31 04:07:38 UTC
(In reply to B Negri from comment #4)
> The problem is that one cannot resize after snapping to a screen corner or
> edge

Thank you.
Comment 6 Vlad Zahorodnii 2024-01-31 08:46:00 UTC
It's a GTK bug.