Page MenuHomePhabricator

Palm mobile rendering problem
Closed, ResolvedPublic

Description

Mobile Site Formatting Problem on Palm Pre

I have a Palm Pre, running Palm's WebOS. Since Thursday (12/2) morning, wikipedia mobile pages have been coming up with different formatting. Instead of the usual, easily readable, single columb. The pages have been spread out quite a bit wider, requiring zooming and subsequent side-to-side scrolling. In order to stop the inevitable, "it must be your fault" responses, I've double checked, and it is the mobile site at which I'm looking. Furthermore, a quick web search reveals that I'm not the only Palm user that has noticed this, so it's not relugated to an error on my phone. Palm's browser doesn't have formatting options, so it's not that, besides, I didn't change anything from when it was displaying properly to when it stopped. I'm writing this in the hopes that the powers that be that control the actual Wikipedia mobile site will find out, and fix this. —Preceding unsigned comment added by 70.226.217.101 (talk) 03:07, 4 December 2010 (UTC)


Version: .5
Severity: normal

Details

Reference
bz26239

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:16 PM
bzimport set Reference to bz26239.

hcatlin wrote:

Around the 2nd of December, all Palm Pre devices changed their User Agent string to no longer have the term "Palm" or "Pre" anywhere in it. It is now

"Mozilla/5.0 (webOS/1.3; U; en-US) AppleWebKit/532.2 (KHTML, like Gecko) Version/1.0 Safari/532.2 Desktop/1.0"

So... it claims to be desktop. And, our site responded with the desktop version of the mobile site. Whoops!

Deploying the fix now!

  • Bug 26249 has been marked as a duplicate of this bug. ***

Hampton, an OTRS ticket suggest this still isn't fixed.

I've requested them to see what user agent string they're getting, and then I'll look at reopening this bug (hence the reason for marking as duplicate!)

bbrg548 wrote:

Having the same issue. According to "whatsmyuseragent.com" my user agent string is: "'Mozilla/5.0 (webOS/1.4.5; U; en-US) AppleWebKit/532.2 (KHTML, like Gecko) Version/1.0 Safari/532.2 Pre/1.0' "

The last WebOS update for the majority of US users was 1.4.5 back in August, so it's unlikely there was any change in the Pre's browser on Dec 2.

Reopening, seems to be unfixed.

Reports in OTRS is similar:

"Mozilla/5.0 (webOS/1.4.5; U; en-US) AppleWebKit/532.2
(KHTML, like Gecko) Version/1.0 Safari/532.2 Pre/1.0"

Same as above.

Was the redirect script fixed as well ?

phil wrote:

This is very definetely unfixed, and the bahaviour is the same on both Palm Pre and Palm Pixi. Boht devices are correctly pointing themselves to the mobile site not the desktop site. They are nto displaying the desktop site either, it is an incorrectly formatted version of the mobile site.

whatsmyuseragent.com reports: "Mozilla/5.0 (webOS/1.4.5; U; en-GB) AppleWebKit/532.2
(KHTML, like Gecko) Version/1.0 Safari/532.2 Pixi/1.1"

Does this problem coincide with the introduction of the wikipedia appeal banner? If we donate, will it go away....

aaron.shipley wrote:

There has been no software updates pushed out for the Palm Pre since at least August or September.

The user agent in the Pre still has the word "Pre" in it as I checked at whatsmyuseragent.com:

"Mozilla/5.0 (webOS/1.4.5; U; en-US)AppleWebKit/532.2 (KHTML, like Gecko)Version/1.0 Safari/532.2 Pre/1.0"

I don't know what changes were made on the website server, but it's something on your end - nothing to do with changes in the Palm Pre browser.

combee wrote:

I'm in the Palm developer support group. I looked at the current page output for something like http://en.m.wikipedia.org/wiki/Banjo and tried the browser with a local copy of the page.

The problem is that in your updated template, you have the lines

<meta name = "viewport" content = "width=device-width; initial-scale=1.0; maximum-scale=1.0;">
<meta name = "viewport" content = "user-scalable=0;" />

The Palm web browser gets confused by two viewport tags. If you move the new "user-scalable=0" to the first line so it's just

<meta name = "viewport" content = "width=device-width; initial-scale=1.0; maximum-scale=1.0;user-scalable=0;">

then the content works again on webOS. I'll file a browser bug, but you can fix your end much quicker.

hcatlin wrote:

Just deployed the recommendation from Ben!

Can someone verify if it worked?

aaron.shipley wrote:

100% fixed, thank you very much.

Was not the end of the world, but was just frustrating to deal with this from a very valuable source of mobile information.

combee wrote:

Awesome, thanks for the quick response.