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

            Bug ID: 370454
           Summary: KModifierKeyInfo non-functional on Wayland
           Product: frameworks-kguiaddons
           Version: 5.27.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdelibs-b...@kde.org
          Reporter: mgraess...@kde.org

KModifierKeyInfo has a private which is platform selected on build time. If
built with X11 support that one is used. There is no wayland-specific
implementation, thus it's not working at all.

A possibility to fix this is:
1) Implement a plugin infrastructure for the platforms
2) Add a Wayland sepcific plugin
2a) Wayland specific plugin built on top of KWayland using a
KWayland::Client::Seat and a Keyboard and Pointer on the Seat so that it can
track all key presses (on the application) and all pointer events
2b) Use xkbcommon to figure out which modifiers are pressed

A problem with this approach is that it would require an (optional) dependency
on KWayland which is not possible for a tier1 framework.

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

Reply via email to