Open Bug 1203968 Opened 5 years ago Updated 2 years ago

Spurious left double-click mouse event after left single-click mouse event in Silverlight

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

40 Branch
defect
Not set
normal

Tracking

()

UNCONFIRMED

People

(Reporter: leungkkf, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0
Build ID: 20150826023504

Steps to reproduce:

Single-click on a Silverlight application hosted in Firefox. 

If the bug does not occur, try to click on another application to get Firefox out of focus, and click on the Silverlight application in Firefox again. 


Actual results:

In Spy++, the following events are seen: 

left mouse single-click
left mouse double-click
left mouse up


Expected results:

In Spy++, the following events are expected:

left mouse single-click
left mouse up
Component: Untriaged → Event Handling
Product: Firefox → Core
Are you still experiencing this issue?

If so, can you provide me with a more clear steps to reproduce this issue?
Flags: needinfo?(leungkkf)
1. Go to any Silverlight online demo (e.g. https://www.microsoft.com/silverlight/new-controls/demo/). 

2. Open Spy++. 

3. Search for the Silverlight window using the "Find Window" option and dragging the cross over the Silverlight window. 

4. The Silverlight window should have the caption as "Microsoft Silverlight - Mozilla Firefox", and class as "MozillaWindowClass", as shown in the "Find Window" dialog box. Then click ok. 

5. Click ok and you have located the Silverlight window handle (highlighted). 

6. Right click on it and select "Messages". 

7. The "Messages" window will appear and right-click to select "Logging options". 

8. Select the "Messages" tab. Click the "Clear all" button and select only "WM_LBUTTOMDBLCLK", "WM_LBUTTONDOWN", "WM_LBUTTONUP". Click ok to close the dialog box. 

9. Then click on the Silverlight window in Firefox. 

10. "WM_LBUTTOMDBLCLK" will show up even though you have not double-click on it. 

11. You may have to click on some other window and the Silverlight window in Firefox again to produce the bug.
Flags: needinfo?(leungkkf)
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.