IpadOS Firefox 中的输入错误 - 小数
作者: Fedrico010ico创建于 2026年5月15日更新于 2026年7月8日
在 iPadOS (Firefox 浏览器) 上使用应用程序时,系统无法解析触控指针事件,导致序列化警告/错误。 似乎应用程序期望以整数 (i64) 表示像素移动坐标,但 iPadOS Firefox 发送的是小于像素的浮点值(例如 7.5),导致消息解析完全失败。 `WARN 无法解析消息: {"PointerEvent":{"event_type":"pointermove","pointer_id":-813876841,"timestamp":10405000,"is_primary":true,"pointer_type":"touch","button":0,"buttons":1,"x":0.8097457627118644,"y":0.6220338983050847,"movement_x":-7,"movement_y":7.5,"pressure":0,"tilt_x":0,"tilt_y":0,"width":0.04627834693155809,"height":0.04627834693155809,"twist":0}} (无效类型: 浮点数 '7.5',在第 1 行第 231 列预期 i64)`
内容来源: H-M-H/Weylus