<?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>212299</bug_id>
          
          <creation_ts>2020-05-23 03:39:56 -0700</creation_ts>
          <short_desc>Text selection does not work with apple-mobile-web-app-capable set to &quot;yes&quot;</short_desc>
          <delta_ts>2020-05-25 14:40:19 -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>Text</component>
          <version>Other</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 13</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>210191</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Roman K">romanok</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>megan_gardner</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1655596</commentid>
    <comment_count>0</comment_count>
    <who name="Roman K">romanok</who>
    <bug_when>2020-05-23 03:39:56 -0700</bug_when>
    <thetext>After recent update to iOS 13.4.1
on my iPhone XR
text selection is not working on PWA with &quot;apple-mobile-web-app-capable&quot; meta set to &quot;yes&quot;.

All seems to be working on iPhone XS Max.

Minimal reproducible html:

&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;title&gt;test text selection&lt;/title&gt;
  &lt;meta name=&quot;apple-mobile-web-app-capable&quot; content=&quot;yes&quot; /&gt;
&lt;/head&gt;

&lt;body&gt;
  Try to select this text.&lt;br/&gt;
  Should be selectable but it is not on my iPhone XR.
&lt;/body&gt;
&lt;/html&gt;
```

Also available here http://chestozo-ru.1gb.ru/ios-text-case/test.html

Steps to reproduce:
- on iPhone XR (maybe on others too)
- open http://chestozo-ru.1gb.ru/ios-text-case/test.html in Safari
- click on Bookmark / Add to Home Screen
- proceed with adding bookmark on the home screen
- open added bookmark
- try to select text by long tapping on it

Expected behaviour:
text selection dialog is activated

Actual behaviour:
nothing happens :/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1655933</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-05-25 14:29:21 -0700</bug_when>
    <thetext>&lt;rdar://problem/63605447&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1655937</commentid>
    <comment_count>2</comment_count>
    <who name="Wenson Hsieh">wenson_hsieh</who>
    <bug_when>2020-05-25 14:40:19 -0700</bug_when>
    <thetext>Homescreen web apps set -[WKWebView allowsLinkPreview] to NO, which triggered the bug in &lt;https://webkit.org/b/210191&gt;.

This doesn’t reproduce for me on builds that have the fix for r259892, so I think this has been fixed in trunk WebKit.

*** This bug has been marked as a duplicate of bug 210191 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>