Bug 212821 - Middle click in input area go to clipboad URL
Summary: Middle click in input area go to clipboad URL
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: kdewebkit (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: webkit-devel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-02 23:43 UTC by Cédric Bellegarde
Modified: 2010-11-18 14:53 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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