Skip to content

Mismatched input on wayland (with the environment variable QT_QPA_PLATFORM set to xcb) #464

@Vlusky

Description

@Vlusky

Wrong part of the overlay gets highlighted whenever certain keys are pressed. Running it under wayland directly straight up doesn't work. Changing the QT_QPA_PLATFORM variable works for all the keys except anything beyond the right Ctrl key (so arrow keys, Insert, Home, ScrLk, Numpad, etc.)

To Reproduce

  • Open a wayland environment (I'm using KDE Plasma)
  • Open the terminal and run QT_QPA_PLATFORM=xcb obs
  • Load a preset with any preset that displays the keypad (I'm using "qwerty-pixel-with-keypad")
  • Press any key in that Navigation Keys area

Expected behavior

  • The right arrow key should highlight the right arrow key part of the image.

Actual Behavior
Pressing Right Arrow Key or Pause Break results in this:
When Right Arrow Key or Pause Break is pressed

Video: https://github.com/user-attachments/assets/09fd42aa-137e-4fd6-95db-494a2ab574c0

Additional information:

  • Plugin version 5.0.6-HEAD-c99a526 build on 2024.10.24 17:24, installed from the AUR binary

Additional context
I tried changing the .json ID with the value I saw with evtest and double checking it with io-cct to no avail. I'm wondering if there's any better workaround to get these working since I know wayland reaaaalllyy hates these things.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions