[Konsole-devel] [Bug 299437] New: Pasting text by middle mouse click into konsole running tmux works not as expected

nicolas.hueppelshaeuser at web.de nicolas.hueppelshaeuser at web.de
Sat May 5 11:50:43 UTC 2012


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

            Bug ID: 299437
          Severity: normal
           Version: unspecified
          Priority: NOR
          Assignee: konsole-devel at kde.org
           Summary: Pasting text by middle mouse click into konsole
                    running tmux works not as expected
    Classification: Unclassified
                OS: Linux
          Reporter: nicolas.hueppelshaeuser at web.de
          Hardware: Other
            Status: UNCONFIRMED
         Component: general
           Product: konsole

I am running tmux in konsole and experience a problem when pasting text by
middle mouse button into tmux.

More detailed:
When running tmux, mouse actions can be captured to change the tiling of the
screen and more.  Tmux captures action of the mouse buttons, but one can
"escape" this by holding shift key pressed.  So shift+mouse button results in
the usual behaviour of the mouse clicks.

But not for pasting text by pressing shift+middle mouse button.
Although it works correctly in gnome-terminal and xterm, it does not in
konsole.
In konsole it also activates the copy mode of tmux.

So I think this problem relates to konsole rather than tmux.

Details on versions:
Ubuntu 12.04
$ konsole --version
Qt: 4.8.1
KDE: 4.8.2 (4.8.2)
Konsole: 2.8.2
tmux of version 1.6


Reproducible: Always

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. press middle mouse button: upper right corner shows [0/0] - tmux copy mode
started
4. press left mouse button: copy mode cancelled
Steps 3&4 work correctly
5. select some text with the mouse
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.
Actual Results:  
See Steps to Reproduce

Expected Results:  
See Steps to Reproduce

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the konsole-devel mailing list