[webkit-qt] QtWebKit 2.3 - problem with WebComboBoxes and Platform Plugin

Lindsay Mathieson lindsay.mathieson at gmail.com
Fri Oct 19 06:47:12 PDT 2012


On Fri, 19 Oct 2012 06:34:08 AM you wrote:
> I've implemented the QWebSpellChecker plugin for Rekonq to add inlinespell
> checking. This works well when running against QtWebKit 2.3
> 
> *except* :) WebComboboxes refuse to drop down when clicked on. Using the
> keyboard I can scroll through its values, but no dropdown.
> 


And of course, after days of head banging I figure it out 5 minutes after 
posting the question:

Once I changed this:

QObject* KWebKitPlatformPlugin::createExtension(Extension ext) const
{
	return new KWebSpellChecker();
}

to this:

QObject* KWebKitPlatformPlugin::createExtension(Extension ext) const
{
	if (ext == SpellChecker)
		return new KWebSpellChecker();
	else
		return NULL;
}

everything was fine.

Sorry for the bandwidth waste ...

-- 
Lindsay Mathieson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20121019/fb22f90b/attachment.sig>


More information about the webkit-qt mailing list