Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 318371

Summary: [Webapp] Standalone infocenter content display on iPad has several issues
Product: [Eclipse Project] Platform Reporter: Bob Beims <bob.beims>
Component: User AssistanceAssignee: platform-ua-inbox <platform-ua-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: asbestos, cgold, pwebster, remy.suen, timbugs99
Version: 4.0   
Target Milestone: ---   
Hardware: Other   
OS: other   
Whiteboard: stalebug
Attachments:
Description Flags
screen shot of an infocenter at IBM viewed on the iPad simulator
none
Here's a screenshot from an iPhone 4S that illustrates the problem none

Description Bob Beims CLA 2010-06-29 14:51:10 EDT
Build Identifier: 3.5.0.v20090611

General description posted in UA forum message: http://www.eclipse.org/forums/index.php?t=tree&goto=543555&#msg_543555

Info about the Safari browser on iPad:
userAgent: Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7W367a Safari/

Reproducible: Always

Steps to Reproduce:
1. open Safari 4 on an iPad (or an iPad simulator)
2. point the browser at a standalone infocenter
3. navigate within the ToC to a very long topic title
Comment 1 Chris Goldthorpe CLA 2010-06-29 19:32:47 EDT
Can you attach a screen shot for this?
Comment 2 Bob Beims CLA 2010-06-30 09:03:22 EDT
Created attachment 173088 [details]
screen shot of an infocenter at IBM viewed on the iPad simulator

Note that anyone with an OS X system can download the iPhone SDK, which includes an iPad simulator. You must be registered in Apple's Developer program, but you can do that for free (well, at least you used to be able to do that ... I've been registered for a long time).
Comment 3 Chris Goldthorpe CLA 2010-06-30 13:42:43 EDT
I'm not going to be able to look at this myself since I don't have an IPad and have only remote access to a machine running OS/X but maybe someone from the community who have an IPad will be able to submit a patch.
Comment 4 Bob Beims CLA 2010-06-30 14:19:53 EDT
Chris;

Three of the developers on my team have iPads and/or Macs with the iPhone/iPad simulator on them. But none of us have done Eclipse development. How would we get started to help with this issue?

Bob
Comment 5 Chris Goldthorpe CLA 2010-06-30 16:41:21 EDT
To contribute a patch the first thing you need to do is to check out the project org.eclipse.help.webapp from CVS. Below is a link on how to check code out from CVS and create patches, the link is for Platform UI but the steps are the same.

http://wiki.eclipse.org/Platform_UI/How_to_Contribute

The help web application is a set of jsp files which live in the /advanced directory of org.eclipse.help.webapp. There are also java classes which run on the server. The webapp is aware of the client and the .jsp files will be preprocessed slightly differently depending on whether the client is Mozilla based (Firefox), IE or Safari. It appears that we need to recognize when the client is Safari for IPad and add extra code for that - exactly what that code would be I'm not sure.

/advanced/help.jsp is the file which creates the frames and allocates the navigation frame 30% of the width.

Looking at your screenshot it also looks as though the tabs which switch between table of contents, search and bookmarks are missing.
Comment 6 Tim Raff CLA 2012-06-26 12:08:39 EDT
Actually the problem is worse that the screen-shot implies. The emulator doesn't quite reproduce the symptoms on both the iPad and iPhone. When the toc pane gets resized when the toc is expanded, the right hand side of the infocenter content gets pushed off the right of the screen, and you can't scroll over to the right to see it, or pinch to reduce size. The only way to see the full content pane is to un-expand the toc with the minus button.
Comment 7 Tim Raff CLA 2012-06-26 12:26:52 EDT
Created attachment 217886 [details]
Here's a screenshot from an iPhone 4S that illustrates the problem
Comment 8 Alex Titov CLA 2013-09-16 14:15:35 EDT
According to http://support.apple.com/kb/ht1484 we can't have scroll-bars inside frames. It is by design in iOS.
Comment 9 Eclipse Genie CLA 2019-06-25 07:57:48 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.