mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3939] [Issue]: Portrait crop image fills screen and triggers file upload #2129
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#2129
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SpicyMarinara on GitHub (Jul 22, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3939
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Opening the crop or resize tool for a character portrait causes the image to spill outside its container and fill the screen. Clicking anywhere then opens a file upload dialog.
Expected behavior
The portrait should remain within the crop or resize container, and page clicks should interact with the editor normally without opening an unrelated file upload dialog.
Actual behavior
The portrait fills the entire screen when crop or resize is selected. Clicking anywhere opens a file upload dialog, preventing affected cards from being edited unless they are reimported.
Steps to reproduce
Environment
Logs, screenshots, or video
Screen recording attached: https://cdn.discordapp.com/attachments/1529471841255555212/1529471850025975879/Screen_Recording_2026-07-22_at_8.51.15_PM.mov?ex=6a620f29&is=6a60bda9&hm=47c38094a5aa3ef9bd2ed401e7697f08b190693b49dba7a4ecef91070c7b5c1d&
Additional context
No custom themes are enabled. The issue occurs with all cards whose portraits have been cropped. Cards adjusted before the issue appeared are now impossible to edit unless they are reimported.
Discord thread: [Bug] Character menu bugs out when cropping portrait image
Discord thread link: https://discord.com/channels/1417099416812392641/1529471841255555212
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (4 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Jul 22, 2026):
I’m handling this on
agent/fix-portrait-crop-overlay. The report reproduces the same Metadata crop escape fixed for #3741 on staging; this follow-up will harden the remaining editor upload target so an escaped crop layer cannot hijack page clicks, and will extend the regression guard before the fix is merged tostaging.@SpicyMarinara commented on GitHub (Jul 22, 2026):
Resolved in #3942 and merged to
stagingas6cbfe56c9. The editor avatar upload targets now provide an explicit positioning context, cropped image layers cannot intercept page clicks, and regression coverage guards both behaviors.