Summary: | Pasting text by middle mouse click into konsole running tmux works not as expected | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | nicolas.hueppelshaeuser |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | adaptee |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/konsole/efae7d95366a240b953425a1ee6dea15de45332c | Version Fixed In: | 4.8.4 |
Sentry Crash Report: |
Description
nicolas.hueppelshaeuser
2012-05-05 11:50:43 UTC
Thanks for reporting. However, I'm quite confused by this report because I'm not a daily user of tmux. "3. press middle mouse button: upper right corner shows [0/0] - tmux copy mode started" Well, that is not how tmux works for me. Middle click just pastes. According to tmux(1), the default way of starting copy mode is Ctr-B-[ "4. press left mouse button: copy mode cancelled" left click makes no change for me " 6. press shift+middle mouse button to paste text into tmux: on gnome-terminal the selected text is pasted into tmux, on konsole we are back to copy mode. Only after pressing left mouse button, copy mode is cancelled and the pasted text appears. " Neither konsole nor gnome-terminal work as describled for me. gnome-terminal does to paste the text after shift+middle click. xterm does not, either. I'm using a empty ~/.tmux.conf . Did I miss something important? Not you, I missed something important: the line to enable mode-mouse feature. Here we go again. Steps to Reproduce: 1. remove your ~/tmux.conf for the moment 2. start tmux (you might want to do this simultanously in konsole and e.g. gnome-terminal) 3. Set mode-mouse on by: "CTRL-B :" now enter at the prompt: "setw -g mode-mouse on" 4. press middle mouse button: upper right corner shows [0/0] - tmux copy mode started 5. press left mouse button: copy mode cancelled Steps 3&4 work correctly 6. select some text with the mouse 7. press shift+middle mouse button to paste text into tmux: on gnome-terminal the selected text is pasted into tmux, on konsole we are back to copy mode. Only after pressing left mouse button, copy mode is cancelled and the pasted text appears. Git commit 2def15a2db026bc65be956dbc0fbb6c8d765dc7b by Jekyll Wu. Committed on 05/05/2012 at 19:28. Pushed by jekyllwu into branch 'master'. Do not forward the button release event when Shift is also pressed. FIXED-IN: 4.8.4 M +3 -2 src/TerminalDisplay.cpp http://commits.kde.org/konsole/2def15a2db026bc65be956dbc0fbb6c8d765dc7b Git commit efae7d95366a240b953425a1ee6dea15de45332c by Jekyll Wu. Committed on 05/05/2012 at 19:39. Pushed by jekyllwu into branch 'KDE/4.8'. Do not forward the button release event when Shift is also pressed. FIXED-IN: 4.8.4 M +4 -4 src/TerminalDisplay.cpp http://commits.kde.org/konsole/efae7d95366a240b953425a1ee6dea15de45332c Thank you! Looking forward for the update containing your fix. |