[Webkit-unassigned] [Bug 63089] New: Context Menu API can't differentiate between multiple items with same tag

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 21 13:26:45 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=63089

           Summary: Context Menu API can't differentiate between multiple
                    items with same tag
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: NEW
          Keywords: InRadar, PlatformOnly, Regression
          Severity: Normal
          Priority: P2
         Component: WebKit2
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bweinstein at apple.com
                CC: beidson at apple.com, aroben at apple.com


6/21/11 11:49 AM Brian Weinstein:
* SUMMARY
The WebKit2 context menu API can't differentiate between multiple items with the same tag.

We are supposed to have the user info of the context menu item to differentiate between them, but this doesn't work on WIndows.

When a native context menu item is created on Mac, the user info is added to the NSMenuItem, and when the menu item is selected, the callback has access to the user data.

On Windows, when a native context menu item is created, all we can give it is the tag, we can't add the user info to the native context menu item. We currently have a map from tag -> user info, but this fails if we have multiple context menu items with the same tag.

<rdar://problem/9649085>

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



More information about the webkit-unassigned mailing list