https://bugs.kde.org/show_bug.cgi?id=427612

--- Comment #1 from Noah Davis <noaha...@gmail.com> ---
I've discovered something interesting.

If I do this, the bug happens.

```qml
property bool mirrored: LayoutMirroring.enabled
property real outsideRadius: 3
property real insideRadius: 0
corners {
    topLeftRadius: mirrored ? insideRadius : outsideRadius
    topRightRadius: mirrored ? outsideRadius : insideRadius
    bottomLeftRadius: mirrored ? insideRadius : outsideRadius
    bottomRightRadius: mirrored ? outsideRadius : insideRadius
}
```

If I do this, the bug doesn't happen.

```qml
property bool mirrored: LayoutMirroring.enabled
property real leftRadius: mirrored ? 0 : 3
property real rightRadius: mirrored ? 3 : 0
corners {
    topLeftRadius: leftRadius
    topRightRadius: rightRadius
    bottomLeftRadius: leftRadius
    bottomRightRadius: rightRadius
}
```

Of course, this could just be an unpredictable issue and my finding could be
invalid, but I think what I said is true. I suppose the latter is at least more
efficient.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to