https://bugs.kde.org/show_bug.cgi?id=477041

            Bug ID: 477041
           Summary: registerShortcut() is not registering many shortcuts
    Classification: Plasma
           Product: kwin
           Version: 5.27.9
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: scripting
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Nearly no shortcut is working with registerShortcut(). There are some, though,
but it seems that every letter shortcut is rejected. Among the ones I tested
are "Meta+I", "Meta+Ctrl+I", "Meta+N", "Meta+B", "Ctrl+Alt+B" … I made sure to
test shortcuts that were not registered yet.

But some shortcuts do work, for example "Meta+F4" or "Meta+Num+8" (if NumPad is
enabled). A working example:

  print("started");
  registerShortcut("Test", "Test", "Meta+F4", () => print("works"));

"started" is always printed to the journal, "works" only after a shortcut that
was really registered (like "Meta+F4") is triggered. There is never any error
message in the journal.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Kernel Version: 6.2.0-36-generic (64-bit)
Graphics Platform: X11
Processors: 16 × Intel® Core™ i7-10875H CPU @ 2.30GHz
Memory: 62.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: TUXEDO
Product Name: TUXEDO Book XC1711
System Version: Not Applicable

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to