Crashes if page number to be printed is higher than total number of pages
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 283
- Forks
- 82
- PR merge metrics
- No merged PRs in 30d
Description
Distribution
linux min 21.3
Package version
4.0.2
Frequency
Always
Bug description
Nothing more to say.
Steps to reproduce
Open the print dialog, select page TOTAL_NUM + 1 and print.
Expected behavior
Do not accept invalid page numbers. Preferably just show a message next to the input box instead of breaking the flow with an alert window. Buttons to increment/decrement to handle bitchy printers page by page would also be of great help in matters of saving time.
Additional information
No response
Contributor guide
No contributing guide indexed for this repository
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 by reproducing the crash from the print dialog with a page number one greater than the total. Trace the invalid-page handling and verify that the dialog rejects the value without crashing, while preserving the printing flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100