Primary Selection clipboard does not work on Wayland+gtk3
Bug #1650298 reported by
AndyAirey
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Terminator |
Incomplete
|
Low
|
Unassigned |
Bug Description
When pasting using middle-click in Terminator it pastes the content from the main clipboard and not from Primary Selection.
To reproduce:
- Ctrl-C some text, from a browser for example
- Select other text from anywhere (browser, Terminator ...)
- Middle-click in Terminator
Expected Results:
- the contents of primary selection clipboard (select/
Actual Results:
- the contents of the standard clipboard (ctrl-c/ctrl-v) are pasted.
This was working fine on X.org.
It started happening when starting to use Wayland on Fedora 25 with Gnome 3.22.
Tested against latest code, bzr revision 1684.
To post a comment you must log in.
That's because I don't think Wayland supports primary selection by default yet.
It looks like the Gnome project may be trying to replace the functionality with their own implmentation. See here for a bit of detail: www.phoronix. com/scan. php?page= news_item& px=GNOME- Mutter- Primary- Select& utm_source= feedburner& utm_medium= feed&utm_ campaign= Feed%3A+ Phoronix+ %28Phoronix% 29
http://
It looks like you should be on a new enough release, assuming you are using mutter. It's a bit hazy for me at the moment what if anything we can do. This is a window manager/desktop level feature, and I don't know that we would be expected to do anything differently in order to get the new implementation working. Needless to say, I don't use fedora, and I'm only on GTK 3.18, so I can't investigate myself for the moment.
As a workaround that might help in the interim, you could set the "Copy on select" option on in your profile. This should (hopefully) copy selections to the clipboard. Then middle click will paste the clipboard as before, but at least it's the right content. It does lose you the ability to have two stored chunks of text however.