Switching tasks with a touchscreen does not work, clicks on the task manager seem to be ignored. Other plasmoids in the panel openand work correctly when clicked. Reproducible: Always
Kai, you had some sort of means to test touchscreen stuff, iirc? Can you reproduce?
I just tried: I can both maximize and minimize applications (tap) as well as re-arrange them (d'n'd) Note that prior to Qt 5.3.2 there are some issues with detection and handling of touchscreen devices and inputs. Kubuntu unfortunately ships 5.3.0 which renders my touchscreen useless but I verified that in 5.3.2 everything works as expected.
Using Qt 5.3.2 here
Interesting. Maybe MouseEventListener doesn't cope with TouchEvents properly or filters out bogus duplicate events. :/
MouseEventListener takes mouse events.. tough touchscreen events should generate *both* a mouseevent and a touchevent
For some reason for touch events the Task MEL gets events from all kinds of items (SVGItem and what not) confusing it and the onReleased event never arrives. With clicking it gets the proper event. The mouse release event is emitted by mouseReleaseEvent whereas the touch release event is emitted by childMouseEventFilter and that one does not properly make it through. It is emitted but for some reason does not end up triggering the onReleased handler in Task. I tried to reproduce the item with a minimalist qml example but didn't succeed. Removing the other MEL (for mouse wheel) and DropArea doesn't help either.
Kai, is this still an issue now?
This is still present as of plasmashell 5.2.1 (Kubuntu CI daily stable). The touchscreen works everywhere else (it moves the cursor *and* clicks) but it doesn't click on task managers (either the standard and icon-only task managers). It does however click on the task manager popups, so I can switch tasks this way : tap on application icon in task manager, the cursor moves, wait for 1-2 seconds to trigger the hover event, click on the popup.
*** Bug 345777 has been marked as a duplicate of this bug. ***
Git commit d21f348766a0a42ffa284aaa2c4ecc8f500efdc1 by Weng Xuetian. Committed on 09/04/2015 at 18:11. Pushed by xuetianweng into branch 'Plasma/5.3'. Port task manager away from MouseEventListener MouseArea in Qt5 provides same functionality, and it also handles touch event better. FIXED-IN: 5.3 M +2 -3 applets/taskmanager/package/contents/ui/MouseHandler.qml M +6 -6 applets/taskmanager/package/contents/ui/Task.qml http://commits.kde.org/plasma-desktop/d21f348766a0a42ffa284aaa2c4ecc8f500efdc1