Skip to content

Prefer IPP-over-USB over legacy USB connections - #497

Open
SinghCod3r wants to merge 6 commits into
masterfrom
fix/prefer-ipp-over-usb
Open

SinghCod3r wants to merge 6 commits into
masterfrom
fix/prefer-ipp-over-usb

Conversation

@SinghCod3r

Copy link
Copy Markdown
Collaborator

When a printer provides both IPP-over-USB and legacy USB connections, prefer IPP-over-USB in the Connection selector.

Changes

  • Show IPP-over-USB before legacy USB.
  • Select IPP-over-USB by default when both connections are available.
  • Keep legacy USB available for compatibility.
  • Show a warning when the user selects legacy USB.
  • Explain that legacy USB disables driverless printing and scanning and may require proprietary drivers.
  • Allow the user to cancel the warning and return to IPP-over-USB.
  • Ensure the selected connection uses the correct URI (ipp:// or usb://).
  • Merge matching USB and IPP-over-USB devices into the same PhysicalDevice.
  • Keep unrelated LAN IPP devices separate.
  • Add tests for connection ordering, selection, warning behavior, cancellation, URI switching, and device merging.

Testing

  • 233 passed
  • git diff --check clean

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.

1 participant