Gestures don't work if -frameless parameter used on qmlviewer startup
Bug #823194 reported by
Darren West
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OIF-qml |
Fix Released
|
Medium
|
Chase Douglas | ||
utouch-qml (Ubuntu) |
Fix Released
|
Medium
|
Chase Douglas |
Bug Description
If using the -frameless parameter with qmlviewer, for example:
qmlviewer -frameless Start.qml
then Gestures do not work.
Related branches
lp:~chasedouglas/oif-qml/fixes-and-refactor
- Stephen M. Webb (community): Approve
- Chase Douglas (community): Approve
-
Diff: 603 lines (+209/-127)16 files modifiedsrc/CMakeLists.txt (+4/-0)
src/continuousgesturearea.cpp (+39/-0)
src/continuousgesturearea.h (+74/-0)
src/geissingleton.cpp (+3/-2)
src/gesturearea.cpp (+5/-28)
src/gesturearea.h (+0/-57)
src/instantaneousgesturearea.cpp (+26/-0)
src/instantaneousgesturearea.h (+40/-0)
src/utouchdragarea.cpp (+1/-9)
src/utouchdragarea.h (+2/-5)
src/utouchpincharea.cpp (+4/-4)
src/utouchpincharea.h (+2/-2)
src/utouchrotatearea.cpp (+4/-4)
src/utouchrotatearea.h (+2/-2)
src/utouchtaparea.cpp (+1/-5)
src/utouchtaparea.h (+2/-9)
Changed in utouch-qml: | |
status: | Triaged → Fix Released |
assignee: | nobody → Chase Douglas (chasedouglas) |
Changed in utouch-qml (Ubuntu): | |
assignee: | nobody → Chase Douglas (chasedouglas) |
importance: | Undecided → Medium |
status: | New → Fix Released |
status: | Fix Released → In Progress |
To post a comment you must log in.
There's some algorithmic gymnastics involved to translate gesture positions from screen coordinates to Qt X11 window coordinates and then finally to QML object coordinates. It is likely the case that the first translation is failing when the Qt window is frameless.