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

--- Comment #3 from ratijas <m...@ratijas.tk> ---
Now, this is something "interesting":

    down.onHoveredChanged: print("DOWN H", down.hovered)
    down.onPressedChanged: print("DOWN P", down.pressed)
    up.onHoveredChanged: print("UP H", up.hovered)
    up.onPressedChanged: print("UP P", up.pressed)


> ❯ qml spins.qml
> QQmlApplicationEngine failed to load component
> file:///home/ratijas/tmp/spins.qml:17:9: Type SpinBox unavailable
> file:///usr/local/kde/lib/qml/QtQuick/Controls.2/org.kde.desktop/SpinBox.qml:96:8:
>  ".onHoveredChanged" is not available due to component versioning.
> qml: Did not load any objects, exiting.

Excuse me, wat? Not available due to component versioning? With all latest *.15
imports? Whatever, that still works with two Connections objects.


Back on topic, the second part of the issue seems to be due to the TextField as
a contentItem blocking hover events from propagating up to the SpinBox control
itself. Note that the field itself is padded within this control, so there's a
thin edge that resets the cursor when mouse enters the control, but because
TextField and up/down buttons are immediately adjacent to each other — SpinBox
don't get a chance to test for contains() and reset hovered properties.

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

Reply via email to