keeleysam / tenfourfox

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

Don't open context menus if we can't select them #187

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The widget code still opens context menus on right-click when in the 
background, but correctly ignores left click, leaving a menu you can't interact 
with. Mostly a nuisance, but annoying with the QTE.

Original issue reported on code.google.com by classi...@floodgap.com on 14 Oct 2012 at 5:02

GoogleCodeExporter commented 9 years ago
I'm beginning to think we can't trap this without undoing issue 88. Neither 
inactiveWindowAcceptsEvent nor WindowAcceptsEvent in nsChildView.mm get this 
click before the context menu is opened.

Original comment by classi...@floodgap.com on 1 Nov 2012 at 2:39

GoogleCodeExporter commented 9 years ago
We have to remove the short-circuit we have in 
nsToolkit::RegisterForAllProcessMouseEvents() but this might cause other 
problems. I think this is better off left until after the 24 switch over.

Original comment by classi...@floodgap.com on 18 May 2013 at 12:58