| Summary: | REGRESSION (iOS 16.4): Adding images for upload is 2.8x slower than before | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jesper Bendtsen <jesperbendtsen83> |
| Component: | WebKit Misc. | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED MOVED | ||
| Severity: | Critical | CC: | ahmad.saleem792, akeerthi, georaldc, sabouhallawa, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 16 | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 16 | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=251328 | ||
|
Description
Jesper Bendtsen
2023-03-28 13:50:03 PDT
works fine in iOS 16.3.1 Thank you for the report! Could you please provide a test case? This may depend on the exact accept attribute value, as one theory that comes to mind is format conversion taking the time. Also, what are the camera settings in both cases, are the photos JPEG or HEIC? I can give you access to the test system, actually you already have access with safaribrowsertest@hotmail.com from another bug report? I can guide you guys to the upload area, if its okay? File input accept attribute: image/* (But is not working, another bug 254604) Both iPad's: Most compatible and JPEG Hello again! Yeah, we should have access to the test system from https://bugs.webkit.org/show_bug.cgi?id=249967. Any update on this? Please help my users are complaining... The same thing happens in iOS 16.5 In iOS 16.3.1 adding 60 images in a file input takes about one second, in iOS 16.4 and above the same thing takes over a minute!? Public test site, scroll to "Using file inputs", add about 60 images: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#using_file_inputs (In reply to Jesper Bendtsen from comment #8) > The same thing happens in iOS 16.5 > > In iOS 16.3.1 adding 60 images in a file input takes about one second, in > iOS 16.4 and above the same thing takes over a minute!? > > Public test site, scroll to "Using file inputs", add about 60 images: > https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/ > file#using_file_inputs Been noticing this same behavior as well where there is a delay after selecting multiple images that seems to grow the more images you select. Just curious, but have you also been experiencing this issue I brought up here? https://bugs.webkit.org/show_bug.cgi?id=256711 Ever since 16.4.1, our users have been randomly encountering this issue now. Just happened to see your bug post as I was searching for other closely related issues (that dealt with browser uploads on IOS 16.4 and newer) (In reply to Jesper Bendtsen from comment #7) > Any update on this? Please help my users are complaining... Apologies for the late response. This is something we are looking into. The issue is fallout from our adoption of a new system photo picker in iOS 16.4. However, we have identified ways that we can improve the performance in WebKit. Still extremely slow in iOS 17, any update? After additional investigation, it appears that this issue is underneath WebKit. I don't have any other updates at this time. Let's mark this as RESOLVED/MOVED for clarity. Please file any additional reports via https://feedbackassistant.apple.com for Apple engineers looking into this to have the most visibility into your feedback. Are there any plans to make this better? We have a web app where our users often take 60-70 photos for upload. It takes approx. one minute before they return to the web app after selecting images from the iOS image gallery and uploading can begin. Users think iOS has crashed, no loader is shown. Can't you go back to the old photo API before iOS 16.4, back then it was fast, there was no delay after selecting 60-70 and the upload started immediately in iOS Safari. Why is it so super slow now in iOS Safari, please explain? Doesn't feel production ready... |