A KDE Plasma panel widget showing how much Claude Max quota is left, at a glance.

fix: pin the popup's width, and what the QML linters asked for

Plasma remembers a popup's size per applet and reapplies it, clamped only by the representation's Layout hints. The redesign pinned the height but gave the width a minimum and a preferred value with no maximum, so a width stretched under the old popup (1042px) came back and spread the cards across the screen. The width is now pinned like the height. It shows only in the panel of someone who has used the widget, never in plasmawindowed or an offscreen render. From the Qt QML checks: - the panel form is reachable from the keyboard (Tab, then Space or Enter) and tells a screen reader what the tooltip says; the mark, the dots and the chart columns are hidden from it, since the figures they draw are written next to them; - the popup's heading and its large figure move to files of their own, PopupHeader.qml and NearestLimit.qml, taking FullRepresentation from 391 lines to 224; - `pragma ComponentBehavior: Bound` in the files whose delegates reach outer ids, the legend's delegate qualified, an unused import dropped, and one unqualified `refresher` in main.qml qualified. qmllint is left with i18n/i18nc, which KDE injects into the context, and the plasmoid's `root` id, the project's convention. CLAUDE.md records both traps: the remembered popup size, and that `systemctl --user restart plasma-plasmashell.service` is a silent no-op when plasmashell was started by hand.


Author Claudio Date Commit Parent 39d5adf0