[GH-ISSUE #1552] [Issue]: Error toast overlays the chat send button and intercepts composer clicks #795

Closed
opened 2026-10-20 17:33:29 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Xelvanis on GitHub (May 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1552

Originally assigned to: @Romuromylus on GitHub.

Summary

Persistent generation-error toasts render over the bottom-right chat composer controls and can physically intercept clicks on the send button.

Expected behavior

Generation-error toasts should not block the active composer. They should either be positioned away from the send button, have non-blocking pointer behavior where safe, or provide a clear close/dismiss affordance that does not prevent continued chat input.

Actual behavior

After a failed roleplay generation, the error toast appeared over the composer send button. Clicking the visible send button was intercepted by the toast instead of reaching .mari-chat-send-btn. The textarea still accepted input, but pointer send was blocked until the toast was dismissed or avoided with keyboard submit.

The visible toast text was:

Generation produced no visible assistant response. Your message was kept; retry or adjust the provider.
Your message was kept. Fix the connection or provider issue, then retry.

Steps to reproduce

  1. Open a roleplay chat in the Tauri desktop app.
  2. Trigger a generation failure that shows the provider/generation error toast, for example a local model response that produces no visible assistant text.
  3. Leave the toast visible near the bottom-right composer area.
  4. Type another message in the composer and click the visible send button.
  5. Observe that the click is intercepted by the toast instead of sending the message.

Impact area

  • App shell, navigation, startup, or providers
  • Catalog resources
  • Chat mode
  • Roleplay mode
  • Game mode
  • Shared mode UI
  • Runtime systems: generation, world-state, visuals, tracker, or haptics
  • Professor Mari or shell tools
  • React-free engine behavior, contracts, agents, or capability ports
  • Shared API wrapper or remote runtime routing
  • Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime
  • Docs, contributor workflow, or templates

Environment

  • Branch or commit: refactor at f120eb33
  • Run mode: Tauri desktop dev
  • OS + version: Windows
  • Node + pnpm versions: not captured
  • Rust version, if relevant: not captured
  • Remote Runtime URL configured? not relevant
  • Provider, model, or integration, if relevant: local OpenAI-compatible LM Studio model during QA

Logs, screenshots, or video

During native WebView QA, document.elementsFromPoint(...) at the send button center showed the toast description above the send button in the hit-test stack. Playwright click on button.mari-chat-send-btn timed out because the toast subtree intercepted pointer events.

Regression notes

Not checked.

Additional context

Keyboard submit can avoid the pointer interception in some configurations, but the visible send button should remain usable after a generation error.

Template check

Please uncheck 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 @Xelvanis on GitHub (May 29, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1552 Originally assigned to: @Romuromylus on GitHub. ## Summary Persistent generation-error toasts render over the bottom-right chat composer controls and can physically intercept clicks on the send button. ## Expected behavior Generation-error toasts should not block the active composer. They should either be positioned away from the send button, have non-blocking pointer behavior where safe, or provide a clear close/dismiss affordance that does not prevent continued chat input. ## Actual behavior After a failed roleplay generation, the error toast appeared over the composer send button. Clicking the visible send button was intercepted by the toast instead of reaching `.mari-chat-send-btn`. The textarea still accepted input, but pointer send was blocked until the toast was dismissed or avoided with keyboard submit. The visible toast text was: ```text Generation produced no visible assistant response. Your message was kept; retry or adjust the provider. Your message was kept. Fix the connection or provider issue, then retry. ``` ## Steps to reproduce 1. Open a roleplay chat in the Tauri desktop app. 2. Trigger a generation failure that shows the provider/generation error toast, for example a local model response that produces no visible assistant text. 3. Leave the toast visible near the bottom-right composer area. 4. Type another message in the composer and click the visible send button. 5. Observe that the click is intercepted by the toast instead of sending the message. ## Impact area - [ ] App shell, navigation, startup, or providers - [ ] Catalog resources - [ ] Chat mode - [x] Roleplay mode - [ ] Game mode - [x] Shared mode UI - [x] Runtime systems: generation, world-state, visuals, tracker, or haptics - [ ] Professor Mari or shell tools - [ ] React-free engine behavior, contracts, agents, or capability ports - [ ] Shared API wrapper or remote runtime routing - [ ] Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime - [ ] Docs, contributor workflow, or templates ## Environment - Branch or commit: `refactor` at `f120eb33` - Run mode: Tauri desktop dev - OS + version: Windows - Node + pnpm versions: not captured - Rust version, if relevant: not captured - Remote Runtime URL configured? not relevant - Provider, model, or integration, if relevant: local OpenAI-compatible LM Studio model during QA ## Logs, screenshots, or video During native WebView QA, `document.elementsFromPoint(...)` at the send button center showed the toast description above the send button in the hit-test stack. Playwright click on `button.mari-chat-send-btn` timed out because the toast subtree intercepted pointer events. ## Regression notes Not checked. ## Additional context Keyboard submit can avoid the pointer interception in some configurations, but the visible send button should remain usable after a generation error. ## Template check Please uncheck 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-20 17:33:29 +07:00
  • closed this issue
  • added the
    client
    bug
    labels
Author
Owner

@Romuromylus commented on GitHub (May 29, 2026):

Resolved by #1601, merged into refactor.

<!-- gh-comment-id:4580149524 --> @Romuromylus commented on GitHub (May 29, 2026): Resolved by #1601, merged into `refactor`.
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#795
No description provided.