Bug 18218 - Missing icons in help
Summary: Missing icons in help
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 2.0   Edit
Hardware: Other Windows 98
: P1 normal (vote)
Target Milestone: 2.0 F3   Edit
Assignee: Dorian Birsan CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-29 14:06 EDT by Dave Thomson CLA
Modified: 2002-06-10 08:30 EDT (History)
0 users

See Also:


Attachments
Bitmap showing missing icons (323.49 KB, image/bmp)
2002-05-29 14:11 EDT, Dave Thomson CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Thomson CLA 2002-05-29 14:06:40 EDT
Build I200205291235
Help->Help Contents
Open workbench user guide, getting started, team tutorial
Observe missing icons (see attached bitmap)

Here is the log:

!SESSION May 29, 2002 13:49:15.410 ---------------------------------------------
java.version=1.3.1_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -install 
file:C:/WINDOWS/Desktop/I0529/eclipse/
!ENTRY org.eclipse.core.runtime 2 1 May 29, 2002 13:49:15.410
!MESSAGE Problems encountered loading the plug-in registry.
!SUBENTRY 1 org.eclipse.core.runtime 2 1 May 29, 2002 13:49:15.410
!MESSAGE Unknown extension point 
org.eclipse.debug.ui.launchConfigurationShortcuts specified in plug-in 
org.eclipse.pde.ui.
Comment 1 Dave Thomson CLA 2002-05-29 14:11:14 EDT
Created attachment 1104 [details]
Bitmap showing missing icons
Comment 2 Dave Thomson CLA 2002-05-29 14:13:48 EDT
I discovered that in fact the broken link X showed up for *all* documents no 
matter where there were... until I clicked around a bit, went back to the table 
of contents, and then suddenly everything was fine.
Comment 3 Dorian Birsan CLA 2002-05-29 14:32:12 EDT
Konrad has played on a win98/IE6 and could not reproduce the bug. 

It looks like a browser problem, or likely a browser/threading problem on 
Win98. I think the browser is loading images on different threads and it 
renders the page without having all the images loaded. 
Have you noticed this kind of problems when browsing large web pages?
Comment 4 Dave Thomson CLA 2002-05-29 15:14:14 EDT
The problem is quite repeatable for me - it happens every time, *after* I 
install a fresh drop.  It does not seem to happen subsequently.  However if I 
install a fresh build, start it up, Help->Help Contents and the icons are 
missing - every time so far (3 tries, 3 failures).

NOTE: Just deleting the workspace directory does not cause the problem to 
happen.  I have to actually delete the install and unzip a new one.

I have never seen any problem browsing with IE6 on 98 (I am using IE6).
Comment 5 Dorian Birsan CLA 2002-05-29 15:39:36 EDT
Dave,if you have time, could you please try the following:

- once images show up fine, shutdown eclipse, 
- clear the browser's cache and history, 
- run eclipse and try help again.

If images still appear fine, try the following:
- shutdown eclipse
- change the timestamp of all the files in the plugins\org.eclipse.help.webapp 
directory. If you don't have "touch", then copy and paste (replace orginal 
files).
- try help again.

These should give us some indication on whether browser caching plays some role 
here.
Comment 6 Dave Thomson CLA 2002-05-29 16:55:46 EDT
I can cause it by doing the following.
Install new build.
Verify broken images are shown.
Press home icon.
Navigate again, and icons are fine now.
Exit
Go into directory eclipse\plugins\org.eclipse.help.webapp_2.0.0
Touch all files.
Touch all files in NS4 subdir.
Touch all files in IMAGES subdir.
Run eclipse again.
Broken images are shown.

I could not make it happen *just* by deleting the files in the webapp_2.0.0 
directory, and I had to also delete the ones in the subdirectories... although 
I did not narrow it down to whether both subdirs was required or just one.
Comment 7 Dave Thomson CLA 2002-05-29 16:57:49 EDT
I was not able to cause it by running Tools->Internet Options in IE6 and and 
using Delete files and Clear History.  I couldn't find anything else that 
looked like it was related to cache clearing.
Comment 8 Dorian Birsan CLA 2002-05-29 19:16:15 EDT
Dave, thank you for the experiments, we now have a starting point to look at 
the problem. 
Comment 9 Dorian Birsan CLA 2002-05-30 11:56:40 EDT
Caching options are also settable in the "Settings", next to "Delete Files".
Default option is "Automatically" check stored pages.

I will make a small change to also preload the topic icons, but I don't think 
that should have much impact. If you want to test it now, add the following 4 
lines to the org.eclipse.help.webapp\toc.js, at the beginning:

folder_img = new Image();
folder_img.src = "images/container_obj.gif";
topic_img = new Image();
topic_img.src = "images/topic_obj.gif";

If this does not solve the problem, then we'll route the defect to the OTI 
Infra team to check your machine :-)
Comment 10 Dave Thomson CLA 2002-05-30 15:46:41 EDT
1. My IE had caching set to Automatically
2. Putting the suggested lines into toc.js *appears* to correct the problem

I will try further testing in the next build.

Comment 11 Dorian Birsan CLA 2002-06-04 12:59:02 EDT
Targeting for F3, but likely this has been fixed in F2 (we could not reproduce 
it).
Comment 12 Dave Thomson CLA 2002-06-09 13:01:27 EDT
Tested in 0609.  This appears to be fixed.
Comment 13 Dorian Birsan CLA 2002-06-09 22:26:59 EDT
Dave, Linda is planning one last icon touch before F3. I will close the bug 
once I put in the new icons.
Comment 14 Dorian Birsan CLA 2002-06-10 08:30:13 EDT
Added comments to wrong defect. They were meant for 15992. 
I will mark this bug as fixed.