Summary: | On X11, pressing alt+shift+r isn't registered in Konsole or Tastenbrett | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | zyf0330 <zyf034100> |
Component: | input | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | cwo.kde, zyf034100 |
Priority: | NOR | ||
Version: | 5.27.11 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Situation In terminal
Situation In Keyboard layout viewer |
Description
zyf0330
2024-07-12 03:10:03 UTC
Created attachment 171596 [details]
Situation In terminal
Created attachment 171597 [details]
Situation In Keyboard layout viewer
I try it on Wayland, and this problem doesn't appear. Do you have a global shortcut set for Alt+Shift+R, or an application that listens for this shortcut running? If another application grabs this combination, it will not be sent to the application that has focus. (In reply to cwo from comment #4) > Do you have a global shortcut set for Alt+Shift+R, or an application that > listens for this shortcut running? If another application grabs this > combination, it will not be sent to the application that has focus. Hi. I have inspected System Settings Shortcuts and Custom Shortcuts, and there is no alt+shift+r shortcut binding. I don't think any application listens for this shortcut too, but how to troubleshoot it? Hello, thanks for your prompt, I have find the app grabbing this shortcut. And after learning Xlib development, I know that how to grab shortcut globally. But I must use that app, and I want to know how to prevent that app to do that. I tried XUngrabKey within myself program, it doesn't work. Can you help me? (In reply to zyf0330 from comment #6) > But I must use that app, and I want to know how to prevent that app to do > that. I tried XUngrabKey within myself program, it doesn't work. > Can you help me? I'm sorry, I don't know much about the internals here. I would recommend - seeing whether you can configure the application to not grab that particular shortcut somewhere in the app's settings or cofiguration files - if you have source code access, remove the key grab for that combination and recompile - ask in a general support forum for linux/your distribution/X11, where more people may see it compared to a bug on a tracker somewhere - consider switching to Wayland (if your hardware supports that), where you can turn off the ability for X11 apps to grab input this way Thanks I find a common solution. I write a program to occupy shortcut globally before that app starts, and exit after it starts. That app is Feishu. https://github.com/zyf0330/listen-key-press |