[GH-ISSUE #6187] [Bug] Built-in translator fails to process responses in background when navigating away from the active chat/RP/game within the UI #3451

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

Originally created by @scavru on GitHub (Sep 14, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6187

Originally assigned to: @SpicyMarinara on GitHub.

Describe the Bug

The built-in text translation feature stops working if the user navigates away from the active chat, Roleplay (RP), or Game (GM) session to another part of the application's interface (e.g., switching to settings, character list, or another menu). The translation only triggers successfully if the specific chat session remains actively open on the screen.

Note: This is an internal UI navigation issue, not a browser tab focus issue.

To Reproduce

  1. Open any Chat, Roleplay, or Game session with the built-in translator enabled.
  2. Trigger an AI response generation.
  3. While the response is generating, use the internal app navigation to switch to another page/menu within the interface (e.g., go to Settings or the Character selection screen).
  4. Wait for the generation to finish in the background.
  5. Navigate back to the initial chat session.

Expected Behavior

The incoming text should be fully translated in the background, even if the user is currently browsing another section of the application's interface.

Actual Behavior

The text remains untranslated. The background translation process don't starting

Originally created by @scavru on GitHub (Sep 14, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6187 Originally assigned to: @SpicyMarinara on GitHub. ### Describe the Bug The built-in text translation feature stops working if the user navigates away from the active chat, Roleplay (RP), or Game (GM) session to another part of the application's interface (e.g., switching to settings, character list, or another menu). The translation only triggers successfully if the specific chat session remains actively open on the screen. *Note: This is an internal UI navigation issue, not a browser tab focus issue.* ### To Reproduce 1. Open any Chat, Roleplay, or Game session with the built-in translator enabled. 2. Trigger an AI response generation. 3. While the response is generating, use the internal app navigation to switch to another page/menu within the interface (e.g., go to Settings or the Character selection screen). 4. Wait for the generation to finish in the background. 5. Navigate back to the initial chat session. ### Expected Behavior The incoming text should be fully translated in the background, even if the user is currently browsing another section of the application's interface. ### Actual Behavior The text remains untranslated. The background translation process don't starting
bsakaguchi 2026-10-21 06:03:15 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Sep 14, 2026):

Taking this in the assigned sweep for @SpicyMarinara, with Codex implementation tracked in draft #6193. Existing open PRs were checked before starting. I will preserve the current staging fixes and verify this issue’s remaining behavior before closing it.

<!-- gh-comment-id:5662614124 --> @SpicyMarinara commented on GitHub (Sep 14, 2026): Taking this in the assigned sweep for @SpicyMarinara, with Codex implementation tracked in draft #6193. Existing open PRs were checked before starting. I will preserve the current staging fixes and verify this issue’s remaining behavior before closing it.
Author
Owner

@SpicyMarinara commented on GitHub (Sep 14, 2026):

Fixed on staging in #6193. Automatic translation captures the originating chat settings after pending saves and persists the translation through the existing shared path even after internal navigation or cache eviction. Remounting does not duplicate an in-flight translation. Browser regressions pass for Conversation, Roleplay and Game across desktop Chromium, mobile Chromium and mobile WebKit.

<!-- gh-comment-id:5664677719 --> @SpicyMarinara commented on GitHub (Sep 14, 2026): Fixed on staging in #6193. Automatic translation captures the originating chat settings after pending saves and persists the translation through the existing shared path even after internal navigation or cache eviction. Remounting does not duplicate an in-flight translation. Browser regressions pass for Conversation, Roleplay and Game across desktop Chromium, mobile Chromium and mobile WebKit.
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#3451
No description provided.