Red Hat Bugzilla – Bug 7302
Can't copy between genome-terminal and Bugzilla.
Last modified: 2008-05-01 11:37:53 EDT
I can copy from genome-terminal to genome-terminal but the same buffer wont
copy into the Bugzilla description panel. See bug 7297. Bugzilla doesn't
think it's their problem.
I can't reproduce this. Can you give me the output of 'gnome-terminal --version'
and perhaps some more specific steps to cause the bug.
Terminal help about indicates
GNOME Terminal 1.0.39
nxterm -version retrurns:
I can copy text from one Termial to another by highlighting in one Terminal and
edit paste in another Terminal, or somewhere else in the same terminal.
I can also highlight text in the nxterm window and paste it into the Terminal
When trying to copy into the Bugzilla window (particulary the Additonal Comments
setion ) The edit paste menu item is not active. C-v doesn't work either.
I can't always copy from gnome-terminal to emacs, or vice versa, ditto
netscape. Ditto netscape-emacs. Ditto gnome-terminal to the same
gnome-terminal! It seems that if there's something in the X buffer
from emacs or xterm, it's "stickier" than what's later coming in from
gnome-terminal or netscape, and the older emacs stuff gets pasted
instead. You can't cut a zero-length selection to clear the problem,
but sometimes waiting will clear it. It always works to go between
emacs and xterm.
start emacs and gnome-termina, get some text in them
cut something in emacs, note the highlighting
cut something in gnome-terminal, note that emacs highlighting isn't
paste in either place
the earlier emacs selection gets pasted
The exact same behavior happens with xterm. I'm using Gnome Terminal
1.0.39 which is in gnome-core-1.0.39-10.
Someone once told me that there is more than one mechanism that
implements cut-and-paste in X11, and this might be at the root of the
It all works if you use middle mouse to paste and left mouse to copy.
The problem is varying (all probably reasonable) ideas about what the
cut/copy/paste menu items should actually do.
There are two important X selections, PRIMARY and CLIPBOARD. You are
supposed to use PRIMARY for the middle-mouse-to-paste stuff and CLIPBOARD
for the cut/copy/paste menu items. But gnome-terminal uses PRIMARY for
paste because xterm traditionally does this. Netscape probably uses CLIPBOARD
for the menu and PRIMARY for the mouse-buttons-only stuff. Qt/KDE applications
are all broken and use PRIMARY for the cut/copy/paste menu items.
I would say that Netscape does the right thing, and gnome-terminal arguably
does the right thing because of the xterm tradition, but text editors and such
should definitely be using CLIPBOARD for cut/copy/paste menu items.
Anyway it's a big historical mess, but it's unclear what to fix.