SUMMARY The space available in a panel can change for a number of reasons, from rotating the display, changing the resolution or scaling, or other widgets changing in size. There currently does not seem to be many options for dealing with this, with widgets being randomly hidden or breaking if they run out of space. The easiest fix to this would be to allow you to set which widgets or spacers you'd like to hide in the event of running out of space (I wonder if it's possible to do this for the Global Menubar since for it to work effectively it should appear on the relevant windows if it is hidden – but if it is a problem the user can choose to have it be hidden last). Beyond this it would be good to set spacing settings in widget configurations to be large (or whatever maximum size you chose) but shrink when there is not enough space. Further, widgets could change layout entirely based on size available, or desktops could even be set up per resolution rather than per display (e.g. you could make a portrait orientation panel layout and a landscape orientation one). STEPS TO REPRODUCE 1. Populate a panel with widgets 2. Change the display resolution or scaling to reduce the amount of room available OBSERVED RESULT Will be different per widget. Some break, some disappear altogether EXPECTED RESULT Shrink the size of widgets as much as is usable, and hide least important widgets first. Or allow the desktop layout to change entirely when the screen shape/size changes. SOFTWARE/OS VERSIONS NixOS 24.11 (unstable channel) KDE Plasma Version: 6.0.5 KDE Frameworks Version: 6.2.0 Qt Version: 6.7.1
Perhaps we could move widgets into an overflow menu, and widgets could register themselves as important and try to avoid getting overflow-menu'd if possible.