<html>
<head>
<base href="https://bugs.webkit.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] Opening a popup menu does not pre-select the active item"
href="https://bugs.webkit.org/show_bug.cgi?id=170680">170680</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[GTK] Opening a popup menu does not pre-select the active item
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>Other
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>WebKit Gtk
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>aperez@igalia.com
</td>
</tr>
<tr>
<th>CC</th>
<td>bugs-noreply@webkitgtk.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=306698" name="attach_306698" title="Good: GtkComboBox popped up after clicking">attachment 306698</a> <a href="attachment.cgi?id=306698&action=edit" title="Good: GtkComboBox popped up after clicking">[details]</a></span>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>