Created attachment 186243 [details] The tiles on the right side are invisible - Menu width is not expanding to right side after a reboot SUMMARY Tiled menu Plasmoid - updated for plasma 6+ Full plasmoid here: https://github.com/user-attachments/files/23172548/com.github.JohanW1977.tiledmenu.zip STEPS TO REPRODUCE 1. upzip into the plasmoid directory and add widget to menubar 2. add tiles 3. click upperleft on tiles only / alphabetical / cathegories > the widget resizes ! 4. reboot PC 5. click upperleft on tiles only / alphabetical / cathegories > the widget doesn't resize anymore ! code responsible for resizing in fullrepresentation: readonly property var appletInterface: Plasmoid Layout.minimumWidth: config.leftSectionWidth Layout.minimumHeight: config.minimumHeight Layout.preferredWidth: config.popupWidth Layout.preferredHeight: config.popupHeight OBSERVED RESULT > Plasmoid resizes before reboot > Plasmoid doesn't resize after reboot EXPECTED RESULT > Plasmoid should keep resizing SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora KDE KDE Plasma Version: 6.4.5 KDE Frameworks Version: 6.19.0 Qt Version: 6.9.2 ADDITIONAL INFORMATION
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.