Bug 401191 - [feature] - make panel dragging mechanism multi-monitor aware
Summary: [feature] - make panel dragging mechanism multi-monitor aware
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: git (master)
Platform: Kubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-19 08:51 UTC by leftcrane
Modified: 2019-01-19 16:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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...