[Webkit-unassigned] [Bug 170680] New: [GTK] Opening a popup menu does not pre-select the active item

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 10 10:09:33 PDT 2017


            Bug ID: 170680
           Summary: [GTK] Opening a popup menu does not pre-select the
                    active item
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aperez at igalia.com
                CC: bugs-noreply at webkitgtk.org

Created attachment 306698

  --> https://bugs.webkit.org/attachment.cgi?id=306698&action=review

Good: GtkComboBox popped up after clicking

When clicking a GtkComboBox, the popup menu appears with the
“active” item below the mouse pointer *and* also pre-selected
(e.g. blue background and white text for the Adwaita theme).

We try to mimic this behaviour in popup menus from web pages,
and WebKitGTK+ already uses a GtkMenu to provide the same look,
replicating some of the code in “gtkcombobox.c” to calculate the
positioning for the menu. Unfortunately, the “active” item does 
*NOT* get pre-selected in the WebKitGTK+ popup menus.

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/20170410/08dc448d/attachment-0001.html>

More information about the webkit-unassigned mailing list