OpenPrinting / OpenPrinting/go-mfp
Issue broken supply level reports in IPP
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 23
- Forks
- 12
- Avg merge
- 1d 27m
- Merged PRs (30d)
- 7
Description
See
https://invent.kde.org/plasma/print-manager/-/merge_requests/311
Here a printer reports a broken supply level report in its IPP get-printer-attributes response. The report consists of araays where each array is supposed to have one element for each supply, so if the printer has n supplies each array has n elements. In the example in the linked bug report, there is a black and a color cartridge (cheap inkjet, 2 supplies), but the marker-levels attribute has 8 elements.
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 with the linked KDE merge request and bug report, then trace the Go IPP supply-level attribute parsing described in the issue. Confirm how mismatched array lengths are handled and make the behavior correct for printers whose supply arrays contain extra elements.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100