Skip to content

Api "endRecording().toImage" May appear empty data in version "1.9.1+hotfix.2" #40244

Closed

Description

@a27919478

First , I paint a picture on the canvas and call "endRecording().toImage" to save the image. It is possible to return empty data.This operation may need to be repeated multiple times.
This problem does not appear in the version "v1.7.8+hotfix.4".

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel unknown, v1.9.1+hotfix.2, on Mac OS X 10.14.6 18G95, locale zh-Hans-HK)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 10.2.1)
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.37.1)
[!] Connected device
    ! No devices available

Activity

  1. BondarenkoStas commented on Sep 11, 2019

    @BondarenkoStas

    @a27919478 Please provide a small self-contained app that demonstrates the problem. You can include small examples inline if they're enclosed by backticks, or just provide a public link to a github "gist" - https://gist.github.com/.

  2. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Sep 11, 2019
  3. a27919478 commented on Sep 16, 2019

    @a27919478
    Author

    @BondarenkoStas Maybe it's my code problem, I didn't reproduce it in DEMO.

  4. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Sep 16, 2019
  5. DavidKuennen commented on Sep 20, 2019

    @DavidKuennen

    Having the same issue after updating. It seems to be random (maybe a race condition).

  6. a27919478 commented on Sep 20, 2019

    @a27919478
    Author

    @DavidKuennen Yes, I am not having this problem in "v1.7.8+hotfix.4", so I am confused too.

  7. DavidKuennen commented on Sep 20, 2019

    @DavidKuennen

    Yes and I don't seem to find any way to fix it.

  8. DavidKuennen commented on Sep 20, 2019

    @DavidKuennen

    I was able to reproduce it and create a demo, so I opened another issue for this.

  9. a27919478 commented on Sep 20, 2019

    @a27919478
    Author

    @DavidKuennen I will attention to your issue

  10. github-actions commented on Aug 28, 2021

    @github-actions

    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.

  11. locked as resolved and limited conversation to collaborators on Aug 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions