Backport request: touch input on scaled outputs (PR #5292) to a Mir point release / Ubuntu Frame 24 and 26 stable

Hi Mir team,

We ship Ubuntu Frame on Ubuntu Core kiosks (an Electron app, full screen, touch only, no mouse) and have just hit the touchscreen-vs-output-scale bug from Ubuntu-frame display scale breaks touchscreen. This is a request to get the fix into a release channel sooner than the next feature release.

What we see. 4K TV (3840×2160@60) with an eGalax USB touch panel (0eef:c002, mapping-mode=to-output), Frame 24/stable 457-mir2.26.0, display layout with scale: 2 and no mode pinned. Every touch lands at half the distance from the top-left corner, in our app and in ubuntu-frame-osk alike, so the compositor side, not the client. At scale: 1 touch is correct. Keyboard/mouse are fine.

What fixes it. Frame 26/edge frame587-mir2.31.0~dev337 (Mir 2.31 dev, 2026-10-22), which carries canonical/mir#5292 “input/basic_seat: scale input events in transformation matrix” (merged 2026-10-08). On the same kiosk, same layout, touch is correct at scale 2 and at 1.5, in the app and the OSK. Nothing else changed.

The ask. The fix is a ~25-line change confined to src/server/input/basic_seat.cpp. Could it be:

  1. cherry-picked into a Mir 2.30.x (or 2.28.x) point release, so that it reaches Frame 26/beta and the 24 track through the normal auto-builds, and

  2. followed by a promotion of a Frame build with it to 24/stable and/or a first 26/stable?

Right now the only way to have a scaled touch screen on Frame is to run production kiosks on 26/edge. We’re happy to test a candidate build on the hardware above and report back within a day.

Thanks!