Skip to content

Fix bug in bdDetect device registration affecting Albatross#17585

Merged
seanbudd merged 2 commits into
nvaccess:masterfrom
LeonarddeR:fixAlba
Jan 7, 2025
Merged

Fix bug in bdDetect device registration affecting Albatross#17585
seanbudd merged 2 commits into
nvaccess:masterfrom
LeonarddeR:fixAlba

Conversation

@LeonarddeR

Copy link
Copy Markdown
Collaborator

Link to issue number:

Fixes #17537 (comment)

Summary of the issue:

In #17537, I introduced aa new addUsbDevice method on DriverRegistrar, but it had parameter ordering wrong.

Description of user facing changes

Albatross detection should work again.

Description of development approach

Fixed order. I added a bunch of unit tests to avoid this in the future.

Testing strategy:

Unit tests.

Known issues with pull request:

None known

Code Review Checklist:

  • Documentation:
    • Change log entry
    • User Documentation
    • Developer / Technical Documentation
    • Context sensitive help for GUI changes
  • Testing:
    • Unit tests
    • System (end to end) tests
    • Manual testing
  • UX of all users considered:
    • Speech
    • Braille
    • Low Vision
    • Different web browsers
    • Localization in other languages / culture than English
  • API is compatible with existing add-ons.
  • Security precautions taken.

@coderabbitai summary

@LeonarddeR LeonarddeR requested a review from a team as a code owner January 6, 2025 20:21
@LeonarddeR LeonarddeR requested a review from seanbudd January 6, 2025 20:21
@LeonarddeR

Copy link
Copy Markdown
Collaborator Author

@burmancomp could you please confirm whether this fixes the issue?

@SaschaCowley SaschaCowley added the conceptApproved Similar 'triaged' for issues, PR accepted in theory, implementation needs review. label Jan 6, 2025
Comment thread tests/unit/test_bdDetect.py Outdated
Comment thread tests/unit/test_bdDetect.py Outdated
Comment thread tests/unit/test_bdDetect.py Outdated

@seanbudd seanbudd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @LeonarddeR

@seanbudd seanbudd merged commit 1edb075 into nvaccess:master Jan 7, 2025
@github-actions github-actions Bot added this to the 2025.1 milestone Jan 7, 2025
@LeonarddeR LeonarddeR deleted the fixAlba branch August 23, 2025 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

conceptApproved Similar 'triaged' for issues, PR accepted in theory, implementation needs review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants