<?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>255472</bug_id>
          
          <creation_ts>2023-04-14 15:18:12 -0700</creation_ts>
          <short_desc>[GLIB] Use more reliable generated app-ids</short_desc>
          <delta_ts>2023-04-17 00:51: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>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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="Patrick Griffis">pgriffis</reporter>
          <assigned_to name="Adrian Perez">aperez</assigned_to>
          <cc>aperez</cc>
    
    <cc>bugs-noreply</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1948889</commentid>
    <comment_count>0</comment_count>
    <who name="Patrick Griffis">pgriffis</who>
    <bug_when>2023-04-14 15:18:12 -0700</bug_when>
    <thetext>In BubblewrapLauncher.cpp we generate a random app-id if we otherwise do not have one. For now this functions fine but there are potential downsides.

It is possible for xdg-desktop-portal to be overwhelmed with new app-ids. It shouldn&apos;t be storing anything now but we cannot assert that.
Also if any long-term permissions or state do exist in the future they will constantly be reset.

Patch incoming to resolve this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1948890</commentid>
    <comment_count>1</comment_count>
    <who name="Patrick Griffis">pgriffis</who>
    <bug_when>2023-04-14 15:20:18 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/12761</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1948920</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-04-14 19:08:12 -0700</bug_when>
    <thetext>Committed 262998@main (c5b51dbe8203): &lt;https://commits.webkit.org/262998@main&gt;

Reviewed commits have been landed. Closing PR #12761 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1949091</commentid>
    <comment_count>3</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2023-04-16 23:41:02 -0700</bug_when>
    <thetext>I think we need to take into account that FileSystem::currentExecutablePath()
can return an empty/null string value.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1949092</commentid>
    <comment_count>4</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2023-04-16 23:43:37 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/12786</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1949098</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-04-17 00:51:01 -0700</bug_when>
    <thetext>Committed 263017@main (79e653069aa1): &lt;https://commits.webkit.org/263017@main&gt;

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

    </bug>

</bugzilla>