Bug 212821

Summary: Middle click in input area go to clipboad URL
Product: [Frameworks and Libraries] kdelibs Reporter: Cédric Bellegarde <web>
Component: kdewebkitAssignee: webkit-devel
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Cédric Bellegarde 2009-11-02 23:43:12 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Another issue with middle click...

If i copy and url to X clipboard, then go to any <FORM>, donc give it focus, and click on middle button, webkitkde go to clipboard url.

It should check if middle click area is an input area, give it focus and paste clipboard... It's how behave khtml and firefox.
Comment 1 Dawit Alemayehu 2009-11-03 01:45:08 UTC
SVN commit 1044091 by adawit:

Prevent navigation to url from the selection clipboard if a middle click
occurs on editable element such as a form element even if it does not
currently have focus...

For KDE 4.4 and above, which comes with QtWebKit 4.6, the text from the
clipboard should properly get pasted into form elements without focus
thanks to the new QWebElement class. [Untested]

See kdereview/kdewebkit/kwebviewprivate_p.h.

BUG:212821


 M  +2 -3      kwebview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1044091
Comment 2 Dario Andres 2010-11-18 14:53:29 UTC
[Comment from a bug triager]
Moving old kdewebkit bug reports to kdelibs/kdewebkit. Sorry about the noise