New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 635821 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Android Webview get image via Camara fail

Reported by hjchangl...@gmail.com, Aug 9 2016

Issue description

Example URL:

Steps to reproduce the problem:
It's a community site with post picture feature,
(https://bbs.htc.com/cn/hero.php)
An Android app which use WebView to open this site.

1. Open the app (com.htc.guide) and WebView
2. New a post in community site and add picture via camera
3. (Camera app in phone will be call) Take a photo by camera
4. (*) Click V to submit the photo
5. Site show error message about "not image to upload"

(*) If user wait about 10 sec before click V, it will submit success

What is the expected behavior?

What went wrong?
Because waiting a moment can avoid this issue,
It seem cause by user try to upload a image that is still process,
But if user use Browser app to do the same action,
This issue won't happen.

I have no idea why Browser work but WebView don't,
Is there any different between their way to load image via camera?

Did this work before? N/A 

Chrome version: Android System WebView 46.0.2490.76  Channel: dev
OS Version: 6.0.1
Flash Version: N/A
 
Log.zip
760 KB Download
Components: -Internals>Network UI>Browser>Mobile Blink>Forms>File Mobile>WebView
Rerouting. It looks like WebView is returning out of the file upload before the Camera app finishes flushing the image to the filesystem.

Comment 2 by torne@chromium.org, Aug 10 2016

Does this still happen with a current version of WebView? 46 is very old, the current is 52.

Comment 3 by ti...@chromium.org, Aug 10 2016

Labels: Needs-Feedback
hjchangliao@,

Thank you for reporting the bug. What device did you use?
Could you point me to an English site that exhibit the same problem, or may I ask you to make a video of what you were doing (record the device screen), e.g. with
the command "adb shell screenrecord <file>" ?
Update WebView version to 52.0.2743.98,
but it still happen.

Sorry for this site only have Chinese,
Here is the video:

0'04 take a photo and click V immediately
0'06 site show error message (mean "please select a image")
0'12~0'23 take a photo and wait 10sec
0'24 click V, site accept and start upload image

635821.mp4
1.2 MB View Download

Comment 5 by tkent@chromium.org, Aug 16 2016

Components: -Blink>Forms>File
RemovingBlink>Forms>File because this doesn't look a Blink bug.

Project Member

Comment 6 by sheriffbot@chromium.org, Aug 24 2016

Labels: -Needs-Feedback Needs-Review
Owner: ti...@chromium.org
Thank you for providing more feedback. Adding requester "timav@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 7 by cda...@chromium.org, Mar 13 2017

Labels: -Needs-Review
Cleaning up "Needs-Review" label as we are not using this label for triage anymore. Ref bug for this cleanup 684919
Project Member

Comment 8 by sheriffbot@chromium.org, Sep 4 2017

Labels: Hotlist-Recharge-BouncingOwner
Owner: ----
Status: Untriaged (was: Unconfirmed)
The assigned owner "timav@chromium.org" is not able to receive e-mails, please re-triage.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Pri-2 Pri-3
hjchangliao@ does this still occur on WebView 61?
Labels: Needs-Feedback
Cc: msrchandra@chromium.org
@hjchangliao -- Could you please respond to Comment# 9 and provide an update on the issue which would help us to triage further.
Thanks in Advance.
Cc: rbasuvula@chromium.org
Labels: Needs-triage-Mobile Triaged-Mobile
Status: WontFix (was: Untriaged)
Mark it as WontFix since there are no feedback from user more than 25 days.Feel free to raise a new issue if still facing.

Thank You!

Sign in to add a comment