Bug 4644 - Mouse click on a link displayed in embedded IE5 ActiveX is not reliable (1GD7TT2)
Summary: Mouse click on a link displayed in embedded IE5 ActiveX is not reliable (1GD7...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.0   Edit
Hardware: All Windows 2000
: P4 normal (vote)
Target Milestone: 2.0 M2   Edit
Assignee: Veronika Irvine CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 865 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-10-11 14:20 EDT by Mike Wilson CLA
Modified: 2002-03-07 10:31 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Wilson CLA 2001-10-11 14:20:29 EDT
The help system uses the IE5 web browsing component embedded in a view. 
When navigating a link displayed in the browser, sometimes I need to click twice
on the link. It appears that some mouse events are not handled by the activeX component.
This used to work back in the 03x and 04x drivers.

NOTES:

DB (5/4/2001 3:11:30 PM)
   I can see the cursor is changed into a hand when hovering over a link, so
   it is clear that I am correctly positioned.
   Sometimes, especially if I click "hard" (sic) the link is navigated.
   Most of the time, nothing happens, and need to click twice.
   To reproduce the problem, make the following changes in the org.eclipse.help.examples.ex1 plugin:

   - modify the topics.xml file to look like

    <topics id="topics">
	<topic  id="topic1_1" label="%Topic_1_1" href="concepts/topic1_1.html">
      		<topic id="topic1_2" label="%Topic_1_2" href="ref/topic1_2.html"/>
		<topic label="%Topic_1_2_1"  href="ref/topic1_2_1.html"/>
                <topic label="LINKS"  href="links.html"/>    <!-- THIS IS A NEW LINE ADDED -->
    	</topic>
	    <topic id="topic1_3" label="%Topic_1_3" >
		     <topic label="%Topic_1_3_1" href="tasks/topic1_3_1.html"/>
	    </topic>
     </topics>

  - create a file links.html in the plugin directory. The following will do:

<html>
<body>

<p><br>
<a href="tasks/topic1_3_1.html">Web services</a><br>
<a href="concepts/topic1_1.html">Web Services Description Language (WSDL)</a><br>
<a href="ref/topic1_2.html">Universal Description, Discovery, and Integration (UDDI)</a><br>
<a href="csoap.htm">Simple Object Access Protocol (SOAP)</a></p>

</body>
</html>


    - remove the .metadata directory (i.e. start a brand new eclipse)
    - click on  Help->HelpContents
    - in the help navigation view, expand the first two topics until you see the LINKS topic
    - select the LINKS topics
    - click on the links shown in the browser
    - do this a number of times to see that sometimes links don't work.

If I open IE5 on the file, everything is fine.

BTW, the browser code is in the Eclipse UI Win32 project.

DB (5/29/2001 2:00:59 PM)
This appears to be caused by a focus problem. Somehow, the first click appears to be
needed to get the focus to the ActiveX component (IE5), then the second click is really the
one to navigate a hyperlink.

DB (6/13/2001 11:33:33 AM)
If this does not get fixed, I suggest documenting it in the README.

	McQ (26/06/2001 1:30:59 PM) -
		The focus issues is covered by: 1GF5TV9: ITPHELP:WINNT - First help click on a chapter is ignored
Comment 1 Dorian Birsan CLA 2001-10-25 17:41:39 EDT
*** Bug 865 has been marked as a duplicate of this bug. ***
Comment 2 DJ Houghton CLA 2001-10-29 16:27:50 EST
PRODUCT VERSION:
Drivers  0.103 

Comment 3 Konrad Kolosowski CLA 2001-11-13 18:44:34 EST
From EC newsgroup:
When using the help system, the mouse wheel won't work after I
select an entry. It won't work after I click on the help text once.
It *will* work if I double click on the help text.

It should work after only one click. Better yet, it should work
after I select an entry on the left.
Comment 4 Mike Wilson CLA 2001-11-15 10:39:15 EST
Hm... Shouldn't the control be activated after one click?
Comment 5 Veronika Irvine CLA 2002-01-15 15:04:01 EST
Fixed in 20020109