Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

CameraCaptureUI with AllowCropping does not show Cropping Window and stucked on Capture windows. #2469

Open
ThinhDb opened this issue Jun 5, 2024 · 0 comments
Assignees
Labels
Pri3 Topic is in the bottom 50% of page views for the repo or was not created via Feedback control.

Comments

@ThinhDb
Copy link

ThinhDb commented Jun 5, 2024

When I call the following code with AllowCropping set to true:

var dialog = new CameraCaptureUI();
dialog.PhotoSettings.MaxResolution = CameraCaptureUIMaxPhotoResolution.HighestAvailable;
dialog.PhotoSettings.AllowCropping = true;
dialog.PhotoSettings.Format = CameraCaptureUIPhotoFormat.Jpeg;

var file = await dialog.CaptureFileAsync(CameraCaptureUIMode.Photo);

The camera window shows up, but after clicking on the take photo button, nothing happens, and the code is still stuck waiting for CaptureFileAsync() until I manually close the Capture windows.

Expected:

Cropping windows shows after I clicked on Take Photo button and allow me to Save the image

Actual:

Nothing happens after clicked on Take Photo button.

@issues-automation issues-automation bot added the Pri3 Topic is in the bottom 50% of page views for the repo or was not created via Feedback control. label Jun 5, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Pri3 Topic is in the bottom 50% of page views for the repo or was not created via Feedback control.
Projects
None yet
Development

No branches or pull requests

2 participants