--Trying to find a solution in order for external docks/panels
to not overlap with desktop contents. The easiest and cleaner
way is for plasma desktop to provide margins that the user
can set to not hit such overlap.
BUG: 391073
davidedmundson | |
mart |
Plasma |
--Trying to find a solution in order for external docks/panels
to not overlap with desktop contents. The easiest and cleaner
way is for plasma desktop to provide margins that the user
can set to not hit such overlap.
BUG: 391073
No Linters Available |
No Unit Test Coverage |
Buildable 3142 | |
Build 3160: arc lint + arc unit |
I fully understand we want something. I'm not convinced by this as-is.
Code wise we already have something to make sure Containments don't overlap with hidden panels (Corona::availableScreenRect) which we override in shellcorona, I don't think we need a second one at a different layer.
UI wise, it seems non-optimial; latte dock users have to take a manual step and we get an additionally more complex UI.
Does Latte know the size a user would want? Is there a use-case outside latte?
containments/desktop/package/contents/ui/FolderView.qml | ||
---|---|---|
1127 | I don't understand this change? |
there is also availableScreenRegion that plasma is using when dragging applets but how can Latte access them ?
Only way I thought it would be a dbus protocol and that would make things complex.
UI wise, it seems non-optimial; latte dock users have to take a manual step and we get an additionally more complex UI.
Does Latte know the size a user would want?
Latte knows exactly how much space the user wants but I dont know how to inform plasma for this.
Is there a use-case outside latte?
I suppose that all dock implementations fall into the case... such as Plank, Cairo dock etc...
containments/desktop/package/contents/ui/FolderView.qml | ||
---|---|---|
1127 | when I tested the patch there was an issue when the user was dragging an applet at the edges of the desktop and in areas that now the margins are used. This qBound() is trying to only accept x,y values that are valid ones.... A case I remember was that a user was dragging an applet at the far right of the desktop and the applet was moving at the far left on the opposite side. |
I'm against this kind of micro configurations, to me seems the problem could have 2 different "proper" solutions, either
If i remember correctly the problem was that new functionality was needed in PanelView... we could make planelview support.. plugins?
- Or trying again in having everything in-process of plasmashell. If i remember correctly the problem was that new functionality was needed in PanelView... we could make planelview support.. plugins?
I would prefer to discuss solution [A]
this is not needed any more... https://phabricator.kde.org/R120:328817b582fa is going to help to add transparent plasma panels below Latte docks/panels