mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3758] [Issue]: v2.3.3 — Dynamic resolution works, but the image generation UI displays the pre-resolution dimensions #2025
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#2025
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/3758
Originally assigned to: @SpicyMarinara on GitHub.
Follow-up to #3726 / #3732.
Correction to my original report: I initially filed this as "dynamic resolution has no effect." That was wrong — the feature works. The generated images are the correct dimensions. The problem is that the size shown in the image generation UI reports the requested/configured dimensions rather than the resolved size that was actually sent, which is what made it look broken.
Actual
resolveNovelAiSizeis doing its job.Expected
The displayed size should reflect the dimensions actually requested from NovelAI (i.e. the value returned by
resolveNovelAiSize), so it matches the generated image.Why it's worth fixing
It's cosmetic, but actively misleading: it makes a working feature look like it's doing nothing. I only realised the feature worked after checking the generated files' actual pixel dimensions — the UI had me convinced it was broken, and I filed it as such.
Notes
request.width/request.height.Separate latent issue in the same code path
Unrelated to the display bug above, but noticed while looking into this —
resolveNovelAiSizeis called withmergedPrompt:mergedPromptincludes the connection's Prompt Prefix. SincedetectNovelAiSubjectCountscans everything before the first|and sums every count token it finds:…any count token in a Prompt Prefix would be added to the scene's subject count. E.g. a prefix containing
2girlsplus a1boyscene resolves to 3 → landscape instead of portrait.This doesn't affect me (my Prompt Prefix is empty), but it looks unintended. Passing
prompt(the prepared scene prompt) rather thanmergedPromptwould keep prefix text out of subject detection.Also worth a look — upgrade path for existing profiles
This returns the stored profile as-is rather than merging it over the defaults. NovelAI profiles saved before v2.3.3 won't contain
dynamicResolutionBySubjectCount,styleReferenceStrength, orstyleReferenceFidelity, so those features would silently no-op for existing users on upgrade.The editor masks this, since it fills gaps via
value.novelai ?? createDefaultImageGenerationProfile("novelai").novelai!— the checkbox still appears ticked even if the key never reaches the server.Something like:
Environment
MarinaraLauncher.exehttps://image.novelai.net), modelnai-diffusion-4-5-full, Opus tierApologies for the inaccurate original title — happy to test any fix.