hust-marx / firebreath

Automatically exported from code.google.com/p/firebreath
0 stars 0 forks source link

Events not working on IE8 32-bit on Win7 64-bit #117

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build FBTestPlugin example project.
2. regsvr32 the FBTestPlugin DLL.
3. Open the FBControl.html example page.
4. The initial alert box will appear, triggered by the <param name="onload"...> 
line.
5. However, no alert boxes appear when clicking on the "Fire Event" link.

What is the expected output? What do you see instead?
I expect to see alert boxes in response to clicking "Fire Event".

What version of FireBreath are you using? On what operating system and
browsers?
Firebreath 1.3.1.16
Windows 7.0 64-bit
Internet Explorer 8.0
Compiled with Visual Studio 2008 (Express and Professional, both with the same 
results).

Please provide any additional information below.
The same DLL works fine on other computers running IE 8, and on other npAPI 
browsers on the same Windows 7.0 64-bit computer. However, when the DLL was 
tried on a different Windows 7.0 64-bit computer, the same problem occurred so 
it is not restricted to one computer.

I don't have direct access to the affected computer, so I added a lot of 
logging information to the Firebreath classes. I found, in essence, that  
JSAPI_IDispatch::Advise() is NOT being called in response to the attachEvent() 
Javascript call, is I believe it ought to be. Since Advise() is not being 
called, the JSAPI::m_evtIfaces map is not being populated, and so FireEvent() 
fails because of all of the event maps are empty.

Apart from events not reaching Internet Explorer, the plugin works. Methods and 
properties can be called successfully.

Although unrelated, I noticed that JSAPI_IDispatchEx::Unadvise() calls 
registerEventInterface(), when I think it should call 
unregisterEventInterface().

This issue is based on Google Groups thread #4f94629344169e62.

Original issue reported on code.google.com by Steven.K...@gmail.com on 14 Dec 2010 at 10:34

GoogleCodeExporter commented 9 years ago
I am unable to reproduce this issue on either of my Win7 64 bit machines; I 
will look at the unadvise issue, since that does look like a bug.

Original comment by richarda...@gmail.com on 14 Dec 2010 at 7:33

GoogleCodeExporter commented 9 years ago
A virtual machine with Win7 64-bit IE8 is being prepared for me to debug, so if 
I find anything I'll let you know.

Original comment by Steven.K...@gmail.com on 16 Dec 2010 at 9:09

GoogleCodeExporter commented 9 years ago
If you can reproduce it and then make the machine available to me I might be 
able to help more.

Keep us posted

Original comment by richarda...@gmail.com on 16 Dec 2010 at 4:23

GoogleCodeExporter commented 9 years ago
Haven't heard anything about this in a long time; marking recheck.  If you're 
still having problems with this let us know, otherwise I'll close the issue in 
a week or so.

I can't reproduce this on any of my machines.

Original comment by taxilian on 14 Jan 2011 at 12:24

GoogleCodeExporter commented 9 years ago
not having heard anything about this, I'm assuming it's been figured out and 
closing the issue.

Original comment by richarda...@gmail.com on 23 Jan 2011 at 2:30

GoogleCodeExporter commented 9 years ago
I can reproduce this issue on windows 7 32bit with IE8 in my plugin... 
additional info 
my plugin is windowless, but it seems to me that it doesn't matter 

Original comment by bignikita on 1 Feb 2011 at 7:33

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I have a firebreath plugin issue occuring in IE8 running on windows 7 32 bit: I 
have an image viewer where 16 plugins have been loaded in one page. Once I 
double click any plugin out of 16, it should resize itself and the image 
displayed on the particular plugin should be expanded and shown on a single 
plugin loading on the same page. This occurs seamlessly in every browser 
(chrome,safari,firefox, IE9,IE10,IE11)..but not on a machine running IE8 on win7

For some reasons, we are able to achieve the result on IE8 after resizing or 
doing any mouseclick operation on the browser.We dont want this.Why is it 
happening?
 I recently learned that windows 7 service pack 1,32 bit version of IE is not available on the website for download now.but i haven't upgraded my IE8..it seems IE8 came with win7 pack when installed.

P.S: Observation While debugging the page,
1. the particular plugin resize not being fired on IE8 contrary to other 
browsers after the double click operation.on clicking outside the plugin and 
clicking on it fires the resize event.
2. in IE8 onResize event is being fired after scrolling in browser, but not 
after plugin is resized.

Original comment by pratikpa...@gmail.com on 15 Jan 2014 at 7:48

GoogleCodeExporter commented 9 years ago
Don't know where you found this issue, but google code hasn't been the place to 
ask questions or report issues for literally years.

Original comment by rich...@batemansr.us on 15 Jan 2014 at 7:04