background changes depend goes round if width == height ToolButtonStyle:109 button size is dependent on the background implicit sizes (QQC ButtonStyle.qml: 155) as far as QML is concerned: background implicit size depends on which background is chosen. hence loop. Not sure on what a good fix is. Options are: 1) put the circle/square stuff in a loader put the implicit size stuff on the loader rather than the component 2) drop the if width == height check (one shouldn't meddle with sizes of buttons anyway) 3) something horrible with timers.
*** Bug 343055 has been marked as a duplicate of this bug. ***
Git commit 2a4812c9ba9d54ba759273efe84353ffd6e8d22c by Kai Uwe Broulik. Committed on 17/02/2015 at 22:15. Pushed by broulik into branch 'master'. Drop size check for round ToolButton It causes binding loops causing all sorts of weird behavior, like the buttons in Klipper not always having a background. Changelog: Fix rendering glitches with ToolButtons that don't have a label REVIEW: 122609 Related: bug 340588 M +1 -1 src/declarativeimports/plasmastyle/ToolButtonStyle.qml http://commits.kde.org/plasma-framework/2a4812c9ba9d54ba759273efe84353ffd6e8d22c