[Webkit-unassigned] [Bug 28865] [Qt] Make cursor set cleaner in QtWebKit Api: eliminate SetCursorEvent hack.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 1 05:53:04 PDT 2009


--- Comment #5 from Kenneth Rohde Christiansen <kenneth.christiansen at openbossa.org>  2009-09-01 05:53:03 PDT ---

> of course if does not, but if you do not assigneda QWidget as parent of it will
> fail in a static_cast and QWebPage hostWindow()->plaftormWidget() will be null
> ... so method will bail our and no cursor will be set at all.

That makes a lot of sense. A hostWindow is required for showing cursors, that
is how X works.

> it does not duplicate if it is inside Webkit, of course. but i do not care only
> about making things to work inside webkit. image you are an embedder ... and
> your code would not be in webkit ...

That is true, but we discourage this and that is part of why we will contribute
a new QWebGraphicsItem. Also, that is a very special use-case.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list