Bug 243942 - Middle click paste onto page does not use default web shortcut
Summary: Middle click paste onto page does not use default web shortcut
Status: RESOLVED FIXED
Alias: None
Product: kwebkitpart
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Debian unstable Linux
: NOR wishlist
Target Milestone: ---
Assignee: webkit-devel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-08 13:14 UTC by Amand Tihon
Modified: 2010-07-15 17:09 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Amand Tihon 2010-07-08 13:14:59 UTC
Version:           unspecified (using KDE 4.4.4) 
OS:                Linux

In Konqueror, I have my default web shortcut set to Google search. When I paste arbitrary words anywhere on a page rendered with KHTML, the default sortcut is called.

When using kwebkitpart, only URLs can be pasted onto the page. Arbitrary strings are ignored. 



Reproducible: Always

Steps to Reproduce:
Make sure you have a default web shortcut set in Konqueror (ie, Google search).
Select one or more words with the mouse. Paste the selection using the middle mouse button onto an inactive space of any webkit rendered page in Konqueror, or onto the about:blank page.

Actual Results:  
Nothing happens.

Expected Results:  
The default web shortcut should be called with the content of the clipboard, as happens with KHTML rendering, or when pasting onto the tab itself.
Comment 1 Dawit Alemayehu 2010-07-15 17:09:05 UTC
SVN commit 1150283 by adawit:

Allow Middle click paste on KWebView to use default web shortcut when
the content in the selection clipboard is not a valid URL.

BUG:243942


 M  +11 -4     kwebview_p.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1150283