Drracket prints definitions as blank pages
Nobody has claimed this yet.
- Dominant language
- Racket
- Stars
- 68
- Forks
- 82
- PR merge metrics
- No merged PRs in 30d
Description
This issue is related to https://github.com/racket/drracket/issues/465. On Linux, "File > Print definitions... > [print dialogue opens]" generates empty pages. This is tested with both Racket 8.13 and 8.14 on multiple Linux distro. And it seems the problem has existed for a while. 8.13 and 8.14 are not the only two versions that suffer from it. My tests show that disabling asynchronous operation in the following line fixes this problem. The reason for that is still not clear. But it should be safe for now to just disable asynchronous printing.
https://github.com/racket/gui/blob/03b7ffaab6ba1bd5b16907b95a1a0f12e9dd6135/gui-lib/mred/private/wx/gtk/printer-dc.rkt#L168
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at gui-lib/mred/private/wx/gtk/printer-dc.rkt around line 168, where the issue reports that disabling asynchronous operation avoids blank printed pages. Reproduce File > Print definitions... on Linux, then verify that printed definitions produce non-empty pages and that the change does not regress printing behavior.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100