Created attachment 164726 [details] GTK4 app crosses over titlebar, Qt app will not SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. install Firefox, Thunderbird, and Gnome Calculator (or other GTK 4 app) 2. open any of the above programs 3. move the window such that titlebar pushes up against a panel that is set to "Always Visible" OBSERVED RESULT the titlebar can move through the panel. EXPECTED RESULT The titlebar should hard stop at the panel- as it does with Qt apps SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: KDE Neon Unstable (available in About System) KDE Plasma Version: 5.91.90 KDE Frameworks Version: 5.248.0 Qt Version: 6.6.1 ADDITIONAL INFORMATION
Do you have the "drag to top to maximize window" setting disabled? When it enabled, dragging anything up to the top of the screen--or its top-most panel--is supposed to maximize the window, but I don't see that happening in your screen recording. I can reproduce the issue with that setting disabled, but not with it enabled.
Created attachment 164836 [details] video of apps maximizing when dragged to top of screen.
(In reply to Nate Graham from comment #1) > Do you have the "drag to top to maximize window" setting disabled? When it > enabled, dragging anything up to the top of the screen--or its top-most > panel--is supposed to maximize the window, but I don't see that happening in > your screen recording. > > I can reproduce the issue with that setting disabled, but not with it > enabled. I disable Maximize: Windows Dropped to Top Edge, as often I want to drag a window to the top edge and not maximize it and find that behavior pretty frustrating (there's already a maximize button right there, too!) I just added a video showing how, on my computer, the issue as defined in the bug title persists either way, though the problem of the titlebar being covered by the panel is masked by the maximize behavior repositioning the titlebar in the correct location.
This is issue is specific to client-side decorated windows. The work area constraining code in kwin relies on knowing the titlebar rect.