[frameworks-kirigami] [Bug 427612] Sometimes all ShadowedRectangles in an area receive the same hovered state from a single control

2020-12-07 Thread Noah Davis
https://bugs.kde.org/show_bug.cgi?id=427612

--- Comment #1 from Noah Davis  ---
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.

[frameworks-kirigami] [Bug 427612] Sometimes all ShadowedRectangles in an area receive the same hovered state from a single control

2020-10-12 Thread Noah Davis
https://bugs.kde.org/show_bug.cgi?id=427612

Noah Davis  changed:

   What|Removed |Added

   Assignee|notm...@gmail.com   |ahiems...@heimr.nl

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