PanelView::length() is not actual length.
Details
Details
Diff Detail
Diff Detail
- Repository
- R120 Plasma Workspace
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
I'm not sure if this should go to Plasma/5.6 as it exposes a bug in ContainmentInterface::adjustToAvailableScreenRegion. Fun fact, it was working mostly alright with the wrong available region :D
The bug is that it now basically operates on available rect (and not region), so if there is floating panel (not maximized) it will treat it as it if was maximized.
I don't think I can fix it for KF 5.20, don't want to rush it.
Comment Actions
availableScreenRegion is constructed from screen region minus panel rects (and panel rect = geometryByDistance(0))
Comment Actions
Scrath that, it's the Dialog positioning that uses rect instead of region (and that's unrelated to this). ContainmentInterface::adjustToAvailableScreenRegion is fine.