currently my biggest gripe with Linux on mobile is scaling. touchscreen gestures are broken in all wayland compositors, they divide the touch coordinates by the scale factor to process them and somewhere the fractional component gets lost.

if you've ever scrolled down a webpage side by side on a device running phosh and an Android device and thought "damn the Linux phone just feels worse" its because it can only scroll in 2 or 3 pixel increments.

fixing this would improve UX more than any other single change right now imo

@cas It may be more than that. I'm pretty sure that resolution of the touchscreen does not have to be equal to resolution of the display...

@pavel well thats a whole other kettle of fish (and definitely not the case here, see the videos i posted when i first found this bug gitlab.gnome.org/World/Phosh/p)

Follow

@cas @pavel That one is simple: the layer surface coordinates get multiplied by the scale. I've linked a PoC MR in case someone with interest in HiDPI wants a fun time and polish it. There's more low hanging improvements to avoid the initial jump when the gesture gets picked up.

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml