Repeated (rapid) middle clicks pastes multiple times

Bug #1843399 reported by stef
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Terminator
New
Undecided
Unassigned

Bug Description

My common use-case is this:

In Terminator, select a filename listed by ls -l

To backup the file I type 'cp ' then paste the filename twice in quick succession using the middle mouse button (with a space in between), then type an extension, such as '0' or '.bkp'.

The issue is that the output of the second (or subsequent) paste is often duplicated if in quick succession.

Example output for a file named 'run':

stefan@myhost $ run run runrun runrun run runrun runrun run runrun runrun run

This only seems to occur when the original text selection was done within Terminator.

When selecting text from, eg a urxvt terminal & pasting into Terminal, I cannot reproduce the issue.

Running terminator 1.91 on Linux Mint 19.1

stef (stefan-ronsiek)
description: updated
description: updated
description: updated
Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

The reason for too many pastes is that on double and triple GTK sends both a regular click as well as a double or triple click event (that is, two events). The double/triple ones need to be filtered out.

I have no idea why the bug only occurs when pasting from within Terminator, not when pasting from elsewhere. It would be interesting to further investigate.

Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

The reason for too many pastes is that on double and triple GTK sends both a regular click as well as a double or triple click event (that is, two events). The double/triple ones need to be filtered out.

I have no idea why the bug only occurs when pasting from within Terminator, not when pasting from elsewhere. It would be interesting to further investigate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.