Last modified: 2014-04-29 04:09:29 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T38936, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36936 - Tables in mobile
Tables in mobile
Status: RESOLVED DUPLICATE of bug 64577
Product: MobileFrontend
Classification: Unclassified
Feature requests (Other open bugs)
unspecified
All All
: Normal enhancement
: ---
Assigned To: Jon
:
: 29504 52572 52939 53524 (view as bug list)
Depends on:
Blocks: 43065
  Show dependency treegraph
 
Reported: 2012-05-17 14:00 UTC by Jon
Modified: 2014-04-29 04:09 UTC (History)
18 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jon 2012-05-17 14:00:49 UTC
Observed on  LG P500's default browser (See https://twitter.com/#!/JamesFortengard/status/202110775593140224) and HTC Desire 2.2.2
Comment 1 Arthur Richards 2012-05-17 17:03:37 UTC
This was likely fixed with the latest deployment - that user's tweets were from the day before we pushed out the changes that addressed this and similar issues.
Comment 2 Jon 2012-05-17 19:39:16 UTC
It's possibly fixed... Either way there are still problems with the HTC Desire 2.2.2
Comment 3 Arthur Richards 2012-05-17 19:48:09 UTC
Actually, it appears not to be fixed :( I just looked at the HTC Desire in perfecto. I only quickly checked the San Francisco article on enwiki, and content in the principle infobox is clipped and there does not appear to even be a horizontal scroll.

Also, when typing in the full screen search box, a secondary box appears, floating just above the input box. As you type into it, the letters appear in both boxes simultaneously. Very strange.
Comment 4 Jon 2012-05-21 09:13:43 UTC
It seems on HTC Desire 2.2.2 that zooming out (via pinching) reveals the table unclipped. Although this is not obvious this seems to be a browser limitation... but at least it can be read. I checked on mine and couldn't find the problem on the HTC Desire in perfecto.

The search problem is due to some default styling on focused elements. I'm yet to find a way to remove that.
Comment 5 Jon 2012-06-25 17:54:38 UTC
Certain older browsers do not allow scrolling of tables.

We also experience this problem on the mobile app which does not allow zooming.

We should think of a more creative solution for dealing with these browsers.
Comment 6 Jon 2012-06-28 23:20:34 UTC
Worth a read - http://css-tricks.com/responsive-data-tables/
Comment 7 Derk-Jan Hartman 2012-07-02 20:12:13 UTC
Idea, replace inline table with "button". Click it, open new window, wider than normal screen resolution  (1024 wide or 6 * screenwidth ?) by default on 1:1 zoom level but allow user zoom. Draw the table in this wider canvas. The canvas will take care of the scrolling behavior.

Potentially add some logic to only do it on tables with more than x columns.

This should fix the above problems and probably result in nicer reading experience overall.
Comment 8 Jon 2012-07-03 18:54:15 UTC
More feedback on this issue:

Pages dont scroll sideways anymore neither in the app nor in safari. Content on the right of page cannot be read! Please solve.

User-agent: Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_2_1 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8C148 Safari/6533.18.5

#####
Comment 9 Jon 2012-07-26 23:30:06 UTC
http://en.m.wikipedia.org/wiki/Departments_of_France#section_4

Is an example of an effected table
Comment 10 Jon 2012-07-27 23:15:49 UTC
We also need to consider how best to serve mobile phones that get the basic site e.g. Opera Mini as these will not have javascript...
Comment 11 Jon 2012-08-13 17:53:39 UTC
I've been told that Opera Mini 7 does not support scrolling tables either
Comment 12 Jon 2012-08-13 18:44:29 UTC
More examples: http://en.m.wikipedia.org/wiki/Quantum_electrodynamics#section_3 (latex equations)
Comment 13 Tomasz Finc 2012-08-13 21:24:55 UTC
(In reply to comment #12)
> More examples: http://en.m.wikipedia.org/wiki/Quantum_electrodynamics#section_3
> (latex equations)

In this case we're supporting the users phone iPhone OS 5_1_1 but are not indicating that the table is scrollable. Adding a visual indicator would fix this. I'd open a bug about this but keeping the discusion localized per Jon.
Comment 14 Jon 2012-08-13 21:39:25 UTC
It's worth mentioning that we could have a button that writes the table to a window so that the reader can view it in full screen

$("table").dblclick( function() { var win = window.open(); win.document.write( '<table>' + $(this).html() + '</table>' ); } )
Comment 15 Jon 2012-08-16 21:42:00 UTC
The Wikipanion iphone app does this.
Comment 16 Jon 2012-08-20 17:26:37 UTC
"When displaying on a mobile device, the third column is cut off, so where the article says there are 17 states entirely within the eastern time zone, only the first 12 can be seen. This is not a problem on the full webpage."

http://en.m.wikipedia.org/wiki/Eastern_Time_Zone#section_3
User-agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0; NOKIA; Lumia 900)
Comment 17 Jon 2012-09-18 05:36:50 UTC
*** Bug 29504 has been marked as a duplicate of this bug. ***
Comment 18 Jon 2012-09-19 16:40:20 UTC
I started capturing this as a story in the hope it will get more fleshed out and clearly defined what needs to be done - https://mingle.corp.wikimedia.org/projects/mobile/cards/138
Comment 20 Jon 2012-12-19 18:31:05 UTC
We are now making several attempts at fixing this problem:
https://gerrit.wikimedia.org/r/#/c/39343/
Comment 21 Jon 2013-01-17 20:23:57 UTC
This is deployed to the alpha version of the mobile site (access through settings page and opting into beta)

Feedback welcomed..
Comment 22 Arthur Richards 2013-04-25 20:46:35 UTC
Marking as assigned; Michelle will be testing.
Comment 23 Jon 2013-04-26 07:49:46 UTC
Id argue this is not really assigned. It is still a bug in stable and the implementation in alpha needs work.
Comment 24 Michelle Grover 2013-04-29 04:35:38 UTC
I checked in perfecto mobile and this is still broken on en.m.wikpedia
Comment 25 Jon 2013-08-16 18:27:08 UTC
*** Bug 52939 has been marked as a duplicate of this bug. ***
Comment 26 Jon 2013-08-22 17:27:31 UTC
I suspect we will need to tackle the problem of tables on a template by template basis. Infoboxes seem the obvious first point of attack but it would be good to get an idea of what the most widely used templates are.
Comment 27 Jon 2013-09-05 16:47:31 UTC
*** Bug 53524 has been marked as a duplicate of this bug. ***
Comment 28 Jon 2013-09-05 16:48:33 UTC
(Note although this bug started as a specific issue to do with clipping it is now effectively a tracking bug for broken tables across the mobile site)
Comment 29 Jon 2013-09-09 17:49:05 UTC
*** Bug 52572 has been marked as a duplicate of this bug. ***
Comment 30 Kang Su Gatlin 2013-09-25 18:21:14 UTC
(In reply to comment #29)
> *** Bug 52572 has been marked as a duplicate of this bug. ***

So it's weird... yesterday morning I could repro this bug, but then last night
the bug stopped repro'ing.  I literally have two tabs open on my phone -- one
with the repro and one that renders as desired.

Was there a fix that went in for this yesterday?
Comment 31 Jon 2013-09-25 19:10:32 UTC
I think the bug you were referring to was bug 49440 which was resolved and deployed yesterday. The table issue is more generic and covers a broad set of tables that rely on widths that do not render nicely on mobile.
Comment 32 Kang Su Gatlin 2013-09-25 20:08:53 UTC
Thanks Jon.  I had originally filed Bug 52572, which was duped to this bug.  But the issue I had filed now appears to be fixed.  So it looks like it was really a dupe of 49440, rather than this one.  

In any case -- thank you!
Comment 33 Bingle 2014-02-14 17:51:23 UTC
Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1694
Comment 34 Jon 2014-04-28 20:15:42 UTC
*** Bug 64516 has been marked as a duplicate of this bug. ***
Comment 35 Christopher Yeleighton 2014-04-28 21:05:06 UTC
This bug is invalid, both title and description carry no useful information whatsoever.  If you follow the text, you come to the conclusion that the bug is about tables  in HTML being observable on mobile devices.
Please consult the document "How to report a bug" at <URL: https://m.mediawiki.org/wiki/How_to_report_a_bug >.
Comment 36 Axel Boldt 2014-04-29 00:20:49 UTC
Admittedly the initial description of the bug was poor, but the discussion describes the problem and outlines several possible solutions. This is a MAJOR issue of the mobile platform and has been reported multiple times. The bug report needs to remain open until this is truly fixed.
Comment 37 Jon 2014-04-29 04:09:29 UTC
I've done a better job of summarising on bug 64577 hopefully that will inject some new life into solving this bug :)

*** This bug has been marked as a duplicate of bug 64577 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links