Bug 401191

Summary: [feature] - make panel dragging mechanism multi-monitor aware
Product: [Unmaintained] lattedock Reporter: leftcrane <leftcrane>
Component: applicationAssignee: Michail Vourlakos <mvourlakos>
Status: RESOLVED FIXED    
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:51:30 UTC
SUMMARY

The application should follow the last active window per monitor, not the last active window across all monitors.

For example the drag and double click functionality (maximize/restore/move) and buttons applet (compiled from git) works only if the window is activated. Since on KDE only one window is active per screen, you can't use the functionality unless you activate the window first.

The panel therefore doesn't have the expected behavior of a titlebar. A titlebar can be used without first having to separately click-activate the window and the panel should be consistent with this behavior.



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:28:32 UTC
this is not as simple as it sounds especially for the plasmoids to follow the same behavior
Comment 2 leftcrane 2018-11-29 07:25:22 UTC
related issue for reference: Bug 401191

I currently have the tilebars just going below the panel anyway (they are still there). If only there was some way to transfer a click from a black space on the panel onto the underlying titlebar, it would act like a true titlebar, indepenendently of the number of monitors. 

One would also need to prevent the user from inadvertently clicking the close buttons on the windows though, and that would be messy.
Comment 3 Michail Vourlakos 2019-01-19 16:30:00 UTC
(In reply to leftcrane from comment #2)
> 

this is already supported from current git version...
Active windows must be in the LatteView's screen in order to be draggable, active windows from other screens shouldnt be draggable at this state...