mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3757] [Issue]: v2.3.3 — NovelAI style plate: "Choose image" blanks the connection editor panel, image can never be set #2024
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#2024
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 @jswen4-tech on GitHub (Jul 17, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3757
Originally assigned to: @SpicyMarinara on GitHub.
Follow-up to #3725 / #3732. The style plate can't be configured at all — clicking the image picker blanks the connection editor panel.
I notice this item on #3732's manual review checklist is unchecked, and I think this is part of it:
(Filing the dynamic-resolution half separately, since it looks like an unrelated server-side issue.)
Steps to reproduce
Actual
The OS file dialog opens and the entire connection editor panel goes solid black at that same moment. The rest of the UI (sidebars, toolbar, chat, Connections list) renders normally — only the editor panel's contents disappear. The image can never be saved.
Expected
Picker opens; the chosen image is stored and previewed as the style plate.
Narrowing down
handleNovelAiStylePlateUploadand the state update do appear to run correctly. Only the panel's rendering breaks.Tried images at 1761×1028, 512×512, and 256×256 — identical behavior, consistent with it being unrelated to the image itself.
Places I checked that look fine
Sharing these to save you time — I read through them and couldn't find the cause, so it's probably none of these:
handleNovelAiStylePlateUpload(ConnectionEditor.tsx~L2832) — guards no-file / non-image / >10MB, uses FileReader withonerror, only callsupdateNovelAion success.ConnectionEditor.tsx~L3157–3210) — the picker is a plainsr-only<input type="file">inside a<label>, so clicking it runs no JS at all. The preview<img>is properly guarded behindnovelai.styleReferenceImage.NumberSetting(ConnectionEditor.tsx~L3535+) —commitguards!Number.isFinite(parsed), so noNaNreaches state;integer={false}is passed correctly for Strength/Fidelity.use-settings-sync.ts—handleVisibilityChangeonly fires onvisibilityState === "hidden"and only pushes; a file dialog doesn't hide the tab.AppShell.tsxwindow.addEventListener("blur", finishResize)— only registered insidestartSidebarResizeduring an active drag, and removed on finish.The only pattern I can find that fits every symptom is something reacting to the window blur that opening the OS file dialog causes, and collapsing the editor body (which is gated behind
{expanded && (...)}) — but I couldn't find what flips it.Environment
MarinaraLauncher.exepnpm devagainst the backend on :7860https://image.novelai.net), modelnai-diffusion-4-5-full, Opus tierI opened #3725 originally and I'm happy to test any fix — I can build from source and reproduce this in under a minute.