Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing canvas size sometimes does not resize the preview window #27

Open
llbit opened this issue Jan 19, 2013 · 6 comments · May be fixed by #1013
Open

Changing canvas size sometimes does not resize the preview window #27

llbit opened this issue Jan 19, 2013 · 6 comments · May be fixed by #1013
Labels

Comments

@llbit
Copy link
Collaborator

llbit commented Jan 19, 2013

Sometime changing the canvas size does not work as intended. For example the double canvas size button may not work, and it does not work to increase the canvas size in large increments.

@llbit
Copy link
Collaborator Author

llbit commented Feb 20, 2013

TODO: Check if there is a way to force Swing to resize the preview window?

@Coestar
Copy link

Coestar commented Oct 16, 2013

I have found that with some scenes, I simply cannot change the canvas size - I push the button and nothing happens. When this happens, it also doesn't save the new numbers. If I set the canvas size I want as default, then the scenes that don't work simply won't open at all. Chunky provides no feedback on what's happening, seems to just silently fail. I would prefer to be able to set the size regardless of whether Chunky can actually display it or not, as I am doing my rendering remotely (headless). A command-line override would be lovely.

@abonander
Copy link

Has this been fixed by our patch for the blank preview window?

@Jolyk
Copy link

Jolyk commented Jun 6, 2014

I set size to 1920x1080 -> ok.
I press "double" -> 3840x2160 -> preview turned to white, but render ok.
I press "double" again -> resolution did not change -> still white, didn't try to render.

(i heard something about 4k bitmap limitaion on direct2d)

win 8.1 64bit
java 7 upd 55 32bit
chunky 1.2.2

@IceSelkie
Copy link
Member

IceSelkie commented Feb 4, 2021

This is caused by JavaFX canvas size being too large: #492

This will also be (pretty much) fixed, as soon as #786 is complete.

(Could we possibly mark this as duplicate and close this to use #492 issue thread instead?)

@IceSelkie
Copy link
Member

This is caused by JavaFX canvas size being too large: #492

This will also be (pretty much) fixed, as soon as #786 is complete.

(Could we possibly mark this as duplicate and close this to use #492 issue thread instead?)

Woops, actually, this issue is unique from #492 as 492 discusses larger canvases that exceed Integer#MAX_VALUE / 3 in pixel count, not canvases which are smaller and still cause JavaFx to fail silently, like #314 did.

See: #786 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants