Bug 1404432 - Middle button only pastes copy buffer
Summary: Middle button only pastes copy buffer
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: terminator
Version: 32
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Dominic Hopf
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-13 20:40 UTC by Brent Baude
Modified: 2020-05-22 21:33 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-22 21:33:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
terminator -d -d output (51.88 KB, text/plain)
2016-12-13 20:40 UTC, Brent Baude
no flags Details

Description Brent Baude 2016-12-13 20:40:36 UTC
Created attachment 1231329 [details]
terminator -d -d output

Description of problem:

With F25 running Gnome and terminator, I am seeing a bug related to the middle mouse button.  The bug is only observed in terminator (i.e. not gnome-terminal).  When I highlight something from any window, like a filename, and then click the middle button to paste it, it does not paste the recently highlighted text.  It pastes the last copy(i.e. control-c or right-mouse clock Copy into the copy buffer.  This definitely worked in F24.

Version-Release number of selected component (if applicable):


terminator-1.90-5.fc25.noarch


Additional info:

I have attached a log file of terminator -d -d.  I also added a HIGHLIGHT and PASTE earmark in the log for debugging.

Comment 1 Sachin Prabhu 2017-01-17 10:52:01 UTC
I faced the same problem and was looking around for a solution. 

To get middle button to work in terminator you need to select the "Copy on selection" under preferences->profile.

But the middle button paste doesn't work between applications. This is a known issue on Wayland. 
See 
https://bugzilla.redhat.com/show_bug.cgi?id=1214655#c7

Comment 2 Sachin Prabhu 2017-01-17 11:07:57 UTC
Further testing shows the following

1) Selecting on terminator and middle button pasting on gnome-terminal works.
2) Selecting on gnome-terminal and middle button pasting on terminator _doesn't work_.
3) Selecting on gnome-terminal and middle button pasting on gedit works.
4) Selecting on gedit and middle button pasting on gnome-terminal works.
5) Selecting on gedit and middle button pasting on terminator _doesn't work_.

6) Copy using Ctrl-C on gnome-terminal and middle button paste on terminator works.

It appears that pasting on terminator doesn't work properly.

Comment 3 Levente Farkas 2017-02-22 11:26:03 UTC
according to this https://bugs.launchpad.net/terminator/+bug/1650298 it's a fedora specific wayland problem. so imho the best would be to patch the terminator package in fedora to fix this issue as described in the above bz's 4th comment.

Comment 4 Matt Rose 2017-02-22 13:21:16 UTC
That sounds like a plan.

Comment 5 Olivier Fourdan 2017-02-22 16:27:43 UTC
In Wayland, there is no single server like you'd find with Xorg, instead each Wayland compositor is the Wayland /server/ if you will.

Wayland compositors and clients use various protocols to communicate, and those have versions indeed - The "PRIMARY" selection protocol in Wayland is not a /standard/ Wayland protocol yet (as in xdg-shell for example) but is a gtk specific protocol instead which is implemented in mutter.gnome-shell as well (mutter/gnome-shell being the Wayland compositor) - Probably other Wayland compositors do not implement that specific Wayland protocol.

See https://git.gnome.org/browse/gtk+/tree/gdk/wayland/protocol/gtk-primary-selection.xml?h=gtk-3-22

See how gdk/wayland detects the availibity of the given protocol in gdk_registry_handle_global():

https://git.gnome.org/browse/gtk+/tree/gdk/wayland/gdkdisplay-wayland.c?h=gtk-3-22#n425

Comment 6 Fedora End Of Life 2017-11-16 19:49:18 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 7 Fedora End Of Life 2017-12-12 10:40:27 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 8 Gabriel Somlo 2020-05-22 15:15:51 UTC
This didn't happen to me in F30 (using Gnoma and Wayland). However, it started happening once I installed F32. Reopening instead of filing new bug, since it's the same problematic behavior already described here.

Comment 9 Dominic Hopf 2020-05-22 21:33:38 UTC
Please make sure you have the latest package release terminator-1.92-3 installed. You will find it in the updates-testing repositories already and can update to it via dnf:

dnf -y update terminator --enablerepo=updates-testing


Note You need to log in before you can comment on or make changes to this bug.