<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 - AX: [ATK] Wrong selected element at a given index in a list box (redux)"
   href="https://bugs.webkit.org/show_bug.cgi?id=164430">164430</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>AX: [ATK] Wrong selected element at a given index in a list box (redux)
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </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>Accessibility
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jdiggs&#64;igalia.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>webkit-bug-importer&#64;group.apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Unfortunately I didn't notice <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [ATK] Wrong selected element at a given index in a list box."
   href="show_bug.cgi?id=129039">bug 129039</a> or its associated &quot;fix.&quot; However, the &quot;bug&quot; reported there is not a bug.

1. The AtkSelection documentation [1] states that atk_selection_ref_selection() takes &quot;a gint specifying the index in the selection set. (e.g. the ith selection as opposed to the ith child).&quot;

2. The method changed/broken even has a comment [2] which states &quot;// i is the ith selection as opposed to the ith child.&quot;

3. There is different API, namely atk_object_ref_accessible_child(), when the ith child from the set of all children is sought. [3]

It's not clear to me what prompted the filing of, and commmitted change for, <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [ATK] Wrong selected element at a given index in a list box."
   href="show_bug.cgi?id=129039">bug 129039</a>. But that change needs to be undone.

[1] <a href="https://developer.gnome.org/atk/stable/AtkSelection.html#atk-selection-ref-selection">https://developer.gnome.org/atk/stable/AtkSelection.html#atk-selection-ref-selection</a>
[2] <a href="https://trac.webkit.org/browser/trunk/Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceSelection.cpp?rev=164577#L99">https://trac.webkit.org/browser/trunk/Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceSelection.cpp?rev=164577#L99</a>
[3] <a href="https://developer.gnome.org/atk/stable/AtkObject.html#atk-object-ref-accessible-child">https://developer.gnome.org/atk/stable/AtkObject.html#atk-object-ref-accessible-child</a></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>