Bug 405404 - Walk Through Windows of Current Application does not work with Keyboard Layout with dead keys
Summary: Walk Through Windows of Current Application does not work with Keyboard Layou...
Status: RESOLVED DUPLICATE of bug 453661
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.27.4
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL: https://bugreports.qt.io/browse/QTBUG...
Keywords:
: 451966 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-03-12 20:30 UTC by lucas.genzelis
Modified: 2023-05-13 13:36 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In: Qt 6.6.0
kwizzz: Wayland+
kwizzz: X11-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lucas.genzelis 2019-03-12 20:30:04 UTC
SUMMARY


STEPS TO REPRODUCE
1. Start with a fresh install (or Live-CD)
2. Go to Keyboard under System Settings, and select Layout *English (US)* with Variant *English (US, intl., with dead keys)*
3. Open two or more windows of the same program (e.g., Firefox), and let one of them be the active window
4. Press Alt+` to switch to another window of the program 

OBSERVED RESULT
Nothing happens

EXPECTED RESULT
The shortcut should allow to switch between windows of the program, as always.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 18.04
KDE Plasma Version: 5.12.7
KDE Frameworks Version: 5.44.0
Qt Version: 5.9.5

ADDITIONAL INFORMATION
Workaround: leave the first entry of Keyboard Layouts as English (US) (i.e.,  Default variant), and add the desired layout as a *second* entry. Apply changes, and then select the desired layout from the bottom toolbar. Now you can write with the layout that you chose, but the aforementioned shortcut still works as expected.
Comment 1 Patrick Silva 2022-03-29 14:47:40 UTC
I use US and brazilian portuguese layouts. Alt+~ (default shortcut to walk through the current app in reverse order) only works when pressed twice. To walk through the current app in normal order, I need to press alt+shift+` twice even if the shortcut configured in TasK Switcher KCM is the default alt+`.  Positioning US layout as the first one in Keyboard KCM did not help on my system.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.24.80
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Graphics Platform: Wayland
Comment 2 kwizzz 2023-05-02 20:19:22 UTC
Updated ticket data, as issue is still there on 5.27.4 on Fedora, as well as openSUSE tumbleweed (wayland only).

When using US intl with dead keys (in a program like kate), you need to type a space after the ` (backtick) in order to get a backtick character, or type a second backtick.

The same applies to window switching in kwin with Alt+`: when using US intl with dead keys you
either have to press Alt+` twice
or keep Alt key pressed, then type ` followed by a space (w/o releasing the Alt key).

Keyboard layouts with dead keys should not cripple Alt+`.

Note that this bug is only on Wayland, not with X (where Alt+` behaves the same in US and US intl with dead keys.)

(Here are the details for Fedora
Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.8
Kernel Version: 6.2.13-300.fc38.x86_64 (64-bit)
Graphics Platform: Wayland)
Comment 3 David Edmundson 2023-05-04 08:24:35 UTC
*** Bug 451966 has been marked as a duplicate of this bug. ***
Comment 4 David Edmundson 2023-05-04 08:25:15 UTC
*** Bug 449482 has been marked as a duplicate of this bug. ***
Comment 5 Andrey 2023-05-04 16:53:29 UTC
As far as I can tell, this is just a special case of the more common bug 453661 which was fixed in Qt 6.6.0:
https://bugreports.qt.io/browse/QTBUG-108761

Please correct me if I'm wrong.

*** This bug has been marked as a duplicate of bug 453661 ***
Comment 6 Peter Tselios 2023-05-13 10:40:03 UTC
So, the resolution to this will come with KDE 6.x ???
Comment 7 Andrey 2023-05-13 13:02:26 UTC
Yes
Comment 8 Guido Sanchez 2023-05-13 13:36:01 UTC
Apparently is a merge request for that has the patches for Qt5

https://invent.kde.org/qt/qt/qtbase/-/merge_requests/239