Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[RepaintBoundary] Cannot take screenshot with platform views #107308

Closed
AlexV525 opened this issue Jul 8, 2022 · 3 comments
Closed

[RepaintBoundary] Cannot take screenshot with platform views #107308

AlexV525 opened this issue Jul 8, 2022 · 3 comments
Labels
r: duplicate Issue is closed as a duplicate of an existing issue

Comments

@AlexV525
Copy link
Member

AlexV525 commented Jul 8, 2022

Steps to Reproduce

  1. Clone the edited example of the camera plugin: https://github.com/AlexV525/flutter-plugins/tree/take-screenshot
  2. Select an available camera and wait until it initialized.
  3. Tap the "Screenshot" button, then the screenshot will be displayed in a new dialog.
Displays Screenshot
image image

Expected results: The platform view got captured in the screenshot.

Actual results: The platform view is black(blank) in the screenshot.

flutter doctor -v
[✓] Flutter (Channel stable, 3.0.4, on macOS 12.4 21F79 darwin-x64, locale zh-Hans-CN)
    • Flutter version 3.0.4 at /Users/alex/Documents/flutter-stable
    • Upstream repository https://github.com/flutter/flutter
    • Framework revision 85684f9300 (8 days ago), 2022-06-30 13:22:47 -0700
    • Engine revision 6ba2af10bb
    • Dart version 2.17.5
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Volumes/T5/android-sdk
    • Platform android-33, build-tools 32.0.0
    • ANDROID_HOME = /Volumes/T5/android-sdk
    • ANDROID_SDK_ROOT = /Volumes/T5/android-sdk
    • Java binary at: /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9)
    • All Android licenses accepted.

[✓] Android Studio (version 2021.2)
    • Android Studio at /Users/alex/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8609683/Android Studio.app/Contents

[✓] Connected device (3 available)
    • ONEPLUS A6010 (mobile) • f8e67ce3 • android-arm64  • Android 11 (API 30)
@AlexV525
Copy link
Member Author

AlexV525 commented Jul 8, 2022

This is the same issue as #25306, but it's not solved. Instead, #83856 turn this into a test issue, then #97853 turn this into a test coverage issue.

@huycozy huycozy added the in triage Presently being triaged by the triage team label Jul 11, 2022
@huycozy
Copy link
Member

huycozy commented Jul 11, 2022

Hi @AlexV525, thanks for filing the issue.
I see there's an open issue addressing the case you described #102866. This issue is opened recently.
Closing as a duplication, so please follow up on it for further updates.

@huycozy huycozy closed this as not planned Won't fix, can't repro, duplicate, stale Jul 11, 2022
@huycozy huycozy added r: duplicate Issue is closed as a duplicate of an existing issue and removed in triage Presently being triaged by the triage team labels Jul 11, 2022
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
r: duplicate Issue is closed as a duplicate of an existing issue
Projects
None yet
Development

No branches or pull requests

2 participants