Bug 414035 - GTK CSD window maximized by dragging to the top of the screen goes below a top screen edge Panel
Summary: GTK CSD window maximized by dragging to the top of the screen goes below a to...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (other bugs)
Version First Reported In: 5.17.2
Platform: Manjaro Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 426169 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-11-11 16:47 UTC by Marcel Viehmeier
Modified: 2023-09-18 19:54 UTC (History)
4 users (show)

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


Attachments
bug example with both types (646.14 KB, image/png)
2019-11-11 16:47 UTC, Marcel Viehmeier
Details
App goes blow the panel (119.17 KB, image/png)
2020-09-26 17:10 UTC, Derek Christ
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel Viehmeier 2019-11-11 16:47:42 UTC
Created attachment 123842 [details]
bug example with both types

SUMMARY

GTK apps without Qt window decorations move above/below a panel placed at the top of a screen. GTK apps like PulseEffects or Pamac are affected. Gimp or Inkscape on Manjaro KDE apparently have Qt window decorations and do behave properly.

STEPS TO REPRODUCE
1. Take a GTK app without Qt window decorations, e.g. PulseEffects or Pamac 
2. Move the window to the top panel to maximize it by snapping
3. Window moves above the panel when dragged to the top (it's actually at the top of the screen then) and moves below the top panel when moved slowly upwards after snapping to the bottom border of the panel.

OBSERVED RESULT
A GTK app is placed above/below a top placed panel when trying to maximize it by snapping to the top and is not stopped at the bottom border of the panel.

EXPECTED RESULT
The GTK app is stopped at the bottom border of the panel just like Qt apps do.

SOFTWARE/OS VERSIONS
Windows: -
macOS: -
Linux/KDE Plasma: Linux 5.3.8-3-MANJARO x86_64
(available in About System)
KDE Plasma Version: 5.17.2
KDE Frameworks Version: 5.63.0
Qt Version: 5.13.1
Comment 1 Marcel Viehmeier 2019-11-11 16:50:18 UTC
A note i forgot: I actually use only latte-dock and it's panels, which I moved to the right on the screenshot, but I tested it with a plasma panel to make sure it's not a latte bug. It happens the same for both panels.
Comment 2 David Edmundson 2019-11-11 21:23:52 UTC
Please report to GTK.
Comment 3 Marcel Viehmeier 2019-11-17 20:16:17 UTC
I reported to GTK guys but they don't see it as a problem of GTK as it doesn't handle the positioning of windows. See https://gitlab.gnome.org/GNOME/gtk/issues/2250 for the comment.
Comment 4 Derek Christ 2020-09-26 17:06:35 UTC
*** Bug 426169 has been marked as a duplicate of this bug. ***
Comment 5 Derek Christ 2020-09-26 17:10:52 UTC
Created attachment 131949 [details]
App goes blow the panel

If the GTK app with client side decorations does not have the ability to maximize, it will just stay below the panel, making it unmovable without using the drag window button 'Alt' (or 'Meta' since Plasma 5.20).
Comment 6 Nate Graham 2023-09-18 19:54:47 UTC
This appears to be fixed now.