Skip to content

flutter screenshot --type=skia can't record images in real devices #21237

Closed as not planned

Description

@liyuqian
No description provided.

Activity

  1. added
    toolAffects the "flutter" command-line tool. See also t: labels.
    engineflutter/engine related. See also e: labels.
    on Aug 30, 2018
  2. liyuqian commented on Aug 30, 2018

    @liyuqian
    ContributorAuthor
  3. chinmaygarde commented on Aug 30, 2018

    @chinmaygarde
    Contributor

    This may be an issue with images generated on another context and then subsequently imported into another. We worked around this issue for screenshots and we may have to end up doing a picture rewrite along with a device-host transfer for such images. I don't think this is a Skia issue.

  4. wanjm commented on Jun 8, 2019

    @wanjm

    when i run

    flutter screenshot --type=skia --observatory-port=44631
    

    then the console report

    This is taking longer than expected...
    

    but nothing generated

  5. liyuqian commented on Jun 10, 2019

    @liyuqian
    ContributorAuthor

    @wanjm : this seems to be a different issue. Can you please open a new issue with more details such as (1) what device/simulator did you use; (2) what flutter version did you use; (3) a minimal single-file Flutter app that can reproduce this issue ?

  6. wanjm commented on Jul 13, 2019

    @wanjm

    after upgrade to flutter 1.7.8; it works now .
    but https://debugger.skia.org/ show no picture of my custom paint ;

    1. load the skp file, it shows the last page of my custom paint which is correct;
    2. but when i play step by step. though there is DrawPath command, but show nothing ;
    3. then finally came the last command, but it shows different from the inital one;
    4. so I can't go step by step to check what my draw doing;

    skp can be downloaded from here https://hz-public-files.oss-cn-hangzhou.aliyuncs.com/temp/flutter_04.skp

    or
    链接: https://pan.baidu.com/s/1qkmbxDawV0ogB3vrJ5_c1A 提取码: ijx9 复制这段内容后打开百度网盘手机App,操作更方便哦

  7. liyuqian commented on Jul 15, 2019

    @liyuqian
    ContributorAuthor

    @wanjm : I'm sorry to hear that you're having troubles with https://debugger.skia.org. I've experienced similar issues with it too. According to my communication with the Skia team, they currently don't have enough resources to prioritize fixing its bugs. However, you're still encouraged to report the bug to http://skbug.com. Since Skia is fully open-sourced, you can also try to fix it by following https://skia.org/dev/contrib. The related source code should be in https://skia.googlesource.com/skia/+/refs/heads/master/tools/debugger/ and https://skia.googlesource.com/skia/+/refs/heads/master/tools/skiaserve/

  8. excitedhaha commented on Jan 11, 2020

    @excitedhaha

    I encountered the same problem, several months have passed, the problem should be solved ASAP.

  9. added and removed
    toolAffects the "flutter" command-line tool. See also t: labels.
    on Jan 28, 2020
  10. added
    P2Important issues not at the top of the work list
    on Dec 4, 2020
  11. github-actions commented on Mar 14, 2025

    @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.

  12. locked as resolved and limited conversation to collaborators on Mar 14, 2025
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

    P2Important issues not at the top of the work listdependency: skiaSkia team may need to help usengineflutter/engine related. See also e: labels.team-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions