Bug 429198

Summary: Middle click inside Tmux does not always work
Product: [Applications] konsole Reporter: tusooa <tusooa>
Component: keyboardAssignee: Konsole Developer <konsole-devel>
Status: REPORTED ---    
Severity: normal CC: nate
Priority: NOR    
Version: 20.04.3   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description tusooa 2020-11-16 14:57:50 UTC
SUMMARY

Middle click inside Tmux works sometimes, but sometimes not. I think this is a Konsole bug because it is normal in xterm.

STEPS TO REPRODUCE
0: Open Konsole and start Tmux inside it.
1: Run `tmux bind-key -n MouseUp2Pane pipe -I -t= 'echo -n test'`.
2: Middle click multiple times (maybe 20 times).

OBSERVED RESULT

For some clicks, a `test` is inserted. For some others, nothing happens. I personally tried 20 times, and it worked for 17 times.

If one starts a `nano` and try middle-clicking there, the frequency that it works seems to be smaller. I personally tried 20 times, and it worked for 15 times.

EXPECTED RESULT

It should work all the time, i.e., for every middle click, a `test` should be inserted.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1

ADDITIONAL INFORMATION
Comment 1 tusooa 2020-11-16 18:49:43 UTC
This problem does not restrict to middle click. Right click also has this problem, as you do `tmux bind-key -n MouseUp3Pane pipe -I -t= 'echo -n test'`.