-
Notifications
You must be signed in to change notification settings - Fork 286
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
Fix HTML capture race conditions #580
Conversation
- Watch resized dimension to avoid misshapen pages - Lower waiting sleep to respond to finished captures quicker
src/qz/printer/action/WebApp.java
Outdated
log.debug("Attempting image capture"); | ||
|
||
SnapshotParameters sparams = new SnapshotParameters(); | ||
sparams.setTransform(new Scale(pageZoom, pageZoom)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+ cleanup unnecessary code + address jfx8 default size behavior
I just realized that the zoom is still using the |
Remove SnapshotParameters technique for now
I tried to fix it by making the stage smaller, but it results in more partial snapshots. I guess that won't improve until #576 is completed. 🤞 Merging. |
Add Monocle support, performance improvements This is a 2.1 refactor of #580 Co-authored-by: Berenz <thebrettberenz@gmail.com>
Creating a PR because initial tests are passing.
Closes #547 #32
Test results: