Skip to content

PC3/Slider: Enable hover events

ivan tkachenko requested to merge work/ratijas/hoverboard into master

Set it explicitly instead of relying on implicit propagation chain.

BUG: 454714


Popup hover


aaand… that's how I learned about Control::hoverEnabled and yet another horrible implicit duck-typed propagation algorithm in QtQuick. Still have no idea where it is set and unset when opening a popup.

We need to talk with Qt about consistency. Documentation claims that the value should default to Qt.styleHints.useHoverEffects, but the hint is true while the value gets reset to false smh.

We also need to talk about consistency in our controls' implementations. Some bind this property to Qt.styleHints.useHoverEffects explicitly, some bind to !tabletMode, others just set to true. And this Slider component apparently didn't set any.

Merge request reports