Bug 486875 - Microsoft keyboard does not work in plasma
Summary: Microsoft keyboard does not work in plasma
Status: RESOLVED NOT A BUG
Alias: None
Product: plasma-wayland-protocols
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-10 23:23 UTC by kdbase-kdebug
Modified: 2024-05-11 14:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kdbase-kdebug 2024-05-10 23:23:56 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
This is a strange bug, and I did not know how to categorize it.  I am using Plasma wayland with Fedora.

I have two USB keyboards.  The one from Logitech works with no problem.

The other is from Microsoft.  Its lsusb description is
    ID 045e:0750 Microsoft Corp. Wired Keyboard 600

The Microsoft keyboard, which I prefer, works everywhere except inside Plasma.  I can use it after I boot the computer, within GNOME, or even to enter my password from sddm.  But as soon as I enter Plasma, it's not recognized.  None of the keys has any effect.  The Logitech keyboard does function, however, without problem.  I'm running on wayland.  I wanted to try it on the X11 version of Plasma, but Fedora does not supply this.

This occurs no matter how I start up plasma, whether from sddm, gdm, or the startplasma-wayland command.

STEPS TO REPRODUCE
1. Plug in my Microsoft USB keyboard.
2. Start Plasma.
3. 

OBSERVED RESULT
Keyboard does not function.  I log out using the mouse.

EXPECTED RESULT
The keyboard functions.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Linux 6.9.0-0.rc6.  Plasma 6.0.4
(available in About System)
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 24.02
Qt Version: 6.7

ADDITIONAL INFORMATION
I'm currently signed into GNOME, so that I can use my preferred keyboard.  I am running Fedora Rawhide, although the problem is also present in Fedora 40.  I filled in the the KDE, Plasma, and Qt version fields based on the version numbers in the RPM packages.  I think this is what you were looking.
Comment 1 kdbase-kdebug 2024-05-11 12:03:23 UTC
Please close this issue.  It is almost certainly not a bug.

It occurred to me that this may be a problem with my configuration.  I logged into Plasma as a guest user that I previously created to test this.  Indeed, the Microsoft keyboard functions properly for this user.

I'll see if I can find the problem in my config and cache files.  If I can't, I'll delete all the Plasma files and restore my desktop.  It's a bit of a pain, but I've done it before, and it's not too bad.