Bug 401192

Summary: Support titlebar hiding and dragging from the panel for tiled windows
Product: [Unmaintained] lattedock Reporter: leftcrane <leftcrane>
Component: applicationAssignee: Michail Vourlakos <mvourlakos>
Status: RESOLVED INTENTIONAL    
Severity: wishlist    
Priority: NOR    
Version First Reported In: git (master)   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description leftcrane 2018-11-19 08:59:01 UTC
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
Comment 1 Michail Vourlakos 2018-11-19 12:25:18 UTC
I sounds messy... but I will leave it open in case a clean solution is found in the future
Comment 2 leftcrane 2018-11-23 01:01:34 UTC
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.
Comment 3 Michail Vourlakos 2018-11-23 05:23:45 UTC
Feel free to provide a solution for review...
Comment 4 Michail Vourlakos 2018-11-23 05:23:49 UTC
Feel free to provide a solution for review...
Comment 5 Michail Vourlakos 2018-12-21 10:09:46 UTC
sorry handling only the active window for this will keep things simple in codepage