[webkit-qt] <select> widget not updated after option selected from itemSelector

Olivier Tilloy olivier at tilloy.net
Fri Mar 22 04:52:07 PDT 2013


On 2013-03-22, Zeno Albisser <zeno at webkit.org> wrote:
>     I’m observing rather consistently (though not 100% of the times)
>     that after selecting an option from a <select> element in a QML
>     browser (that implements a custom itemSelector component), the
>     widget is not updated when the selector is closed.
>
> I just reproduced that on my Mac with MiniBrowser from trunk.

Thanks Zeno!


>     Only after I click somewhere else on the page is the widget updated
>     with the new selected value.
>
>     I’m observing this with the QML MiniBrowser built from trunk webkit,
>     running against libqt5webkit5-qmlwebkitplugin version 5.0.0 (on
>     Ubuntu 12.10), as well as with the browser built from lp:webbrowser-app.
>
>     The following page can be used to demonstrate the problem:
>     http://mdn.mozillademos.org/__en-US/docs/HTML/Element/__optgroup$samples/Example?__revision=344959
>     <http://mdn.mozillademos.org/en-US/docs/HTML/Element/optgroup$samples/Example?revision=344959>
>
>
> With the example you provided it only updates for me after i clicked the
> url bar.
> I could imagine it has something to do with refreshing the widget, which
> by pressing the url bar triggers the update due to the blinking cursor.
> But i did not look into it any further.
>
>     Is that a known issue? Can others confirm it? Should I file a bug
>     report (and look into fixing it)?
>
> A bug report or even a proposed fix is always very welcome! :)

I filed https://bugs.webkit.org/show_bug.cgi?id=113045 to track the 
issue, and I’m going to look into it.

While on the topic, can someone confirm 
https://bugs.webkit.org/show_bug.cgi?id=112933 ? It’s also related to 
<select> dropdowns, and if it turns out to be a real bug and not just an 
issue with my setup, I intend to try and fix it.

Cheers,

  Olivier


More information about the webkit-qt mailing list