jquery-archive / jquery-mobile

jQuery Mobile Framework
https://jquerymobile.com
Other
9.7k stars 2.41k forks source link

Blackberry support for click broken on non-touch devices #306

Closed mmcconna closed 13 years ago

mmcconna commented 13 years ago

Bold 2 (9700), v5 platform. "Mouse click" does not work - to operate a link you have to select it with the mouse and then press Enter. E.g. the main demos page at http://jquerymobile.com/demos/1.0a1/ (and perhaps all other pages including parsed links) and all similar menus.

So the framework makes site much harder to navigate on this platform than it would be without JS at all!

Overall Blackberry support at least for v5 is not great in the Alpha, if you're developing a business-focused website no way you can do without Blackberry, hope you guys find a chance to advance the state of play on Blackberry. I don't have access to a BB6 device to test.

toddparker commented 13 years ago

Can you take a look at the latest test code and see if clicks are working better. http://jquerymobile.com/test/

We've been working on improving the events by sticking to click instead of tap or click. Blackberry 6 looks great so now we're working on getting better 5 support.

Cheers, Todd

mmcconna commented 13 years ago

Better but not 100%. Menu link clicks seem to work most (but not all) of the time, so I can now navigate which is definitely an improvement (although I am currently on a 2G connection which is painful!). The click does not seem to register 100% of the time however.

Other problems I noticed on a 5-minute burst through it. Should I log all these as separate issues?

1) "back" functionality is broken on some pages (e.g. from test intro page on to , presumably because browser history support is not there. But this includes the back buttons at the top of pages, which seriously harms navigability. Also seems to include some pages which should work, e.g. if on the multi-page template http://jquerymobile.com/demos/1.0a1/docs/pages/multipage-template.html when you switch to bar, then the links back to foo stop working because I think of a malformed URL. Actually I'm a bit lost about how the concept of internal links can work with good degradation...

2) right arrow images do not appear on the main nav menus

3) Dialog I can't get out of through the buttons, I have to go Back through the browser (which seems to work)

toddparker commented 13 years ago

Thanks! Log these as issues but search first to make sure it's not already an issue. If it is, all your pladoem and notes as a comment to the existing issue.

toddparker commented 13 years ago

I just tested this on our Blackberry Storm 2 (9550) running v.5.0 on this link: http://jquerymobile.com/test/

1) The back button seems to be broken because this browser doesn't seem to support the hash changes in the URL which is a pretty big bug in the browser. We're going to see if there are workarounds. Internal links work with PE because in the absence of JS and CSS, the links simply anchor you down the page and since we're using headings to structure our markup there should be a clear document hierarchy. For the most part, we think having separate html pages is the way to go, but we wanted to give this as an option.

2) The right arrows are appearing on the Storm...not sure what the differences would be. I'm on wifi?

3) Dialog buttons aren't working for me either but the close button works. Looking into this, the cause is that we just removed the dialog from the history stack so these buttons currently point to the same page as the dialog docs so the framework thinks it doesn't need to do anything (it's already in the right location). We need to auto-close these buttons when clicked.

_t

mmcconna commented 13 years ago

Thanks for the update. Will log more bugs as and when. Happy to test other specific functionality on an occasional basis. It promises to be a terrific project.