Web browser doesn't handle <select> dropdowns

Bug #1157764 reported by Jorge Castro
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
touch-preview-images
Fix Released
High
Olivier Tilloy

Bug Description

Test case:

Go to http://juju.ubuntu.com/survey and do the survey, dropdowns don't work. Tested on an N7 and N10.

We would like to use the touch preview during the openstack summit to gather information from ubuntu survey users, we'd like to do that using Ubuntu Touch!

(Info coming, my battery died)

Related branches

Revision history for this message
Robbie Williamson (robbiew) wrote :

I can confirm this bug on both Nexus 7 and Nexus 10

Jorge Castro (jorge)
description: updated
Revision history for this message
Olivier Tilloy (osomon) wrote :

I’m seeing the issue on a Galaxy Nexus too.

Changed in touch-preview-images:
assignee: nobody → Olivier Tilloy (osomon)
status: New → Confirmed
Revision history for this message
Olivier Tilloy (osomon) wrote :

It appears the QML webview exposes a hook to provide a custom component to handle <select> dropdowns.
All we need to do on the browser side is to provide such a custom component. I’m looking into it.

summary: - Web browser doesn't handle dropdowns
+ Web browser doesn't handle <select> dropdowns
Changed in touch-preview-images:
importance: Undecided → High
status: Confirmed → In Progress
Revision history for this message
Olivier Tilloy (osomon) wrote :

The branch linked fixes the issue by providing a custom itemSelector component. This works well with static <select> elements (see e.g. http://mdn.mozillademos.org/en-US/docs/HTML/Element/optgroup$samples/Example?revision=344959).

However I’m seeing another interesting issue now: when selecting an item in a dropdown on http://juju.ubuntu.com/survey, this seems to trigger a reload of the page that crashes the web process. This is a separate issue though, so I’ll file another bug to track it.

Revision history for this message
Olivier Tilloy (osomon) wrote :

Fixed with revision 97 of lp:webbrowser-app.
The issue reported above is still valid though: when selecting an option off a dropdown at http://juju.ubuntu.com/survey, the web process crashes. I’m investigating this one.

Changed in touch-preview-images:
status: In Progress → Fix Committed
Revision history for this message
Ricardo Salveti (rsalveti) wrote : Re: [Bug 1157764] Re: Web browser doesn't handle <select> dropdowns

On Thu, Mar 21, 2013 at 2:43 PM, Olivier Tilloy
<email address hidden> wrote:
> Fixed with revision 97 of lp:webbrowser-app.

Should we do a release to have this available at our images or should
we wait you to fix the other bug?

Revision history for this message
Olivier Tilloy (osomon) wrote :

I’d like to give a shot at fixing the other issue first. If I can’t figure it out by the end of the day, I’ll do a release.

Revision history for this message
Olivier Tilloy (osomon) wrote :

I have filed https://bugs.webkit.org/show_bug.cgi?id=112933 to track the issue mentioned above upstream.

Revision history for this message
Olivier Tilloy (osomon) wrote :

Fixed in webbrowser-app 0.17.

Changed in touch-preview-images:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.