Bug 444234

Summary: Sometimes pastes enormous amount of same characters
Product: [Applications] konsole Reporter: ratijas <me>
Component: keyboardAssignee: Konsole Developer <konsole-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: konsole + zsh = wwwwwwwwwwwwwwwwwwwwwww

Description ratijas 2021-10-22 11:32:54 UTC
Created attachment 142761 [details]
konsole + zsh = wwwwwwwwwwwwwwwwwwwwwww

SUMMARY
Sometimes when switching back (focusing) to a Konsole window, all of a sudden it gets flooded / filled with same characters as if they were typed in / pasted.

STEPS TO REPRODUCE
I don't know of any reliable way to trigger this glitch, however I recall it usually happens under these circumstances:

1. Launch Konsole, with my zsh profile
2. Do something
3. Focus away from Konsole
4. Work with other apps
5. Focus back into Konsole window
6. Type any key

OBSERVED RESULT
Boom! The window is flooded with the same character as if it was pressed and held for some time, or typed in repeatedly many times. It seems that amount of characters "pasted" vs. time is a linear dependency.

EXPECTED RESULT
This shouldn't be happening.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.14.12-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970M/PCIe/SSE2

zsh: 5.8-1
zsh-completions: 0.33.0-1
zsh-syntax-highlighting: 0.7.1-1
zsh-theme-powerlevel10k-git: r3923.0a1946b-1

ADDITIONAL INFORMATION
Not sure if it is a bug in Konsole, zsh, or my particular zsh setup.
Comment 1 ratijas 2022-08-13 18:12:37 UTC
Still not sure what causes it, but it still happens from time to time.

latest git master of KDE