[Webkit-unassigned] [Bug 235700] New: [GTK][a11y] Do not set the children count when serializing objects for the ATSPI cache

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 27 01:59:43 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=235700

            Bug ID: 235700
           Summary: [GTK][a11y] Do not set the children count when
                    serializing objects for the ATSPI cache
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com
                CC: bugs-noreply at webkitgtk.org
            Blocks: 230253

It's confusing the cache if things doesn't happen in the expected order. We handle the children by emitting the children-changed signals. When the children count is set in the cache by AddAccessible signal or as a response to GetItems, atspi sets the accessible children vector size to the given value. If children-changed:add is emitted after that, it's considered a new child and the children vector grows. So, we end up with the double of children, but half of them are just null.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=230253
[Bug 230253] [META][GTK] Add new accessibility implementation based on atspi
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220127/5075b0ac/attachment.htm>


More information about the webkit-unassigned mailing list