[GH-ISSUE #4089] [Issue]: Resized window closes when drag ends outside panel #2211

Closed
opened 2026-10-21 05:46:19 +07:00 by bsakaguchi · 2 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

In game mode, resizing a chat, input, or menu window closes it if the cursor is outside the panel when the mouse button is released. This can discard in-progress edits.

Expected behavior

After resizing, the window should remain open at its new size even if the resize drag ends outside the panel. Clicking outside the window without resizing should continue to close it.

Actual behavior

Releasing the mouse button outside the panel after resizing closes the window. In the Logs window, unsaved message edits are lost and reverted.

Steps to reproduce

  1. Open Logs in game mode chat.
  2. Click to edit a message.
  3. Drag to resize the Logs window.
  4. Release the mouse button while the cursor is outside the Logs window.
  5. Observe that the Logs window closes and the message edits are lost.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Windows on PC; version not provided; 4K resolution with possible display scaling relevance
  • Browser or app shell: Game mode chat; app shell not provided

Logs, screenshots, or video

Not provided in the Discord context.

Additional context

The issue also occurs in other menus; Logs is the easiest place to reproduce it. A Marinara team member acknowledged the report and said they were working on it.

Discord thread: Window resizing/clicking outside of window
Discord thread link: https://discord.com/channels/1417099416812392641/1530516765648355348
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (3 messages)
[2026-07-25T10:07:12.557Z] thatonecan: When resizing a chat/input/window, if your cursor ends up off the panel or outside of that box, the window closes.
Expected: Window closes when clicking outside, works.
Unintended?: Dragging to resize, when you release the button and your cursor is outside the window, it closes the window instead of staying open at the new size.

I'm on pc/windows, 4k resolution if that has any relevence to the issue due to scaling.
To reproduce:
Open 'logs' in game mode chat, click to edit a message, drag to resize the window and release the button while outside of the logs window. The logs will close, any edits made will be lost and revert. This happens in other menu's also, the logs is just the easiest to reproduce the issue.
[Discord message: https://discord.com/channels/1417099416812392641/1530516765648355348/1530516765648355348]

[2026-07-25T13:09:58.381Z] Marinara: Ohhh.
[Discord message: https://discord.com/channels/1417099416812392641/1530516765648355348/1530562759648088115]

[2026-07-25T13:09:59.158Z] Marinara: On it.
[Discord message: https://discord.com/channels/1417099416812392641/1530516765648355348/1530562762906931290]

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 (Jul 25, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4089 Originally assigned to: @SpicyMarinara on GitHub. ## Summary In game mode, resizing a chat, input, or menu window closes it if the cursor is outside the panel when the mouse button is released. This can discard in-progress edits. ## Expected behavior After resizing, the window should remain open at its new size even if the resize drag ends outside the panel. Clicking outside the window without resizing should continue to close it. ## Actual behavior Releasing the mouse button outside the panel after resizing closes the window. In the Logs window, unsaved message edits are lost and reverted. ## Steps to reproduce 1. Open Logs in game mode chat. 2. Click to edit a message. 3. Drag to resize the Logs window. 4. Release the mouse button while the cursor is outside the Logs window. 5. Observe that the Logs window closes and the message edits are lost. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Windows on PC; version not provided; 4K resolution with possible display scaling relevance - Browser or app shell: Game mode chat; app shell not provided ## Logs, screenshots, or video Not provided in the Discord context. ## Additional context The issue also occurs in other menus; Logs is the easiest place to reproduce it. A Marinara team member acknowledged the report and said they were working on it. Discord thread: Window resizing/clicking outside of window Discord thread link: https://discord.com/channels/1417099416812392641/1530516765648355348 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (3 messages)</summary> ```text [2026-07-25T10:07:12.557Z] thatonecan: When resizing a chat/input/window, if your cursor ends up off the panel or outside of that box, the window closes. Expected: Window closes when clicking outside, works. Unintended?: Dragging to resize, when you release the button and your cursor is outside the window, it closes the window instead of staying open at the new size. I'm on pc/windows, 4k resolution if that has any relevence to the issue due to scaling. To reproduce: Open 'logs' in game mode chat, click to edit a message, drag to resize the window and release the button while outside of the logs window. The logs will close, any edits made will be lost and revert. This happens in other menu's also, the logs is just the easiest to reproduce the issue. [Discord message: https://discord.com/channels/1417099416812392641/1530516765648355348/1530516765648355348] [2026-07-25T13:09:58.381Z] Marinara: Ohhh. [Discord message: https://discord.com/channels/1417099416812392641/1530516765648355348/1530562759648088115] [2026-07-25T13:09:59.158Z] Marinara: On it. [Discord message: https://discord.com/channels/1417099416812392641/1530516765648355348/1530562762906931290] ``` </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 05:46:19 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Jul 25, 2026):

🔧 @SpicyMarinara is handling this in draft PR #4093 as part of the current open-issue sweep. The PR targets staging; implementation and validation are in progress.

<!-- gh-comment-id:5079230890 --> @SpicyMarinara commented on GitHub (Jul 25, 2026): 🔧 @SpicyMarinara is handling this in draft PR #4093 as part of the current open-issue sweep. The PR targets `staging`; implementation and validation are in progress.
Author
Owner

@SpicyMarinara commented on GitHub (Jul 25, 2026):

Resolved by #4093 and merged into staging in commit 917c3128a4.

<!-- gh-comment-id:5079475418 --> @SpicyMarinara commented on GitHub (Jul 25, 2026): Resolved by #4093 and merged into staging in commit 917c3128a416e4a87e2b471a82446f16a442ad3d.
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#2211
No description provided.