[Webkit-unassigned] [Bug 12399] REGRESSION: Unable to prevent default context menu from appearing.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 22 15:02:43 PST 2007


bdakin at apple.com changed:

           What    |Removed                     |Added
         AssignedTo|webkit-                     |bdakin at apple.com
                   |unassigned at lists.webkit.org |
             Status|NEW                         |ASSIGNED
  Attachment #13329|                            |review?
               Flag|                            |

------- Comment #4 from bdakin at apple.com  2007-02-22 15:02 PDT -------
Created an attachment (id=13329)
 --> (http://bugs.webkit.org/attachment.cgi?id=13329&action=view)
Clear the controller's context menu before sending the event through the DOM

This problem appeared because of two facets of the current context menu design.
First, all context menu events are now considered to be "swallowed" since we
take care of building up the regular context menu through the
defaultEventHandler(). Second, the context menu controller holds onto it's
context menu until a new one is created. There would be logistical problems
changing this since AppKit relies on the menu being around for as long as it is
visible on the screen and we don't get any notification once the menu is

There are a few different ways to fix this problem, but I think this is
simplest. This solution does not change either of the two thing described
above. It just clears out the controller's context menu before a new event is
propagated through the DOM.

Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list