-
Bug
-
Resolution: Fixed
-
Major
-
Blowfish, Chinook
-
Raspberry Pi 3 with 7" Pi DSI Display (latest master build, out of the box)
R-Car Porter M2 with 7" Chalkboard Electronics 1280x800 touchscreen (after calibration)
When I touch the edges of the screen, Weston crashes.
Refer to https://www.mail-archive.com/wayland-devel@lists.freedesktop.org/msg29102.html - it notes that it was fixed in 1.10 and links to this commit which fixes it: https://cgit.freedesktop.org/wayland/weston/commit/src/input.c?id=2c40d1d30eabe46706822a8b5c94579aeba58e84
My quick and dirty hack job of a fix was as follows:
bitbake -c devshell weston
Make the corresponding edits to src/input.c in function default_grab_touch_down
Then
bitbake -f -c compile weston bitbake agl-demo-platform
followed by reloading the SD card image. Now I can touch the edges all I want and no crash
I don't know what's the cleaner way to fix this, maybe the trick is to just use a newer version of Weston if that's easy enough?
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
7177,3 | Fix Weston crash on touchscreen input | master | AGL/meta-agl | Status: MERGED | +2 | +1 |