You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Alan Neveu (JIRA)" <ji...@apache.org> on 2015/10/04 18:03:26 UTC

[jira] [Commented] (CB-9720) CameraCaptureTask.Show() Always Returns Canceled on Windows 10 Mobile build 10536

    [ https://issues.apache.org/jira/browse/CB-9720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14942692#comment-14942692 ] 

Alan Neveu commented on CB-9720:
--------------------------------

Not sure if this matters, but when I reported this bug my Windows 10 Mobile build 10536 was running Windows Camera version 2015.1063.11.0. Since then there has been an update shipped of the Windows Camera app. Now I am running version 2015.1064.11.0. Unfortunately, this version does not function any differently. I was hopeful that Microsoft could address this bug simply by shipping an update to the Windows Camera app, and that may be the case, I don't know. But at any rate the recent update to that app did not resolve this issue, nor change the behavior in any way.

> CameraCaptureTask.Show() Always Returns Canceled on Windows 10 Mobile build 10536
> ---------------------------------------------------------------------------------
>
>                 Key: CB-9720
>                 URL: https://issues.apache.org/jira/browse/CB-9720
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera, Windows
>    Affects Versions: 3.5.0
>         Environment: Windows 10 Mobile pre-release build 10536
>            Reporter: Alan Neveu
>              Labels: MicrosoftSupport, beta
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> I have been using Windows 10 Mobile and things were working great with pre-release versions prior to 10536. But with build 10536 we find this bad behavior. The issue definitely seems to be due to a bug in Microsoft's code, not in PhoneGap/Cordova. Here is the repro:
> - Write some code that calls getPicture in javascript
> - Set a breakpoint in Camera.cs, line 247, in the public void onTaskCompleted callback
> - Run the code while attached to a Windows 10 Mobile device running 10536
> - When the camera appears on the phone take a photo and tap on the checkmark icon, which is supposed to mean "Use" or "accept" as opposed to "retake"
> - When the breakpoint hits, check out the value of e.TaskResult and notice that it is set to Canceled. Also check out other properties such as e.OriginalFileName and find that they are not set and are empty strings or null values.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org