[GH-ISSUE #6992] [Issue]: Gboard language selection popup closes immediately #3913

Closed
opened 2026-10-21 06:08:41 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @SpicyMarinara on GitHub (Oct 3, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6992

Originally assigned to: @SpicyMarinara on GitHub.

Summary

The Gboard language/layout selection popup is forced closed when triggered in Marinara Engine, preventing language switching.

Expected behavior

Holding the Gboard spacebar should keep the language/layout selection popup open so a different language, such as Japanese, can be selected.

Actual behavior

The Gboard language/layout selection popup is forced closed when triggered. The user suspects Marinara Engine may be stealing focus.

Steps to reproduce

  1. Open Marinara Engine on Android with Gboard enabled.
  2. Focus a text field and type in English.
  3. Hold the Gboard spacebar to open the language/layout selection popup.
  4. Attempt to select another configured language or layout.

Environment

  • Marinara Engine version: 2.4.6+12a0acd5b782
  • Install type: termux
  • OS + version: Android 10; server OS Android / Termux 5.15.170-android13-8-00015-g52ccd9134339-ab12915929 (arm64)
  • Browser or app shell: Chrome 154.0.0.0 Mobile Safari/537.36; standalone app shell

Logs, screenshots, or video

Support diagnostics were provided. Attached screenshot: https://cdn.discordapp.com/attachments/1555845641177931886/1555847278021976136/image0.png?backend=b2&ex=6ac20331&is=6ac0b1b1&hm=d54bcc1e39198555916e4f02fbe6413557c66127dea54bd9dc2b7f2d0782571f&

Additional context

The user suspects a recent Gboard update or Marinara Engine 2.4.6 focus handling may be involved. They also reported difficulty selecting text at the edge of the screen while in edit mode, which they suspect may be related.

Discord thread: gboard language selection popup forced close when triggered
Discord thread link: https://discord.com/channels/1417099416812392641/1555845641177931886
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (8 messages)
[2026-10-03T07:35:07.071Z] eidrag: I use Gboard for keyboard, and switching to multiple layout and language is important. I suspect either Gboard update changed something or ME from 2.4.6 stealing focus. And recently I also have issue selecting words when in edit mode and the text is on the edge of screen. I have to select few letters more from the edge or next line from top then only manually dragging to select them. Thus i think something  related.
[Discord message: https://discord.com/channels/1417099416812392641/1555845641177931886/1555845641177931886]

[2026-10-03T07:35:07.868Z] Professor Mari [bot]: Howdy!

Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.**

**Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab:

`Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.`

If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here:

`Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version`

Thank you, this will help tremendously.

This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case.

Cheers!
[Discord message: https://discord.com/channels/1417099416812392641/1555845641177931886/1555845644520923216]

[2026-10-03T07:37:14.691Z] eidrag: Marinara Engine diagnostics
Version: 2.4.6
Build: 2.4.6+12a0acd5b782
Commit: 12a0acd5b782
Server OS: Android / Termux 5.15.170-android13-8-00015-g52ccd9134339-ab12915929 (arm64)
Server memory: heap 137.2 / 1504 MiB; RSS 150.7 MiB
Background wake lock: acquired
Last detected freeze: none detected
Previous session: shut down cleanly at 2026-10-02T11:36:39.781Z
Sessions ended without shutdown: 0 recorded
Client OS: Android 10
Browser / app shell: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/154.0.0.0 Mobile Safari/537.36
Client runtime: {"build":"2.4.6+12a0acd5b782","page":"mus2abn4-tuboyi00","persistence":"local","navigation":"back_forward","standalone":true,"view":[903,0,903,0],"events":[{"at":1790984928525,"page":"murbnwh5-7fwgfwkh","build":"2.4.6+12a0acd5b782","kind":"visible","view":[903,0,903,0]},{"at":1790984935661,"page":"murbnwh5-7fwgfwkh","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[903,0,847,0]},{"at":1790990710144,"page":"murpmkcg-jvjpudnt","build":"2.4.6+12a0acd5b782","kind":"page-start","view":[847,0,847,0]},{"at":1790990710149,"page":"murpmkcg-jvjpudnt","build":"2.4.6+12a0acd5b782","kind":"page-show","view":[903,0,847,0]},{"at":1790990875385,"page":"murpmkcg-jvjpudnt","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[903,0,903,0]},{"at":1790991006310,"page":"murpmkcg-jvjpudnt","build":"2.4.6+12a0acd5b782","kind":"visible","view":[903,0,903,0]},{"at":1790991381764,"page":"murpmkcg-jvjpudnt","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[903,0,903,0]},{"at":1790992077984,"page":"murpmkcg-jvjpudnt","build":"2.4.6+12a0acd5b782","kind":"visible","view":[903,0,903,0]},
[Discord message: https://discord.com/channels/1417099416812392641/1555845641177931886/1555846176455139423]

[2026-10-03T07:37:17.914Z] eidrag: {"at":1790992282006,"page":"murpmkcg-jvjpudnt","build":"2.4.6+12a0acd5b782","kind":"message-edited","view":[903,0,903,0]},{"at":1790992679156,"page":"murqsrn8-017phrxv","build":"2.4.6+12a0acd5b782","kind":"page-start","view":[903,0,903,0]},{"at":1790992679158,"page":"murqsrn8-017phrxv","build":"2.4.6+12a0acd5b782","kind":"page-show","view":[903,0,903,0]},{"at":1790992682895,"page":"murqsrn8-017phrxv","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[903,0,903,0]},{"at":1791011974000,"page":"mus2abn4-tuboyi00","build":"2.4.6+12a0acd5b782","kind":"page-start","view":[903,0,903,0]},{"at":1791011974002,"page":"mus2abn4-tuboyi00","build":"2.4.6+12a0acd5b782","kind":"page-show","view":[903,0,903,0]},{"at":1791012012557,"page":"mus2abn4-tuboyi00","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[903,0,903,0]},{"at":1791012455547,"page":"mus2abn4-tuboyi00","build":"2.4.6+12a0acd5b782","kind":"visible","view":[903,0,903,0]}]}
GPU: ANGLE (Qualcomm, Adreno (TM) 740, OpenGL ES 3.2)
Active connection: NanoGPT - ds v4 pro
Connection provider: nanogpt
LLM model: deepseek/deepseek-v4-pro
Mari last acted on: none recorded this session
[Discord message: https://discord.com/channels/1417099416812392641/1555845641177931886/1555846189973504071]

[2026-10-03T07:37:40.059Z] Marinara: No idea what that is. :Monaks:
[Discord message: https://discord.com/channels/1417099416812392641/1555845641177931886/1555846282856112200]

[2026-10-03T07:41:37.564Z] eidrag: so, lets say I type in English, then I want to type in Japanese for the dialogue. So I hold my spacebar (touchscreen keyboard) to initiate  layout selection  popup

[attached image 1: https://cdn.discordapp.com/attachments/1555845641177931886/1555847278021976136/image0.png?backend=b2&ex=6ac20331&is=6ac0b1b1&hm=d54bcc1e39198555916e4f02fbe6413557c66127dea54bd9dc2b7f2d0782571f&]
[Discord message: https://discord.com/channels/1417099416812392641/1555845641177931886/1555847279024410695]

[2026-10-03T07:42:54.387Z] Marinara: Android doesn't have that built in?
[Discord message: https://discord.com/channels/1417099416812392641/1555845641177931886/1555847601243291680]

[2026-10-03T07:43:13.540Z] Marinara: On my iPhone, I set available languages in settings and then only click an icon to swith between.
[Discord message: https://discord.com/channels/1417099416812392641/1555845641177931886/1555847681576800377]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Oct 3, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6992 Originally assigned to: @SpicyMarinara on GitHub. ## Summary The Gboard language/layout selection popup is forced closed when triggered in Marinara Engine, preventing language switching. ## Expected behavior Holding the Gboard spacebar should keep the language/layout selection popup open so a different language, such as Japanese, can be selected. ## Actual behavior The Gboard language/layout selection popup is forced closed when triggered. The user suspects Marinara Engine may be stealing focus. ## Steps to reproduce 1. Open Marinara Engine on Android with Gboard enabled. 2. Focus a text field and type in English. 3. Hold the Gboard spacebar to open the language/layout selection popup. 4. Attempt to select another configured language or layout. ## Environment - Marinara Engine version: 2.4.6+12a0acd5b782 - Install type: termux - OS + version: Android 10; server OS Android / Termux 5.15.170-android13-8-00015-g52ccd9134339-ab12915929 (arm64) - Browser or app shell: Chrome 154.0.0.0 Mobile Safari/537.36; standalone app shell ## Logs, screenshots, or video Support diagnostics were provided. Attached screenshot: https://cdn.discordapp.com/attachments/1555845641177931886/1555847278021976136/image0.png?backend=b2&ex=6ac20331&is=6ac0b1b1&hm=d54bcc1e39198555916e4f02fbe6413557c66127dea54bd9dc2b7f2d0782571f& ## Additional context The user suspects a recent Gboard update or Marinara Engine 2.4.6 focus handling may be involved. They also reported difficulty selecting text at the edge of the screen while in edit mode, which they suspect may be related. Discord thread: gboard language selection popup forced close when triggered Discord thread link: https://discord.com/channels/1417099416812392641/1555845641177931886 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (8 messages)</summary> ```text [2026-10-03T07:35:07.071Z] eidrag: I use Gboard for keyboard, and switching to multiple layout and language is important. I suspect either Gboard update changed something or ME from 2.4.6 stealing focus. And recently I also have issue selecting words when in edit mode and the text is on the edge of screen. I have to select few letters more from the edge or next line from top then only manually dragging to select them. Thus i think something related. [Discord message: https://discord.com/channels/1417099416812392641/1555845641177931886/1555845641177931886] [2026-10-03T07:35:07.868Z] Professor Mari [bot]: Howdy! Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.** **Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab: `Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.` If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here: `Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version` Thank you, this will help tremendously. This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case. Cheers! [Discord message: https://discord.com/channels/1417099416812392641/1555845641177931886/1555845644520923216] [2026-10-03T07:37:14.691Z] eidrag: Marinara Engine diagnostics Version: 2.4.6 Build: 2.4.6+12a0acd5b782 Commit: 12a0acd5b782 Server OS: Android / Termux 5.15.170-android13-8-00015-g52ccd9134339-ab12915929 (arm64) Server memory: heap 137.2 / 1504 MiB; RSS 150.7 MiB Background wake lock: acquired Last detected freeze: none detected Previous session: shut down cleanly at 2026-10-02T11:36:39.781Z Sessions ended without shutdown: 0 recorded Client OS: Android 10 Browser / app shell: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/154.0.0.0 Mobile Safari/537.36 Client runtime: {"build":"2.4.6+12a0acd5b782","page":"mus2abn4-tuboyi00","persistence":"local","navigation":"back_forward","standalone":true,"view":[903,0,903,0],"events":[{"at":1790984928525,"page":"murbnwh5-7fwgfwkh","build":"2.4.6+12a0acd5b782","kind":"visible","view":[903,0,903,0]},{"at":1790984935661,"page":"murbnwh5-7fwgfwkh","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[903,0,847,0]},{"at":1790990710144,"page":"murpmkcg-jvjpudnt","build":"2.4.6+12a0acd5b782","kind":"page-start","view":[847,0,847,0]},{"at":1790990710149,"page":"murpmkcg-jvjpudnt","build":"2.4.6+12a0acd5b782","kind":"page-show","view":[903,0,847,0]},{"at":1790990875385,"page":"murpmkcg-jvjpudnt","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[903,0,903,0]},{"at":1790991006310,"page":"murpmkcg-jvjpudnt","build":"2.4.6+12a0acd5b782","kind":"visible","view":[903,0,903,0]},{"at":1790991381764,"page":"murpmkcg-jvjpudnt","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[903,0,903,0]},{"at":1790992077984,"page":"murpmkcg-jvjpudnt","build":"2.4.6+12a0acd5b782","kind":"visible","view":[903,0,903,0]}, [Discord message: https://discord.com/channels/1417099416812392641/1555845641177931886/1555846176455139423] [2026-10-03T07:37:17.914Z] eidrag: {"at":1790992282006,"page":"murpmkcg-jvjpudnt","build":"2.4.6+12a0acd5b782","kind":"message-edited","view":[903,0,903,0]},{"at":1790992679156,"page":"murqsrn8-017phrxv","build":"2.4.6+12a0acd5b782","kind":"page-start","view":[903,0,903,0]},{"at":1790992679158,"page":"murqsrn8-017phrxv","build":"2.4.6+12a0acd5b782","kind":"page-show","view":[903,0,903,0]},{"at":1790992682895,"page":"murqsrn8-017phrxv","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[903,0,903,0]},{"at":1791011974000,"page":"mus2abn4-tuboyi00","build":"2.4.6+12a0acd5b782","kind":"page-start","view":[903,0,903,0]},{"at":1791011974002,"page":"mus2abn4-tuboyi00","build":"2.4.6+12a0acd5b782","kind":"page-show","view":[903,0,903,0]},{"at":1791012012557,"page":"mus2abn4-tuboyi00","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[903,0,903,0]},{"at":1791012455547,"page":"mus2abn4-tuboyi00","build":"2.4.6+12a0acd5b782","kind":"visible","view":[903,0,903,0]}]} GPU: ANGLE (Qualcomm, Adreno (TM) 740, OpenGL ES 3.2) Active connection: NanoGPT - ds v4 pro Connection provider: nanogpt LLM model: deepseek/deepseek-v4-pro Mari last acted on: none recorded this session [Discord message: https://discord.com/channels/1417099416812392641/1555845641177931886/1555846189973504071] [2026-10-03T07:37:40.059Z] Marinara: No idea what that is. :Monaks: [Discord message: https://discord.com/channels/1417099416812392641/1555845641177931886/1555846282856112200] [2026-10-03T07:41:37.564Z] eidrag: so, lets say I type in English, then I want to type in Japanese for the dialogue. So I hold my spacebar (touchscreen keyboard) to initiate layout selection popup [attached image 1: https://cdn.discordapp.com/attachments/1555845641177931886/1555847278021976136/image0.png?backend=b2&ex=6ac20331&is=6ac0b1b1&hm=d54bcc1e39198555916e4f02fbe6413557c66127dea54bd9dc2b7f2d0782571f&] [Discord message: https://discord.com/channels/1417099416812392641/1555845641177931886/1555847279024410695] [2026-10-03T07:42:54.387Z] Marinara: Android doesn't have that built in? [Discord message: https://discord.com/channels/1417099416812392641/1555845641177931886/1555847601243291680] [2026-10-03T07:43:13.540Z] Marinara: On my iPhone, I set available languages in settings and then only click an icon to swith between. [Discord message: https://discord.com/channels/1417099416812392641/1555845641177931886/1555847681576800377] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:08:41 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Oct 3, 2026):

Since we're touching on mobile issues, I cannot scroll to the bottom of the message in roleplay mode on my iPhone while editing. It's very hard to select and edit the last parts of the message because they aren't in view.

<!-- gh-comment-id:5966909739 --> @SpicyMarinara commented on GitHub (Oct 3, 2026): Since we're touching on mobile issues, I cannot scroll to the bottom of the message in roleplay mode on my iPhone while editing. It's very hard to select and edit the last parts of the message because they aren't in view.
Author
Owner

@SpicyMarinara commented on GitHub (Oct 3, 2026):

Fixed in staging by #7021, and it ships in the next release.

About the Gboard language menu closing right away: this comes from Chrome 154 for Android, not from Marinara. A Chrome change in that version hides the keyboard whenever the window loses focus, and Gboard's "Change keyboard" menu takes focus when it opens, so it closes on every website. You can check it by long-pressing Gboard's spacebar in a text field on any other site. Marinara itself never moves focus or the cursor when the keyboard menu opens, and a test now keeps it that way.

What #7021 does fix in Marinara:

  • On phones, while you edit a Roleplay message, words along the top edge can be selected again. The top strip no longer covers them.
  • In Conversation mode, opening the keyboard while editing keeps the first line below the bar at the top.
  • On iPad, opening the keyboard while editing a long message brings its first line back below the top buttons.
  • On iPhone, a long message being edited now fits above the keyboard together with its Save button, so you can scroll to its last lines.
<!-- gh-comment-id:5971426866 --> @SpicyMarinara commented on GitHub (Oct 3, 2026): Fixed in staging by #7021, and it ships in the next release. About the Gboard language menu closing right away: this comes from Chrome 154 for Android, not from Marinara. A Chrome change in that version hides the keyboard whenever the window loses focus, and Gboard's "Change keyboard" menu takes focus when it opens, so it closes on every website. You can check it by long-pressing Gboard's spacebar in a text field on any other site. Marinara itself never moves focus or the cursor when the keyboard menu opens, and a test now keeps it that way. What #7021 does fix in Marinara: - On phones, while you edit a Roleplay message, words along the top edge can be selected again. The top strip no longer covers them. - In Conversation mode, opening the keyboard while editing keeps the first line below the bar at the top. - On iPad, opening the keyboard while editing a long message brings its first line back below the top buttons. - On iPhone, a long message being edited now fits above the keyboard together with its Save button, so you can scroll to its last lines.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3913
No description provided.