Closing a tab with middle-click doesn't work when a plug-in context menu is open




7 years ago
6 years ago


(Reporter: Yves Goergen, Unassigned)


2.0 Branch
Windows 7

Firefox Tracking Flags

(Not tracked)


(Whiteboard: dupeme)



7 years ago
User-Agent:       Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

Closing a tab with middle-click doesn't work when a plug-in context menu is open

Reproducible: Always

Steps to Reproduce:
1. Open a Flash website and right-click in the plug-in to open the Flash context menu, keep it open
2. Middle-click the tab header to close the tab

Actual Results:  
Nothing happens

Expected Results:  
Tab closes

The tab can only be closed with the middle mouse button after clicking the left button to close the open context menu. This is not necessary when a normal browser context menu is open.
Do you know if this Issue happens with the Adobe (or other's) PDF Plugins too by Chance?
Whiteboard: dupeme
Version: unspecified → 4.0 Branch

Comment 2

7 years ago
I don't know. I'm not using PDF plugin because it's always been a bit unstable for me and the full Adobe window is more usable. I can't find an embedded PDF right now to test it. I don't know of any other plug-ins, I guess I don't have any installed.

Comment 3

7 years ago
Oh wait, it also happens exactly the same with Microsoft Silverlight. If that helps.
Component: General → Plug-ins
Product: Firefox → Core
QA Contact: general → plugins
Version: 4.0 Branch → 2.0 Branch
I just ran into this exact problem. I didn't realize that I had right clicked flash and was wondering why the tab was not closing.

Going back to test again, I noticed that all mouse events were not happening (CSS, JS, mouseover, hover, etc) until either left or right mouse button had been pressed. Middle click blocked everywhere so links, bookmarks, close tab didn't work.

Same problem in Flash 10.2 and Foxit Reader 10.0.1.

Current testing in early 5.0b1 in win7 and winxp.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0b1) Gecko/20100101 Firefox/5.0

I also believe the platform should be x86 not x86_64 since there is no 64bit builds in windows at this time.

Comment 5

6 years ago
Has somebody found something useful by now? It still keeps bugging me badly. Watch a YouTube/Vimeo video, then close the tab middle-clicking on it. Fails every time.
You need to log in before you can comment on or make changes to this bug.