Summary: | Missing icons in help | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Dave Thomson <Dave_Thomson> | ||||
Component: | User Assistance | Assignee: | Dorian Birsan <birsan> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P1 | ||||||
Version: | 2.0 | ||||||
Target Milestone: | 2.0 F3 | ||||||
Hardware: | Other | ||||||
OS: | Windows 98 | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Dave Thomson
2002-05-29 14:06:40 EDT
Created attachment 1104 [details]
Bitmap showing missing icons
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. 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? 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). 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. 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. 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. Dave, thank you for the experiments, we now have a starting point to look at the problem. 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 :-) 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. Targeting for F3, but likely this has been fixed in F2 (we could not reproduce it). Tested in 0609. This appears to be fixed. Dave, Linda is planning one last icon touch before F3. I will close the bug once I put in the new icons. Added comments to wrong defect. They were meant for 15992. I will mark this bug as fixed. |