8000 [camera] Orientation issues for the camera and the taken file · Issue #89216 · flutter/flutter · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[camera] Orientation issues for the camera and the taken file #89216
Open
@AlexV525

Description

@AlexV525

After 0.9.0 there are a lot of orientation issues have been solved, but we still got a few.

Steps to Reproduce

  1. Run the example of the camera plugin.
  2. Lock the Auto rotate for the device.
  3. Take a new photo.
  4. (Optional) Run the example of the wechat_camera_picker plugin which is more clear about what happened.

Issues

  • Unable to get the orientation during the rotation if the Auto rotate is locked in the system.
  • Unable to get the orientation of the captured file.
  • Preview is rotated with orientations even if the device is not support for those orientations on iOS.

🔘 Unable to get the orientation during the rotation if the Auto rotate is locked in the system.

We don't have the orientation stream exposed at present. _deviceOrientationSubscription is a private StreamSubscription.

🔘 Unable to get the orientation during the rotation if the Auto rotate is locked in the system.

Below screenshots are all taken with landscape:

Capture with rotated Capture with rotated Preview after captured
image image image

🔘 Preview is rotated with orientations even if the device is not support for those orientations on iOS

Orientations allowed by default are [portraitUp, landscapeLeft, landscapeRight]. When we trying to make the same behavior of rotations, iOS's preview was rotated even if the orientation (here is portraitDown) is not supported to rotated to. See the video for how they behave differently.

FD063897865DD91E8103EDC1B51949F9.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listfound in release: 2.6Found to occur in 2.6has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: cameraThe camera pluginpackageflutter/packages repository. See also p: labels.platform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

    Type

    No type

    Projects

    Status

    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0