Port FolderView to ContainmentLayoutManager plugin

Authored by mart on Jul 22 2019, 8:42 AM.

Description

Port FolderView to ContainmentLayoutManager plugin

Summary:
Remove the Javascript based layout manager and use the ContainmentLayoutManager plugin instead.
functionality doesn't change, minimal ui changes and solves some issues related to plasmoids resizing and screen resolution changes: now applets stay with the same distance to their nearest border or center.
Touch manipulation also works better as resize handles and applet handle buttons become bigger when interacting with touch, also pinch-based resizing is now possible

Depends on D22034

Test Plan:
running since a while, seems to be stable and some of long standing bugs seem to be solved.
now resizing gets correctly blocked when it collides with another applet and changing temporarly screen resolution doesn't mess up the layout that much
Config migration script also works correctly

Reviewers: ngraham

Reviewed By: ngraham

Subscribers: davidedmundson, ngraham, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D22035

Details

Committed
martJul 22 2019, 8:43 AM
Reviewer
ngraham
Differential Revision
D22035: Port FolderView to ContainmentLayoutManager plugin
Parents
R119:f254f9be8457: [Night Color KCM] Add "Constant" mode
Branches
Unknown
Tags
Unknown