[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
Wed Dec 7 07:00:06 PST 2011


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





--- Comment #10 from Martin Robinson <mrobinson at webkit.org>  2011-12-07 07:00:06 PST ---
(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?

-- 
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