<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>273245</bug_id>
          
          <creation_ts>2024-04-25 05:49:06 -0700</creation_ts>
          <short_desc>REGRESSION(274201@main): Error embedding AT-SPI socket: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: org.freedesktop.DBus.Error.NameHasNoOwner</short_desc>
          <delta_ts>2024-10-09 08:19:03 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=273247</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Georges Basile Stavracas Neto">feaneron</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2031144</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2024-04-25 05:49:06 -0700</bug_when>
    <thetext>With Epiphany Tech Preview using WebKitGTK 2.44.1:

 * Load about:overview in Epiphany
 * Load https://example.com

You&apos;ll see this warning:

(epiphany:2): Gtk-WARNING **: 07:46:40.187: Error embedding AT-SPI socket: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: 
org.freedesktop.DBus.Error.NameHasNoOwner

Sometimes, but not always, simply opening a new tab is sufficient to trigger the warning to print. I have a huge spam of such warnings in my terminal.

Georges says it&apos;s a GTK bug, https://gitlab.gnome.org/GNOME/gtk/-/issues/6581</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2031147</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2024-04-25 06:27:17 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/27740</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2031153</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2024-04-25 07:00:35 -0700</bug_when>
    <thetext>New finding: the warning occurs only under flatpak, and it seems to block a11y from working (at least, orca cannot read my web views)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2031154</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2024-04-25 07:04:39 -0700</bug_when>
    <thetext>Notably, the name we&apos;re trying to own looks like this:

/org/a11y/webkit/accessible/f0d99090_bf5d_4e81_af25_9c4d1eff7583

Matthias suggests xdg-dbus-proxy might be blocking us from owning the name. We might only have permission to own names that match the app ID? (However, it&apos;s strange that we don&apos;t see a separate error message for failing to own the name!)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2031155</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2024-04-25 07:15:03 -0700</bug_when>
    <thetext>Matthias says no: there are no policies for ownership of object paths, only for bus names.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2031156</commentid>
    <comment_count>5</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2024-04-25 07:18:08 -0700</bug_when>
    <thetext>While discussing in the WebKitGTK chat room we realized that the issue seems
to pop only when running e.g. an Epiphany Flatpak. It should be easy enough
restricting connections to the a11y socket iff !WTF::isInsideFlatpak() instead
of a full revert. I am testing a patch in this direction and will submit an
alternative PR momentarily.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2031157</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2024-04-25 07:20:00 -0700</bug_when>
    <thetext>The actual bus name looks like &quot;:1.261&quot; but that seems expected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2031159</commentid>
    <comment_count>7</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2024-04-25 07:35:09 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/27741</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2031163</commentid>
    <comment_count>8</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2024-04-25 08:05:34 -0700</bug_when>
    <thetext>So poking around a bit more, I found AccessibilityAtspi::registerObject in AccessibilityAtspi.cpp is where the plug ID is actually coming from. And it&apos;s ignoring all D-Bus errors. ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2031566</commentid>
    <comment_count>9</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-04-26 12:32:09 -0700</bug_when>
    <thetext>Committed 278054@main (bfbc2e6fa7ad): &lt;https://commits.webkit.org/278054@main&gt;

Reviewed commits have been landed. Closing PR #27741 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2031590</commentid>
    <comment_count>10</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2024-04-26 14:27:02 -0700</bug_when>
    <thetext>Reopening to do the actual fix later on =)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2053015</commentid>
    <comment_count>11</comment_count>
    <who name="Georges Basile Stavracas Neto">feaneron</who>
    <bug_when>2024-08-15 08:05:27 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/32247</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2066521</commentid>
    <comment_count>12</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-10-09 08:19:01 -0700</bug_when>
    <thetext>Committed 284894@main (3672c423722b): &lt;https://commits.webkit.org/284894@main&gt;

Reviewed commits have been landed. Closing PR #32247 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>