mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4198] [Issue]: Severe lag and resource usage during mobile text input #2273
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#2273
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SpicyMarinara on GitHub (Jul 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4198
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Text inputs experience significant lag on mobile, accompanied by device heating and sharply increased power usage. In severe cases, typed inputs override one another or arrive in the opposite order, particularly suspected in RP chats.
Expected behavior
Text input should remain responsive, preserve the order of typed characters, and avoid excessive device heating or power consumption.
Actual behavior
Most text inputs lag significantly. The device heats up and power usage increases substantially; some inputs override one another or arrive out of order.
Steps to reproduce
Environment
Logs, screenshots, or video
No logs, screenshots, or video provided.
Additional context
The reporter suspects the text input component and its hooks are being rerendered on every input. Marinara indicated that work to address the issue had started the previous day and asked whether it occurs on staging; no staging confirmation was provided.
Discord thread: Mobile Performance
Discord thread link: https://discord.com/channels/1417099416812392641/1531467203382083695
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (2 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Jul 28, 2026):
Performance investigation and implementation are claimed by @SpicyMarinara on
agent/assigned-issues-4195-4198. I’m profiling the current staging input path after the recent Roleplay composer work, then will attach the shared staging draft PR with the measured fix boundary.@SpicyMarinara commented on GitHub (Jul 28, 2026):
Draft performance implementation PR: #4199
@SpicyMarinara commented on GitHub (Jul 28, 2026):
Fixed on
stagingvia #4199 (a97cc55d6). Textarea quote handling now avoids whole-draft work for deletion, composition, autocorrect, and unrelated input; mobile Roleplay also pauses ambient rendering while the keyboard or draft is active. Static, functional, and mobile Playwright regressions passed.