[Webkit-unassigned] [Bug 72104] [GTK]Context menu doesn't display for selected node when menu is pressed.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Dec 9 04:42:39 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=72104
--- Comment #11 from chandra shekar vallala <chandra.vallala at motorola.com> 2011-12-09 04:42:39 PST ---
(In reply to comment #10)
> (In reply to comment #9)
> > (In reply to comment #8)
> > > Good point, but it seems that choosing maxY - 1 would still have this issue? Why not just put the point at x +1, y + 1?
> >
> > I think I was not clear in my previous comment. If a link located in two lines i.e.. link located at upperRight and lowerLeft of the lines, getRect() will return union of upper + lower bounds. Taking point(x+1, y+1) or center point may not hit the focus node.
> >
> > If you don't mind, can you clarify the issue if we use maxY-1?
>
> If what you say is true, then wouldn't a node shaped like:
>
> __________________________________________________
> | |
> ------------------- -------------------
> |-----------|
>
> Perhaps it's possible to get a list of rects. I think there's still an issue though, because of z-order issues. The more I look at this, the more I wonder if the right thing to do here is to override the node of the ContextMenuController manually. What do you think?
It would be better to take a best point from list of rects rather than overriding the node of ContextmenuController. I think it not possible to display menu for a node which is below a posZorderLayer with right-click. If it is not done by the mouse then why should with menu key ?
--
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