Bug 374362 - Jog wheel scrolls in timeline and file list
Summary: Jog wheel scrolls in timeline and file list
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface (show other bugs)
Version: 16.12.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
: 374309 374361 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-12-30 23:00 UTC by Christian Weiske
Modified: 2017-02-12 14:39 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Weiske 2016-12-30 23:00:11 UTC
I've got a ShuttleXpress contour jog wheel to quickly navigate inside clips.

With kdenlive 16.12 I have the problem that scrolling the wheel does not only move the current play position in the clip/project video, but also on user interface elements:

- When the mouse hovers the "project bin" file list and I use the wheel, the file list scrolls up and down
- When the mouse hovers the timeline, using the wheel scrolls the timeline forward
- When the mouse hovers tabs in the user interface, using the wheel switches tabs forward

This makes the wheel hard to use since I always have to move the mouse cursor to an empty space (like the settings tab) in which using the wheel does nothing.

The wheel still adjusts the play position inside the clip/project as it should.


Version info:
kdenlive Version 16.12.0
Using MLT version 6.3.0

KDE Frameworks 5.18.0
Qt 5.5.1 (kompiliert gegen 5.5.1)
Das xcb Fenstersystem
Comment 1 Jean-Baptiste Mardelle 2016-12-31 00:32:42 UTC
It seems like xinput recently added support for Shuttle devices, which passes the events to Qt. Unfortunately the support seems limited and there is no way to make the difference between a mouse wheel event and a shuttle wheel event through xinput > Qt. So I would recommend that you disable the shuttle device in xinput. This way, the device is only managed by our internal Kdenlive code and will only affect the timeline seeking. To disable the device under xinput, open a terminal:

xinput list

Will print a list of detected device. For me:
(...)
↳ CAVS SpaceShuttle A/V                     id=13   [slave  pointer  (2)]

Then:
xinput set-int-prop 13 "Device Enabled" 8 0
(where 13 is the device id given from the above command).

This will disable the handling of the device by xinput and you then need to enable the shuttle in Kdenlive's settings dialog.

Should fix most of the crashes you experienced since shuttle buttons were recognized as mouse clicks and interfered with expected behavior. Please let me know if it helps.
Comment 2 Christian Weiske 2017-01-03 22:29:42 UTC
Many thanks for this tip!
Disabling the jog wheel in xinput did indeed solve the crash issues #374309 and #374361.
Comment 3 Christian Weiske 2017-01-03 22:30:54 UTC
*** Bug 374361 has been marked as a duplicate of this bug. ***
Comment 4 Christian Weiske 2017-01-03 22:31:06 UTC
*** Bug 374309 has been marked as a duplicate of this bug. ***
Comment 5 farid 2017-02-06 16:56:19 UTC
Has this issue been fixed? If yes, please close it. Thanks.