question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Paste on selection" pastes the wrong item in Gnome Terminal

See original GitHub issue

Describe the bug

“Paste on selection” always pastes the wrong item in Gnome Terminal, when clicking on any menu item.

How To Reproduce

Versions

  • Gnome shell version: 41.4
  • GCH version: 4

Steps to repro

  1. Copy a few items: “A”, “B”, “C”.
  2. Open Gnome Terminal.
  3. Click on the top bar icon to open the menu.
  4. Click “A”.
  5. Click on the top bar icon to open the menu.
  6. Click “B”.

Expected results

  1. “A” is pasted.
  2. “B” is pasted.

Actual results

  1. “C” is pasted.
  2. “C” is pasted.

Additional context (if a crash, provide stack trace)

Ctrl+Shift+V and right click context menu “Paste” works correctly.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
SUPERCILEXcommented, Feb 23, 2022

Better idea, let’s just set the primary clip too (Shift + Insert pulls from there). It seems to work fine in the terminal.

0reactions
teohhanhuicommented, Feb 22, 2022

I’m curious, where does Ctrl + Shift + V not work?

In my case, it’s most places. Just some examples:

  • Firefox (location bar; any text field either in the browser chrome or in web content)
  • GNOME Files (search; location bar)
Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does pasting sometimes not work in gnome-terminal?
Edit: It seems that manually selecting Paste from the Edit menu does not work either. Right click > Paste works, but Edit >...
Read more >
[SOLVED] Weird characters while pasting in terminal
Re: [SOLVED] Weird characters while pasting in terminal. Works fine here: select 'text' by pressing and holding LMB, go the urxvt with bash...
Read more >
Trying to copy and paste a large amount of text from gnome ...
Trying to copy and paste a large amount of text from gnome-terminal via the X11 PRIMARY selection freezes the recipient · Open a...
Read more >
Copy-pasting in gnome-terminal - Unix & Linux Stack Exchange
By default, Shift + Ins pastes whatever you select with your mouse, even if you don't copy it. I change it to do...
Read more >
linux - Terminal that supports select-to-copy right click to paste
The X11 way is to paste with middle-click, which can be simulated by clicking left and right mouse buttons simultaneously. If you absolutely...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found