Summary: | [GTK] Fix empty space in popup menus when first item is selected | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> | ||||||||
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | Keywords: | Gtk | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Created attachment 257643 [details]
Patch
This fixes the issue.
Created attachment 257644 [details]
Screenshot with the patch applied
Committed r187542: <http://trac.webkit.org/changeset/187542> |
Created attachment 257642 [details] Screenshot showing the problem It happens when one of the first elements are selected, because we try to center the current selection on the combo element. When the menu is large enough to make the element centered we need to leave empty space at the beginning. See the attached screenshot.