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

fanzhuyi...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|inconsistent behavior with  |On x11, inconsistent
                   |alt+7                       |behavior with alt+7 under
                   |                            |multiple layouts when alt+`
                   |                            |is also assigned
           Assignee|mgraess...@kde.org          |kdelibs-b...@kde.org

--- Comment #16 from fanzhuyi...@gmail.com ---
xfce doesn't seem to have this issue because they do filtering by group when
grabbing keys (e.g., the code around
https://github.com/xfce-mirror/libxfce4ui/blob/f80584778709c70de02c4415f210a02b78fe6be5/libxfce4kbd-private/xfce-shortcuts-grabber.c#L344)

On the other hand, xfce doesn't seem to correctly handle the Alt+Shift+7
shortcut under the croatian layout. If I assign that to a shortcut, it is never
triggered when I press that again.

To fix the issue in kglobalacceld, I guess the grabber needs to be more careful
about what key+modifiers it grabs. E.g., don't grab Alt+7 without other
modifiers if we want the shortcut Alt+`, and ` is mapped to the 7 key under the
croatian layout.

However, given that this is a x11-only issue, and most devs are on wayland, I
doubt if this issue would be prioritized by the devs.

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

Reply via email to