Closed Bug 80691 Opened 23 years ago Closed 23 years ago

Context Menus don't work

Categories

(Core Graveyard :: Embedding: GTK Widget, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: tvl, Assigned: blizzard)

References

Details

Th embedding layer appears to have the hooks for handling context menus.  It 
looks like nsIWebBrowserChrome is supposed to have impletemented 
nsIContextMenuListener, but GtkEmbed's class that handles chrome doesn't 
implement this, so the query interface fails, and one get's no context menus.  
Once that's added, we need (a signal?) by which the embedding app can then catch 
the request for the context menu.
Blocks: 77421
Status: UNCONFIRMED → NEW
Ever confirmed: true
You can catch the DOM mouse down on button 2 which is how they are activated. 
There isn't another way to activate the context menu on linux and this is how
people are activating context menus right now.  Is that good enough for you?
I'll have to give it a try.
Any luck here?
On Win9x, the Bug like this happens.
Sometimes the context menu opens, but the other times right-click is ignored.
Looks like the dom event's gonna work (did a quick try the other day).  We'll try 
wiring it up for real this week.
I see this used all over the place so it should work fine.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.