Hello,<div><br></div><div>The problem Robert wrote about back in July is a big issue for Geary -- we've had a number of complaints from our users about this, as it affects copy-and-paste in our composer. Does anyone have any suggestions or pointers? We'd really like to nail this down for our upcoming release.</div><div><br></div><div>The original Geary bug reporting this is at <a href="https://bugzilla.gnome.org/show_bug.cgi?id=730495">https://bugzilla.gnome.org/show_bug.cgi?id=730495</a></div><div><br></div><div>Thanks,<br><br>-- Jim
<br><br>On Sat, Jul 19, 2014 at 2:46 PM, Robert Schroll <email@example.com> wrote:<br>
<blockquote type="cite"><div class="plaintext" style="white-space: pre-wrap;">Hi all,
Without any input from me, an editable WebView will paste text into itself when I press Ctrl-V. I don't know if this is handled entirely within the WebView, or if the Gtk.Window contains a Ctrl-V accelerator that sends a paste signal to the WebView. Regardless, I'd like to provide a custom handler for this paste event, rather than relying on the default one. Is this possible?
It is for other Gtk widgets, I know. For example, if I add this handler to a Gtk.Entry:
entry.connect('paste-clipboard', lambda *args:
the paste doesn't happen. (I could query the clipboard and insert some text into the Entry myself, of course.) But when I do that to a WebView, it has no effect. The documentation suggests that there is a paste-clipboard signal for the WebView, and I can trigger it manually. How can I intercept it?
webkit-gtk mailing list