Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 4683] Copy & paste does not work using middle mouse button

Date: Wed, 17 Aug 2011 08:11:52 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4683

--- Comment #6 from Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> 2011-08-17 08:11:50 PDT ---
(In reply to comment #5)
> I just tried again. Turns out copy&paste works if you use ctrl-v to paste. I am
> not sure whether I tried ctrl-v when initially reporting or if I just tried
> middle-mouse button.
> 
> Could the copy function also update the PRIMARY selection, so that middle-mouse
> button paste works? Or is it intended that this does not work?

This is, apparently, the way things are supposed to work in modern X (or at
least GNOME) systems.

For example, if I open 2 GNOME Terminals and:

1) highlight some text in one, I can "paste" that text into the other using the
middle button.  If I select Edit->Paste, I get nothing.

2) highlight some text in one and select Edit->Copy, I can NOT "paste" that
text into the other window using the middle button, but I CAN do it by
selecting Edit->Paste.

Combinations are also possible.  For example, I highlighted some text in one
window, did Edit->Copy, then selected some different text.  I could then
"paste" the currently-selected text with the middle button and then paste the
copied text with Edit->Paste (the reverse order also works).

So, it seems that the X selection is different from the, uh, clipboard.

Given that Wireshark is telling you that it is "copy"ing the information, I
think it's putting the information in the right place.  It simply does not have
a way of selecting text (which could be "pasted" with the middle button).

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.