[Bug] Inbox on iPhone (PWA): WeChat IME continuous voice input truncates the text box and submits an empty message

Đang mở
#4,031 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
22/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
ios, typescript
Lĩnh vực
frontend

Hướng nghiên cứu

No file is named and the layer is unconfirmed. Start by locating the Inbox comment/reply textarea in the TypeScript web frontend and its compositionstart/compositionupdate/compositionend plus input handlers, then read the closed IME issues #1949 and #191 for the prior handling. Reproducing needs a real iPhone in standalone PWA mode with the WeChat IME, so instrument the input handler and compare the DOM value against component state during dictation. Done means dictated text survives and submits intact, with the fix tied to a reproduced case rather than a guess.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

What happened?

The Inbox is used on an iPhone as a home-screen web app (Safari "Add to Home Screen", i.e. a PWA). While dictating into the text box (the comment / reply input) with the WeChat IME's (微信输入法 / WeType) continuous voice input, i.e. leaving voice-to-text on and speaking continuously, the input is truncated in a fair number of cases, and the content that finally gets submitted is empty, so the text that was entered is lost.

This is a user report. I am not a Plannotator developer, and I did not isolate the issue on the machine (I did not switch IME, and did not switch browser). I therefore cannot tell which layer causes it: the Inbox's text-input handling, the WeChat IME, or iOS PWA / Safari.

Steps to reproduce

  1. On an iPhone, open the Inbox and use "Add to Home Screen" so it runs as a web app (PWA).
  2. Open a thread and focus the text box used for the comment / reply.
  3. Switch to the WeChat IME (微信输入法) and start continuous voice input (voice-to-text stays on, speaking continuously).
  4. Dictate a longer message, then submit it.

Expected behavior

Everything dictated appears in the box and is submitted as entered.

Actual behavior

In a fair number of cases the input is truncated part-way; the submitted message ends up empty, and the content already entered is lost.

Environment

  • Device: iPhone — iOS version not recorded (can be supplied)
  • Access: Inbox page added to the home screen and opened as a web app (PWA) in Safari, reached over Tailscale from another device to the Mac that runs the Inbox
  • Input method: WeChat IME (微信输入法 / WeType), continuous voice input — version not recorded (can be supplied)
  • Browser: Safari on iPhone, PWA / standalone display mode
  • Plannotator version: 0.29.3 (output of plannotator --version)
  • Where did it happen: Inbox on a phone

Additional context

Possible directions — guesses only, none of them verified:

  • Dictated / IME text may not arrive like ordinary typing: composition events (compositionstart / compositionupdate / compositionend) plus input, or replacing the whole value at once, rather than one character at a time. Code that reads the DOM value or keeps its own state on every input event can write an older value back over newer dictation.
  • Continuous voice input inserts text in rapid bursts and often rewrites a trailing segment, at a much higher rate than keystrokes.
  • The PWA / standalone display mode on iOS can behave differently from a normal Safari tab (keyboard resizing, viewport, focus handling).

No stack trace, console output or logs were captured.

Possibly related, but different surface and different symptom: #1949 (CJK IME composition flicker in the review comment textarea — macOS + Sogou IME, no data loss) and #191 (CJK IME Enter submitted a comment during composition — closed).

Ngôn ngữ chính
TypeScript
Star
8.7k
Fork
649
Merge trung bình
16 giờ 1 phút
Pull request đã merge (30 ngày)
756

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của backnotprop/plannotator

Tất cả issue của backnotprop/plannotator

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.