| Summary: | Layout.preferredWidth and Height not working in Tiled Menu widget after update | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Johan Wauters <wauters.johan> |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | kde, mikel5764, nate, niccolo.venerandi, noahadvs, notmart |
| Priority: | NOR | Keywords: | regression |
| Version First Reported In: | 6.4.5 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | The tiles on the right side are invisible - Menu width is not expanding to right side after a reboot | ||
|
Description
Johan Wauters
2025-10-27 20:27:24 UTC
Can reproduce, but I'm not totally sure what's supposed to happen here instead. The layout is a bit messy and everything is huge. Even if something changed in Plasma, it seems this eidget could use some code cleanup. I actually have 4 screenshots, but I could only upload one. I uploaded them here. Hope It's clear now: https://discuss.kde.org/t/making-a-plasmoid-resizable-in-plasma-6/40254 The issue's origin is in the configuration file, located in the .config directory. [Containments][66][Applets][104][Configuration] Right here popupHeight and popupWidth are automatically stored when a plasmoid changes size. [Containments][66][Applets][104][Configuration][General] stores the actual width and height AN option to disable or override the [Configuration] settings should fix this problem [Containments][66][Applets][105][Configuration] PreloadWeight=100 popupHeight=561 popupWidth=812 popupHeight and popuopWidth are both written by plasma to <homedir>/.config/plasma-org.kde.plasma.desktop-appletsrc Before the reboot you can modify them both with javascript in main.qml (or even delete them) But at reboot these values are written to the config. After reboot they are written to the PCs memory, so modifying them on disc is useless. We need a variable in plasma-org.kde.plasma.desktop-appletsrc that override both settings so that resizing the plasmoid is possible. Only way to keep is working is manually delete both keys in plasma-org.kde.plasma.desktop-appletsrc and immediatly reboot. |