GNOME Bugzilla – Bug 600876
Paste keybinding unreliable
Last modified: 2011-03-20 20:59:56 UTC
If I select text with my mouse, then do CTL-SHFT-C, the clipboard gets updated with my text... and I can confirm this by opening gedit and doing CTL-V in that application. However, if I to CTL-SHFT-C then release C and press V (which keeping CTL & SHFT down) then nothing gets pasted. Similarly, releasing CTL, SHFT, C and then depressing CTL, SHFT, V also fails to paste. Selecting from the menu bar "Edit => Paste" works, however. This is on FC11 (updated), with gnome-terminal-2.26.3.1-1.fc11.x86_64.
Not reproducible here, using gnome-terminal git master and vte git master.
I'm reopening this, as I have reproduction steps: 1) Log into a fresh session 2) Open a gnome-terminal 3) Click on the Edit menu 4) Now try to copy some text and paste it using the keyboard shortcuts. It will copy, but not paste. The problem is that when first logging in, the clipboard is empty. When the Edit menu is activated, the clipboard contents are checked and the paste actions are set sensitive or not. But that's the only time they are checked. So if you open the Edit menu when there are no contents, the actions are made insensitive until the Edit menu is opened again with contents in the clipboard. The most sensible fix to me is to not check the clipboard only on Edit menu activation, but rather whenever the clipboard contents change. I have a patch, which will shortly be attached.
Created attachment 182717 [details] [review] Watch owner-change
Fixed on master.