Text input fails in Chromium --app windows; GTK_IM_MODULE=xim restores input
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 1k
- Forks
- 132
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de linuxmint/webapp-manager
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
linuxmint/webapp-manager#411 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 54/100
linuxmint/webapp-manager#410 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
linuxmint/webapp-manager#409 · 1 comentario ·
-
Add Brave Origin supportAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 55/100
linuxmint/webapp-manager#402 · 3 reacciones ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 52/100
linuxmint/webapp-manager#401 · 1 comentario · 1 reacción ·
Todos los issues de linuxmint/webapp-manager
Issues similares
-
opensubtitlescom: provider rejects pt-PT even though its own converter maps itPosiblemente ocupada @paulo-0308 la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Diaoul/subliminal#1405 ·
-
Internal ErrorAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
frappe/frappe_docker#2071 ·
Los mantenedores suelen responder en 1 día
-
🐛 Bug Report: OpenAI Responses: with_raw_response.create() raises when the body can't be parsed, though the uninstrumented call returnsPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertobug python
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
traceloop/openllmetry#4717 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
The-Pocket/PocketFlow#161 ·
-
[Bug]: Webapp workspace fails to render in Safari — "Can't find variable: requestIdleCallback"Abiertocomp/desktop P2 type/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
NousResearch/hermes-agent#157702 ·
Los mantenedores suelen responder en 1 día