Text input fails in Chromium --app windows; GTK_IM_MODULE=xim restores input
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 35/100
Rechercherichtung
Start by checking how WebApp Manager launches Chromium app windows and whether it sets GTK input method environment variables; the issue names no files, tests, or entry points. Try the reproduction steps on Linux with a text field, comparing --app mode with a normal browser window and the GTK_IM_MODULE=xim workaround. Done means confirming whether WebApp Manager reproduces the input failure and identifying its launch configuration.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Description
I encountered a possible GTK/IME-related input issue with Chromium-based web applications launched using Chromium's --app mode, and I wanted to check whether WebApp Manager is affected by the same behavior.
The issue appears to occur specifically when the website is launched with the --app flag. A normal browser window does not exhibit the problem.
In the affected --app window:
- Text fields may show a blinking caret that freezes or behaves incorrectly after focus.
- Keyboard input fails to register in the field.
- Search boxes and other text inputs are affected.
During debugging, I found that setting the XIM input module before launching the application completely restores normal text input and caret behavior:
export GTK_IM_MODULE=xim
This makes me suspect an interaction between Chromium's --app mode, GTK input-method handling, and Linux IME frameworks.
Steps to Reproduce
- Launch a Chromium-based web application using the
--appflag. - Open a page containing a text input field or search box.
- Click inside the field.
- Observe the caret.
- Attempt to type.
I tested this with multiple unrelated websites, including Discord, Twitch, YouTube, Hulu, and Crunchyroll.
For comparison, launching the same sites in a normal browser window does not reproduce the issue.
Expected Behavior
Text fields should accept keyboard input normally, with the caret blinking and behaving as expected.
Actual Behavior
When launched using --app, the caret may freeze or behave incorrectly, and keyboard input fails to register.
Workaround
Launching the Chromium-based application with:
GTK_IM_MODULE=xim
Restores normal keyboard input and caret behavior.
Additional Information
I encountered this while developing a separate application that launches websites as standalone Chromium app windows. I have not yet confirmed whether WebApp Manager reproduces the issue, but WebApp Manager uses a similar app-style approach, so I wanted to check whether this behavior is already known or tracked.
If WebApp Manager does not reproduce the issue or does not use the affected configuration, feel free to close the report.
- Vorherrschende Sprache
- Python
- Sterne
- 1k
- Forks
- 132
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus linuxmint/webapp-manager
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 63/100
linuxmint/webapp-manager#411 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 54/100
linuxmint/webapp-manager#410 ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 48/100
linuxmint/webapp-manager#409 · 1 Kommentar ·
-
Add Brave Origin supportOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 55/100
linuxmint/webapp-manager#402 · 3 Reaktionen ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 52/100
linuxmint/webapp-manager#401 · 1 Kommentar · 1 Reaktion ·
Alle Issues in linuxmint/webapp-manager
Ähnliche Issues
-
CI flake: test-windows times out spawning Node in tests/test_antigravity_node_hooks.py (develop red)Offenarea/ci P2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 2 Tagen
-
benchmark
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 79/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
mozilla-ai/cq#601 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag