Skip to content

downgrade InvalidReport from logging error to debug - #1864

Merged
mkrnr merged 1 commit into
mainfrom
invalidreport-downgrade-error
Aug 11, 2026
Merged

downgrade InvalidReport from logging error to debug#1864
mkrnr merged 1 commit into
mainfrom
invalidreport-downgrade-error

Conversation

@greenwyrt

Copy link
Copy Markdown
Contributor

Summary of changes

I have a keyboard that switches between PloverHID and mouse keys.

On Windows, I can use PloverHID and switch with the mouse keys with no errors.

On Linux, I get the invalid report error if I try to use mouse keys.

In Linux, HID devices share the same path even though they may have multiple usage and usage pages (unlike Windows which seems to generate unique paths). Plover will attempt to read non-PloverHID data packets (mousekey events in my case), and raise InvalidReport errors, generating multiple system notifications.

The change in log level will stop the notifications, but debug output will still show the exception.

Pull Request Checklist

  • Changes have tests
  • News fragment added in news.d. See documentation for details

Signed-off-by: greenwyrt <117969582+greenwyrt@users.noreply.github.com>
@greenwyrt
greenwyrt marked this pull request as ready for review August 11, 2026 20:49
@greenwyrt
greenwyrt requested a review from mkrnr August 11, 2026 20:49

@mkrnr mkrnr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks! I'd say we don't need a news entry for this fix.

@mkrnr
mkrnr merged commit 5fddc15 into main Aug 11, 2026
18 checks passed
@mkrnr
mkrnr deleted the invalidreport-downgrade-error branch August 11, 2026 21:33
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.

2 participants