SUMMARY Gnome has this behavior where if you have two windows tiled, dragging from the left side of the panel grabs and untiles the left window, while dragging from the right untiles the right one. This is consistent with using the top panel as a titlebar/grabbar for the windows. This behavior should be enabled to maintain consistency with the behavior of true titlebars. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kubuntu 18.10 (available in About System) KDE Plasma Version: 5.14.3 KDE Frameworks Version: 5.52.0 Qt Version: 5.11.1
I sounds messy... but I will leave it open in case a clean solution is found in the future
What about just doing it though Kwin? have a series of top panels that only partially cover the maximized/tiled titlbars. The titlebars only go below the windows if they are maximized/tiled. Then merge then modify the window decoration color/opacity/size with the that of the top panel. That way the user only interacts with the actual titlebars, not with the panel. Seems like a much cleaner and more intuitive to just interact with the titlebars.
Feel free to provide a solution for review...
sorry handling only the active window for this will keep things simple in codepage