GNOME Bugzilla – Bug 742170
cut/copy/paste binding entries are registered 2x
Last modified: 2015-01-22 01:18:20 UTC
This means that shift+insert is pasting twice.
Created attachment 293538 [details] [review] textview: remove duplicated binding entries for cut/copy/paste This fixes the following bug where shift+insert was pasting twice. https://bugzilla.gnome.org/show_bug.cgi?id=742170 https://bugzilla.gnome.org/show_bug.cgi?id=741170
Created attachment 293539 [details] [review] textview: remove duplicated binding entries for cut/copy/paste This fixes the following bug where shift+insert was pasting twice.
Review of attachment 293538 [details] [review]: ::: gtk/gtktextview.c @@ -1506,3 @@ - gtk_binding_entry_add_signal (binding_set, GDK_KEY_Insert, GDK_SHIFT_MASK, - "paste-clipboard", 0); - I believe the intention was to use the _KP versions, for instance this is done below with "toggle-overwrite".
Created attachment 293540 [details] [review] textview: fix duplicated binding entries. use kp variants instead. This appears to have accidentally used the normal keypresses twice instead of the KP variants. This resulted in shift+insert pasting twice.
Yup makes sense, updated.
References this commit: https://git.gnome.org/browse/gtk+/commit/gtk/gtktextview.c?id=f74a75ae7e256b6cadf38b9aff863176f4de5e79 Going to go ahead and just push this. Feel free to send lashings if necessary.
*** Bug 742794 has been marked as a duplicate of this bug. ***
*** Bug 743328 has been marked as a duplicate of this bug. ***