| Summary: | Applications/15.12.0: crash when using jogdial/ShuttlePro on Kubuntu 15.10 | ||
|---|---|---|---|
| Product: | [Applications] kdenlive | Reporter: | Wegwerf <wegwerf-1-2-3> |
| Component: | User Interface & Miscellaneous | Assignee: | Jean-Baptiste Mardelle <jb> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | major | CC: | wegwerf-1-2-3 |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 15.12.0 | |
| Sentry Crash Report: | |||
|
Description
Wegwerf
2015-11-15 18:43:06 UTC
Qt used and built against is 5.4.2, KF is 5.15.0. This bug even triggers when the jog dial is not enabled in Kdenlive; this points towards Qt. In addition, when the focus is not in the timeline but in some input field in the other screen fields, then all kind of "mouse" actions get triggered. So this seems to be strongly related to Qt. Is this correct that input device events from the jog dial early end up in processMouseEvent()? This doesn't look quite right to me noob. I've found out that starting with its version 5 Qt now automatically integrates all available input devices automatically on its own. This means that the ShuttlePro will be detected as a mouse input device, which it isn't. In consequence, Qt's input event mouse handling kicks in that generates mouse events whenever the user operates the ShuttlePro. These events then cause the problems and crashes, as they appear as if the user operates yet another mouse and randomly clicks on things. I haven't yet figured out a way to either disable to distinguish these unwanted mouse events. I've found a workaround so that Qt and Qt 5.4 does not use the ShuttlePro anymore. Qt 5.4 allows no selective disabling of input devices and rather integrates them through X11. Thus, it is necessary to disable the ShuttlePro as an input device for X11. Create a new X11 config file, for instance, /usr/share/X11/xorg.conf.d/50-shuttlepro.conf: ---BEGIN CONTENT--- Section "InputClass" Identifier "Ignore Contour Design ShuttlePRO v2" MatchDevicePath "/dev/input/event* Driver "evdev" MatchProduct "ShuttlePRO v2" Option "Ignore" "true" EndSection ---END CONTENT--- Log out of your session and into it again, so X11 gets restarted. See also http://thediveo-e.blogspot.de/2015/11/shuttle-crash-qt-54.html for details. |