Bug 44216 - [readme] Synchronize, Print, Add Bookmark broken for topic http://www.mywebsite.com/first.html
Summary: [readme] Synchronize, Print, Add Bookmark broken for topic http://www.mywebsi...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1   Edit
Assignee: Konrad Kolosowski CLA Friend
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-06 06:57 EDT by Konrad Kolosowski CLA Friend
Modified: 2005-05-26 14:43 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konrad Kolosowski CLA Friend 2003-10-06 06:57:40 EDT
The following has been sent to platform-help-dev mailing list:

Hi Help Developers:
I have written a help plugin. And it can be correctly browsed in the help 
browser . But if i push the synchronize button,  it can't synchronize the 
navigation frame with the current topic.

the toc file looks like the following:
<topic label="Ref1" href="http://www.mywebsite.com/first.html">
      <topic label="Ref1-1" href="http://www.mywebsite.com/second.html">
...


If i modify the toc file like this:
  <topic label="Ref1" href="html/ref1/first.html">
      <topic label="Ref1-1" href="html/ref1/Ref1-1/second.html">

the synchronize button of help browser worked fine.

What is the reason?

Thanks in advance for any suggestions,
Tin Ma
Comment 1 Konrad Kolosowski CLA Friend 2003-11-12 16:29:03 EST
Security in the browser is the reason it does not work.  To synchronize, 
Javascript needs to obtain a URL of the document displayed in a content frame 
to find it in the TOC.  Because the document is external, it is not served by 
help server (for security reason).  The frame is isolated from the rest of 
help frames and doing ContentViewFrame.window.location.href fails.

I do not see a way of fixing this.
Comment 2 Konrad Kolosowski CLA Friend 2004-05-04 10:03:18 EDT
The same problem exists for other action in the content toolbar.
In addition to Synchronize, Print and Add Bookmark do not work.
Comment 3 Konrad Kolosowski CLA Friend 2004-06-21 12:24:40 EDT
Candidate for the 3.0 readme.
Comment 4 Konrad Kolosowski CLA Friend 2005-05-26 14:43:37 EDT
Documented in 3.0 readme already.