https://bugs.kde.org/show_bug.cgi?id=474611
Bug ID: 474611 Summary: PlasmaComponent Slider with unexpected init value behavior Classification: Frameworks and Libraries Product: frameworks-plasma Version: 5.110.0 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: components Assignee: plasma-b...@kde.org Reporter: openmail+...@siezi.com CC: m...@ratijas.tk, notm...@gmail.com Target Milestone: --- SUMMARY I was working on a plasma widget with a horizontal slider which should be shown vertical in some cases and encountered unexpected event feedback in different orientations. STEPS TO REPRODUCE Boiled down example with two widgets which only differ in the orientation: ``` PlasmaComponents.Slider { id: horizontalSlider minimumValue: 0 value: 10 maximumValue: 100 stepSize: 1 Connections { target: horizontalSlider function onValueChanged() { console.log("horizontal slider value: " + horizontalSlider.value) } } } PlasmaComponents.Slider { id: verticalSlider minimumValue: 0 value: 10 maximumValue: 100 stepSize: 1 orientation: Qt.Vertical // inverted: true Connections { target: verticalSlider function onValueChanged() { console.log("vertical slider value: " + verticalSlider.value) } } } ``` OBSERVED RESULT qml: vertical slider value: 90 qml: horizontal slider value: 10 EXPECTED RESULT qml: vertical slider value: 10 qml: horizontal slider value: 10 SOFTWARE/OS VERSIONS Operating System: EndeavourOS KDE Plasma Version: 5.27.8 KDE Frameworks Version: 5.110.0 Qt Version: 5.15.10 Kernel Version: 6.5.3-4-cachyos (64-bit) Graphics Platform: Wayland -- You are receiving this mail because: You are watching all bug changes.