[WebKit-devel] Input fields bug
Dawit A.
adawit at kde.org
Tue Jan 12 03:00:04 CET 2010
On Monday 11 January 2010 20:37:58 Andrea Diamantini wrote:
> Hi all,
> testing rekonq from git against the upcoming KDE SC 4.4 I noticed that
> input fields are overwritten with the clipboard content while focusing on
> there.
>
> This bug is caused from the following code from
> KWebView::mouseReleaseEvent()
>
> [code]
> const bool isAccepted = event->isAccepted();
> page()->event(event);
>
> if (!event->isAccepted())
> d->handleUrlPasteFromClipboard();
>
> event->setAccepted(isAccepted);
> [/code]
>
> I tried to guess the need for such an hack, but I fail miserabily :)
> Can someone pls explain me that?
The workaround was adapted by me from Arora to address:
https://bugs.kde.org/show_bug.cgi?id=211302
However, it was never tested against QtWebKit 4.6...
> Or... could I remove these lines from trunk and backport changes to
> branches/4.4?
If you could, #ifdef 0 out the code and test whether or not the bug reported
above does not occur, that code can be removed from 4.4 and 4.5.
More information about the WebKit-devel
mailing list