Text input fails in Chromium --app windows; GTK_IM_MODULE=xim restores input
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 35/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- Python
- Étoiles
- 1k
- Forks
- 132
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de linuxmint/webapp-manager
-
Difficulté 2/5 1-3 heures Accessibilité débutants 63/100
linuxmint/webapp-manager#411 ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 54/100
linuxmint/webapp-manager#410 ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 48/100
linuxmint/webapp-manager#409 · 1 commentaire ·
-
Add Brave Origin supportOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 55/100
linuxmint/webapp-manager#402 · 3 réactions ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 52/100
linuxmint/webapp-manager#401 · 1 commentaire · 1 réaction ·
Toutes les issues de linuxmint/webapp-manager
Issues similaires
-
CI flake: test-windows times out spawning Node in tests/test_antigravity_node_hooks.py (develop red)Ouvertearea/ci P2
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Les mainteneurs répondent en général sous 2 jours
-
benchmark
Difficulté 1/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 79/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 77/100
mozilla-ai/cq#601 ·
Les mainteneurs répondent en général sous 1 jour
-
Bump Python to 3.14 or 3.15Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Les mainteneurs répondent en général sous 1 jour