applets/kickoff: "fix" footer overflow menu

In Plasma 6.5 with Qt 6.10, if the action button row is too long to fit the widget, it no longer hides them in the overflow menu, but has them overlap the tab bar or even go outside the widget. The cause seems truly bizarre and has to be a qtbug; a simple assignment with an or expression causes one of the variables used as input to become undefined... but only if it is on the right-hand side of ||, LHS is fine. So after "const C = A | B", B is somehow now undefined, while with "const C = B | A" everything is fine. The issue seems to happen on at least Fedora, KDE Linux, and Arch, according to personal experience and Bugzilla reports.

This clearly doesn't make any sense and needs to be fixed in qt, but until then we can "fix" the symptoms by just swapping the LHS and RHS.

BUG: 511503


This is thoroughly bizarre and I have no idea what's going on here. I tried a bit to recreate the issue with a more limited example, but couldn't find a way to do it. I suspect the qml compiler is getting really really confused somewhere along the way. Maybe @nicolasfella has an idea what might be going on, or how to proceed? (I tried looking at the bug tracker, and couldn't find anything that seems to match).

In any case, the fix is a total hack, but it doesn't seem worse in any way than the existing code, so it might not be a terrible idea to fix the symptoms.

Merge request reports

Loading