SUMMARY It seems that keyboard repeat stopped working in konsole, or, more precisely, it fails to start in many cases. There are cases where it's possible to trigger a key repeat, but it is unclear how precisely. One thing that I've noticed is that after switching focus to konsole from another application, it makes it more likely for key repeat to work, but _only_ for the first time. Subsequent attempts at key repeat do not work. STEPS TO REPRODUCE 1. Make sure key repeat is enabled in keyboard settings 2. Open konsole 3. Press a key and hold it down OBSERVED RESULT Only one character is printed. EXPECTED RESULT Same character should be repeatedly output, as long as the key is held down. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.0.1 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 Kernel Version: 6.7.9-arch1-1 (64-bit) Graphics Platform: Wayland
This seems not to be konsole-specific; same behaviour can be observed system-wide, e.g. in kate etc.
Hi - I'm unable to duplicate this on my stock Neon installation. Would you mind confirming if this is still an issue and if so try to narrow down any other factors which might be causing it? Otherwise we may need to close this one unless anyone else can duplicate it. Thanks. Nick.
Still an issue, even with 6.0.2. I'm unable to trigger key repeat with regular keys (e.g. 'j', 'k'), but key repeat works fine with keys like 'PageUp', 'Up arrow'.
This is also not a problem with my keyboard since key repeat works fine in the console (ttyX).
Alright, this seems to be due to me using the IBus Wayland virtual keyboard (System Settings -> Keyboard -> Virtual Keyboard). Once I select "None" virtual keyboard, key repeat works fine.
Thanks for narrowing this down. I'm not sure I can duplicate this as I don't have a touch screen so cannot activate the virtual keyboard. Also on Neon the only virtual keyboard available is Maliit and having enabled this I'm still getting auto repeat OK when using my physical keyboard. Assuming this needs a touchscreen device to duplicate, I'll need someone else to try to verify this one.
You do not need to have a touchscreen device to reproduce this. I for sure don't have one. Just 1. install IBus 2. enable IBus Wayland virtual keyboard in system settings 3. add 2 different keyboard layouts in keyboard settings (I'm guessing any two will do)
Hi Ivan. I'm just not finding it obvious how to set-up the ibus keyboard in Neon (not something I've done before). Would be useful if you can either test this on Neon in a VM if possible, or send a list of all the packages you have installed on Arch to get to this failure scenario. Thanks, Nick.
On Arch I think I only needed the ibus and ibus-hangul packages. I assume the virtual keyboard module of KDE system settings then automatically recognized the available input method engine. These are the IBus processes and their arguments that I have running: /usr/lib/ibus/ibus-ui-gtk3 --enable-wayland-im --exec-daemon --daemon-args --xim --panel disable ibus-daemon --xim --panel disable /usr/lib/ibus/ibus-dconf /usr/lib/ibus/ibus-extension-gtk3 /usr/lib/ibus/ibus-x11 --kill-daemon /usr/lib/ibus/ibus-portal /usr/lib/ibus/ibus-engine-simple /usr/lib/ibus/ibus-engine-hangul --ibus And it's all started by kwin_wayland: ├─kwin_wayland_wr─┬─kwin_wayland─┬─Xwayland───9*[{Xwayland}] │ │ ├─ibus-ui-gtk3─┬─ibus-daemon─┬─ibus-dconf───4*[{ibus-dconf}] │ │ │ │ ├─ibus-engine-han───4*[{ibus-engine-han}] │ │ │ │ ├─ibus-engine-sim───3*[{ibus-engine-sim}] │ │ │ │ ├─ibus-extension-───4*[{ibus-extension-}] │ │ │ │ └─3*[{ibus-daemon}] │ │ │ └─5*[{ibus-ui-gtk3}] │ │ └─38*[{kwin_wayland}] │ └─{kwin_wayland_wr}
OK I'm stuck here. I've installed ibus and ibus-hangul via pkcon and rebooted, but when I go to the virtual keyboard settings in Plasma I only see the options for none and maliit. If you do have a way to duplicate this on Neon and report back with instructions that would help, else hopefully someone else here with more knowledge than I can help move this forward.
I have the same issue on my Arch installation; I tried reproducing the issue on KDE Neon live (neon-user-20240314-0716.iso), but couldn't make the Virtual Keyboard appear either. This was a recent change in Ibus (since 1.5.29), so maybe it's not available in Neon yet? I've yet to try the unstable or development live, but how do I check which Ibus version they have in advance?
Seems to be an ibus-wayland issue: https://github.com/ibus/ibus/issues/2610
Shall we close this bug then as not a KDE issue?
Yes, I think we should close this since this is an IBus problem.