[Webkit-unassigned] [Bug 146618] New: the location of contextmenu is computed incorrectly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 5 02:12:46 PDT 2015


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

            Bug ID: 146618
           Summary: the location of contextmenu is computed incorrectly
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: vmpjin at foxmail.com

the path is WebKit2/UIProcess/gtk/WebContextMenuProxyGtk.cpp.
I want to change the location of the menu but it canot work well on y axis
in the function menuPositionFunction--gtk_widget_get_preferred_size(GTK_WIDGET(menu), &menuSize, 0);
the menuSize is not correct,it's the minimum size,so it's height is just one item's height of the menu,I think we should use naturalHeight.it's width works well,because their values are the same.
So I think it should be gtk_widget_get_preferred_size(GTK_WIDGET(menu), 0, &menuSize);
Thank you!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150705/92c153ad/attachment.html>


More information about the webkit-unassigned mailing list