| Summary: | "Fill free space on panel" option of Icon-Only Task Manager pushes widgets on the right out of display | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | MitraX <mitrax> |
| Component: | Task Manager and Icons-Only Task Manager widgets | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | minor | CC: | nate, niccolo.venerandi |
| Priority: | NOR | ||
| Version First Reported In: | 5.26.0 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
MitraX
2022-10-25 12:48:22 UTC
I guess without Layout.FillWidth set, there's effectively no width bound set, so the contents can overflow. Basically we need this change:
diff --git applets/taskmanager/package/contents/ui/main.qml applets/taskmanager/package/contents/ui/main.qml
index 706ebe80d..0a48376b5 100644
--- applets/taskmanager/package/contents/ui/main.qml
+++ applets/taskmanager/package/contents/ui/main.qml
@@ -59,6 +59,8 @@ MouseArea {
}
return !tasks.vertical ? 0 : LayoutManager.preferredMinHeight();
}
+ Layout.maximumWidth: tasks.vertical ? -1 : [the width it *would* consume if Layout.fillWidth were set]
+ Layout.maximumHeight: !tasks.vertical ? -1 : [the height it *would* consume if Layout.fillHeight were set]
//BEGIN TODO: this is not precise enough: launchers are smaller than full tasks
Layout.preferredWidth: {
But I can't figure out how to get those width and height values. Niccolò, any ideas?
*** This bug has been marked as a duplicate of bug 467385 *** |