Bug 435531 - Slider value changes when hovering over
Summary: Slider value changes when hovering over
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface (show other bugs)
Version: 21.03.80
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
: 435906 436144 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-04-09 04:48 UTC by mnsk
Modified: 2021-04-24 22:18 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 21.04


Attachments
slider jumps to cursor without mouse click (21.82 KB, image/png)
2021-04-09 04:48 UTC, mnsk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mnsk 2021-04-09 04:48:31 UTC
Created attachment 137445 [details]
slider jumps to cursor without mouse click

SUMMARY
When hovering the mouse over a slider the value changes according to the mouse position (as if the mouse button was pressed all the time). That makes it impossible to navigate the UI without changing values.

Tested with different kdenlive versions (arch stable 20.12.3, arch unstable 21.03.80, appimage stable 20.12.3).

When I revert the package 
local/qt5-base 5.15.2+kde+r171-2 (qt qt5)
to the version
local/qt5-base 5.15.2-5 (qt qt5)
everything works as expected.

But sliders in other qt applications are fine.
I assume the effects slider is no standard qt widget(?) so I open the bug here.

Tried on different machines: laptop with Cinnamon, desktop with xfce, fresh installed virtual machine with xfce (all Arch).

STEPS TO REPRODUCE
1. Arch: Install local/qt5-base 5.15.2+kde+r171-2 (qt qt5)
2. Move the mouse over any slider
3.

OBSERVED RESULT
Value of that slider instantly "jumps" to the mouse position.

EXPECTED RESULT
Value of the slider does not change when simply moving the mouse over it.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 mnsk 2021-04-09 10:24:40 UTC
Just found
https://bugreports.qt.io/browse/QTBUG-92504

Seems to be a similar problem?
Comment 2 emohr 2021-04-10 08:16:44 UTC
I don't have this behavior on Windows (tested with nightly #725). Hover over the effect slider doesn't change the value.
Comment 3 farid 2021-04-10 18:59:31 UTC
I can reproduce as well. Using latest Arch and compiling Kdenlive from Master. Fwiw, this isn't happening in Krita
Comment 4 Jean-Baptiste Mardelle 2021-04-12 07:02:31 UTC
Git commit f86dbde2fac1b1b0043deb7601ec90763400640c by Jean-Baptiste Mardelle.
Committed on 12/04/2021 at 07:02.
Pushed by mardelle into branch 'master'.

Try to fix value change on hover issue (maybe Qt regression)

M  +2    -2    src/widgets/dragvalue.cpp

https://invent.kde.org/multimedia/kdenlive/commit/f86dbde2fac1b1b0043deb7601ec90763400640c
Comment 5 Jean-Baptiste Mardelle 2021-04-12 16:16:01 UTC
Git commit 7d854707582246cab8f08409c8727be5520b86a5 by Jean-Baptiste Mardelle.
Committed on 12/04/2021 at 16:15.
Pushed by mardelle into branch 'release/21.04'.

Try to fix value change on hover issue (maybe Qt regression)

M  +2    -2    src/widgets/dragvalue.cpp

https://invent.kde.org/multimedia/kdenlive/commit/7d854707582246cab8f08409c8727be5520b86a5
Comment 6 mnsk 2021-04-13 04:06:04 UTC
(In reply to Jean-Baptiste Mardelle from comment #4)
> Git commit f86dbde2fac1b1b0043deb7601ec90763400640c by Jean-Baptiste
> Mardelle.
> Committed on 12/04/2021 at 07:02.
> Pushed by mardelle into branch 'master'.
> 
> Try to fix value change on hover issue (maybe Qt regression)
> 
> M  +2    -2    src/widgets/dragvalue.cpp
> 
> https://invent.kde.org/multimedia/kdenlive/commit/
> f86dbde2fac1b1b0043deb7601ec90763400640c


Issue is fixed with this commit.
Hover does not change value. Click does change value. Click and drag does change value.

Thanks :)
Comment 7 emohr 2021-04-13 15:33:55 UTC
Thank you for the feedback and contribution. Glad to hear it works. 

We close this bug. If it still appears in the latest version, please feel free to re-open it and update the affected version number.
Comment 8 Julius Künzel 2021-04-19 12:02:44 UTC
*** Bug 435906 has been marked as a duplicate of this bug. ***
Comment 9 Julius Künzel 2021-04-24 22:18:43 UTC
*** Bug 436144 has been marked as a duplicate of this bug. ***