WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
146618
the location of contextmenu is computed incorrectly
https://bugs.webkit.org/show_bug.cgi?id=146618
Summary
the location of contextmenu is computed incorrectly
vmpjin
Reported
2015-07-05 02:12:46 PDT
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!
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug