[Webkit-unassigned] [Bug 239898] New: Status bar loses its color after PDF download

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 29 05:49:59 PDT 2022


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

            Bug ID: 239898
           Summary: Status bar loses its color after PDF download
           Product: WebKit
           Version: Safari 15
          Hardware: iPhone / iPad
                OS: iOS 15
            Status: NEW
          Severity: Major
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jesperbendtsen83 at gmail.com

Created attachment 458584

  --> https://bugs.webkit.org/attachment.cgi?id=458584&action=review

Expected and not expected after downloading PDF

After update to iOS 15.4.x, my PWA users "added to home screen" suddenly got white status bar after downloading PDF, see attachments. Please help?

Clip from index.html
<link rel="manifest" href="manifest.webmanifest">
<meta name="theme-color" content="#69d01b">
<meta name="theme-color" content="#69d01b" media="(prefers-color-scheme: light)">
<meta name="theme-color" content="#69d01b" media="(prefers-color-scheme: dark)">
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">

<style>
  body {
    background - color: #69d01b!important;
  }
</style>

Clip from manifest.webmanifest:
"theme_color": "#69d01b",
"background_color": "#69d01b",
"display": "standalone",

Clip from download script:
import { saveAs } from 'file-saver';

saveAs(
    new Blob([bytes], { type: 'application/pdf' }),
    `${filename} _Preview.pdf`
);

-- 
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/20220429/8e5916dc/attachment.htm>


More information about the webkit-unassigned mailing list