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

Fix #336: Disable asynchronous mode for GTK printing. #337

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

chihyang
Copy link
Contributor

Fix issue #336: for unknown reasons, asynchronous printing in GTK3 generates blank pages. Disabling asynchronous mode fixes this problem. This change makes the main window freeze when the print dialog is popped up. But it shouldn't be a problem. First this is also the default behavior when the print dialog is popped up in Windows. This change makes the behavior more consistent on different OSes. Besides, it is reasonable to forbid editing when the contents of the editor is being printed.

@chihyang chihyang changed the title Fix #336: Disable asynchronous mode for GTP printing. Fix #336: Disable asynchronous mode for GTK3 printing. Sep 15, 2024
@chihyang chihyang changed the title Fix #336: Disable asynchronous mode for GTK3 printing. Fix #336: Disable asynchronous mode for GTK printing. Sep 15, 2024
Fix issue racket#336: for unknown reasons, asynchronous printing in GTK3 generates
blank pages.  Disabling asynchronous mode fixes this problem.  This change makes
the main window freeze when the print dialog is popped up.  But it shouldn't be
a problem.  First this is also the default behavior when the print dialog is
popped up in Windows.  This change makes the behavior more consistent on
different OSes.  Besides, it is reasonable to forbid editing when the contents
of the editor is being printed.
@mflatt mflatt merged commit 619bcd4 into racket:master Sep 19, 2024
@mflatt
Copy link
Member

mflatt commented Sep 19, 2024

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants