[GH-ISSUE #7800] [Issue]: Beholder: clicking "Got it" on the first-open note closes the whole Beholder window when opened from the shortcut #4307

Closed
opened 2026-10-21 06:14:35 +07:00 by bsakaguchi · 3 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

When Beholder is opened from the shortcut button, clicking "Got it" (or the ×) on the first-open note closes the whole Beholder window as well. Opened from the full tracker page, "Got it" closes only the note, as expected.

Expected behavior

"Got it" closes only the note. The Beholder window stays open.

Actual behavior

The note and the whole Beholder window disappear.

Steps to reproduce

  1. Clear the marinara.beholder.onboarded key in localStorage, or use a new browser profile.
  2. In a Roleplay chat, open Beholder from the shortcut button.
  3. Click "Got it" on the note.

Environment

Marinara Engine version: 2.5.0
Package version: beholder 1.3.12 (same code as main today)
Install type: docker
OS + version / browser: Android 16, Samsung ONE Ui - 8.5 Firefox mobile (Version 158.0) and Windows 11 Business 26H2 desktop (Version 158.0 (64-bit))

Logs, screenshots, or video

Screen recording attached.

Additional context

From reading client.js; the host-side step is my guess and not confirmed:

-BH.onboard.maybeShow() appends the note to document.body, outside the panel and outside the shortcut's host element.

  • BH.dock.releaseHost() calls close() once no marinara-capability-beholder host element is connected. close() also removes .beholder-onboard.
  • So a click on the note probably counts as an outside click for the shortcut. The host closes it and unmounts the toolbar element, and Beholder closes itself. The tracker page keeps its launcher mounted, which is why it works there.

Possible fixes: mount the note inside the panel. Or don't close a floating panel that is already open just because the toolbar host unmounted.

Workaround: dismiss the note once from the tracker page. It is remembered per browser after that.

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.

https://github.com/user-attachments/assets/744e97dd-f1dd-43d0-9b49-28005d768f00

Originally created by @surrealle on GitHub (Oct 19, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7800 Originally assigned to: @SpicyMarinara on GitHub. ## Summary When Beholder is opened from the shortcut button, clicking "Got it" (or the ×) on the first-open note closes the whole Beholder window as well. Opened from the full tracker page, "Got it" closes only the note, as expected. ## Expected behavior "Got it" closes only the note. The Beholder window stays open. ## Actual behavior The note and the whole Beholder window disappear. ## Steps to reproduce 1. Clear the `marinara.beholder.onboarded` key in localStorage, or use a new browser profile. 2. In a Roleplay chat, open Beholder from the shortcut button. 3. Click "Got it" on the note. ## Environment Marinara Engine version: 2.5.0 Package version: beholder 1.3.12 (same code as main today) Install type: docker OS + version / browser: Android 16, Samsung ONE Ui - 8.5 Firefox mobile (Version 158.0) and Windows 11 Business 26H2 desktop (Version 158.0 (64-bit)) ## Logs, screenshots, or video Screen recording attached. ## Additional context From reading client.js; the host-side step is my guess and not confirmed: -`BH.onboard.maybeShow()` appends the note to `document.body`, outside the panel and outside the shortcut's host element. - `BH.dock.releaseHost()` calls `close()` once no `marinara-capability-beholder` host element is connected. `close()` also removes `.beholder-onboard.` - So a click on the note probably counts as an outside click for the shortcut. The host closes it and unmounts the toolbar element, and Beholder closes itself. The tracker page keeps its launcher mounted, which is why it works there. Possible fixes: mount the note inside the panel. Or don't close a floating panel that is already open just because the toolbar host unmounted. Workaround: dismiss the note once from the tracker page. It is remembered per browser after that. ## 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. https://github.com/user-attachments/assets/744e97dd-f1dd-43d0-9b49-28005d768f00
bsakaguchi 2026-10-21 06:14:35 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

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

This is fixed on the package side in Pasta-Devs/Marinara-Agents#1469 (Beholder 1.3.13, tracked as Pasta-Devs/Marinara-Agents#1468). The note sat on the page body without the data-chat-floating-panel marker the Engine's shortcut window ignores, so pressing it closed that window and Beholder with it. The build menu had the same gap and is fixed too. No Engine change is needed.

<!-- gh-comment-id:6263989931 --> @SpicyMarinara commented on GitHub (Oct 19, 2026): This is fixed on the package side in Pasta-Devs/Marinara-Agents#1469 (Beholder 1.3.13, tracked as Pasta-Devs/Marinara-Agents#1468). The note sat on the page body without the `data-chat-floating-panel` marker the Engine's shortcut window ignores, so pressing it closed that window and Beholder with it. The build menu had the same gap and is fixed too. No Engine change is needed.
Author
Owner

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

Fixed in the Beholder package by Pasta-Devs/Marinara-Agents#1469 (Beholder 1.3.13); update Beholder from the Agents catalog to get it.

<!-- gh-comment-id:6265486673 --> @SpicyMarinara commented on GitHub (Oct 19, 2026): Fixed in the Beholder package by Pasta-Devs/Marinara-Agents#1469 (Beholder 1.3.13); update Beholder from the Agents catalog to get it.
Author
Owner

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

Follow-up: Beholder opened from the shortcut now also stays open when you click elsewhere in the chat (Pasta-Devs/Marinara-Agents#1475).

<!-- gh-comment-id:6266579396 --> @SpicyMarinara commented on GitHub (Oct 19, 2026): Follow-up: Beholder opened from the shortcut now also stays open when you click elsewhere in the chat (Pasta-Devs/Marinara-Agents#1475).
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#4307
No description provided.