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

            Bug ID: 501029
           Summary: Key repeats get stuck in terminals from IntelliJ-based
                    IDEs
    Classification: Plasma
           Product: kwin
           Version: 6.3.2
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: kde-bugzi...@rocco.dev
  Target Milestone: ---

SUMMARY

When using the integrated terminal in any of the IntelliJ-based IDEs (IntelliJ
IDEA, CLion, etc.), if you type something in the terminal, then hold the left
arrow key to go to the start of the line, Plasma gets stuck playing the "bell"
sound.

STEPS TO REPRODUCE
1. Open an IntelliJ-based IDE (IntelliJ IDEA, CLion, etc.)
2. Create a new terminal window within the IDE
3. Write something into the terminal (without pressing Enter), then hold the
left arrow key to move to the start of the line

OBSERVED RESULT

Cursor moves to the start of the line, plays a bell sound because it can't go
any further, then repeats the press occasionally.

This is e.g. what happens in GNOME, the key repeat is delayed by a few hundred
milliseconds.

EXPECTED RESULT

Cursor moves to the start of the line, but Plasma keeps repeating the key press
and gets stuck. Bell sound is played repeatedly (audio warning), and journal is
spammed with

kwin_wayland_wrapper[PID]: Key repeat discarded, Wayland compositor doesn't
seem to be processing events fast enough!

To recover, one has to repeatedly try Ctrl+Alt+Fx to get a TTY, then `pkill -u
$USER` (I haven't found the exact process to kill, but killing the IDE and
plasmashell is not enough). I've also noticed that if you don't do this fast
enough, your only way to recover is to restart the system.

SOFTWARE/OS VERSIONS

Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.5-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700X 8-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: AMD Radeon RX 6700 XT

ADDITIONAL INFORMATION

Tested on IntellIJ IDEA 2024.3 and CLion 2024.3.4. I'm also using zsh (through
OMZ), if it matters. The IDEs appear to be using XWayland, but the issue
doesn't manifest in xterm. I haven't encountered this before (I upgraded to
6.3.2 earlier this week from 6.2), so I'm very confident it's not an IntelliJ
issue.

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

Reply via email to