Bugzilla – Bug 7706
Rhapsody search does not work on a Nokia 770
Last modified: 2011-01-13 08:25:29 UTC
the submit button is inoperable from the 770 after entering a player name. need to check to see if this also exists on the n800, but this isn't an issue on a laptop firefox and the nokia770 skin.
this works on n800 and on a laptop with firefox
Maybe I was too ambitious when I assigne this bug to me... so this is a 770/Opera only issue?
changing summary to address the general issue issue seen with: submitting settings changes submitting searches submitting tune-in URL I'm sure this is all one issue to be resolved.
I am not reaching any conclusion on how to fix this bug. I have focused on the search page, which is broken when accessing via the 770 (Opera) but not the N800 (Minimo) or Opera on a desktop. I've inspected the HTML and fixed a couple URI encoding issues, but that had as expected no effect. I'm at a loss on how to debug this...probably the only solution would be to narrow down in which version things started being broken. I will not have time for that iterative process pre 7.0.1. Moving this bug to 7.1 target.
are any ajax get/posts involved? I seem to recall something when getting ajax stuff to work with IE, where get/post swapping created issues with the 770. It was around the time that global.js got moved into EN in order to have common access.
I'd almost feel better if this was an ajax thing, but it's not. The search button is a simple html form submit button. The settings pages, also broken on the 770 with this skin, are also broken for submit, and that's nothing but straight html there too. Maddening... My only hunch was that I was violating the DOM somehow, but I pushed the search.html output through the W3C validator and didn't see anything blaring (aside from a couple URI ampersand encoding issues, which I fixed to no effect). There's no DOCTYPE being sent, but it's hard for me to believe that the 770 version of Opera can't deal with that.
Have you tried the other way 'round: to replace the submit button with an onclick ="form.whatever.submit();" I recall having see such an issue before on Safari but I can't remember where that was...
Joerg- you are my savior! I had my head so stuck in answering the "why doesn't this basic html element work" that I never considered throwing javascript at it. Who knows why the 770 Opera can't handle a simple html submit button in this skin, but the onClick event for submit (and clear) works now in both 770 and N800 (where it was never broken) I'm going to checkin the 770 skin specific fixes to 7.0 trunk. There will be another set of fixes for the settings pages, but because these are skin-inspecific I will be making these changes in 7.1. There's risk associated with that, and it's too late in the cycle to sneak that into 7.0.1.
7.1 trunk SC change 19625 contains onClick handlers in the submit buttons for xmlbrowse and settings. In layman's terms, this fixes search in Pandora, Slacker, Shoutcast, and all music services except one: Rhapsody. I just spent several hours flailing with trying to get Rhapsody searches to work via the 770, and it just won't. The Rhapsody search page has several search forms on it, and when I configure a javascript submit() onClick handler, it sends every element of every form, which results in a failed search. This behavior is entirely limited to the 770, and I've more or less concluded it's not my fault, it's the browser, with no workaround in site. Settings form submission is now also functional. I'm moving this bug to Target = Future and renaming the Summary to reflect the current status. The Rhapsody issue is outstanding, but I'm not spending any more time on it. At least not for a long time.