Summary: | Allow certain shortcuts that can be triggered regardless of modifiers | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kglobalaccel | Reporter: | Nicolas F. <kdebugs> |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs-null> |
Status: | CONFIRMED --- | ||
Severity: | wishlist | CC: | aleixpol, cirlo_ca, fanzhuyifan, jared, jgrulich, kde, nate |
Priority: | NOR | ||
Version First Reported In: | 5.103.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Nicolas F.
2023-02-16 19:28:23 UTC
If this is a missing feature in the API please report upstream. https://github.com/flatpak/xdg-desktop-portal I don't think it is a problem in the protocol itself, nothing in it specifies that implementations should treat modifier keys in this way. Reframing this into kglobalaccel. The behaviour Nicolas wants is indeed not possible and addressing the protocol upstream wouldn't work because it's not responsibility of the protocol to trigger the shortcuts. This could also be in kwin. As a feature, it's not trivial to implement as we'd need to figure out how to convey this to users. Should this maybe be the behaviour for modifier-less shortcuts in general? How would we treat collisions then? Moreover, I think being able to set a shortcut only on one modifier key would be preferred. While I understand the reasoning behind why it does not allow to bind a shortcut to modifiers keys only (e.g. <Ctrl>, <Alt>, <Shift>,...), I feel like a framework for global shortcuts should allow it. User experience in push-to-talk applications requires to use only one button. It doesn't matter if, for instance, when I <Ctrl>+C something I blip my mic on Mumble for a microsecond. @Carlo, this is already possible to do and is also unrelated to this bug report. Please, let's keep things on topic. |