Bug 429198 - Middle click inside Tmux does not always work
Summary: Middle click inside Tmux does not always work
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: keyboard (show other bugs)
Version: 20.04.3
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-16 14:57 UTC by tusooa
Modified: 2020-11-16 18:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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'`.