Skip to content

Gallery, Cards (travel stream): reproducable stutter when scrolling up #5007

Closed

Description

@sethladd

On my iPod Touch:

  • open gallery
  • tap Cards
  • pull down as far as you can go
  • then, pull up as far as you can go, such that the top card is scrolled off the display
  • let go

Expected:

  • cards gracefully scroll/animate back down into position

Actual:

  • missed frames when (apparently, from what I can tell) the top card enters the display again

The spike below is when the top card animates back into view:

img_0009

Activity

  1. added
    c: performanceRelates to speed or footprint issues (see "perf:" labels)
    customer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.
    on Jul 22, 2016
  2. added this to the August milestone on Jul 22, 2016
  3. abarth commented on Jul 25, 2016

    @abarth
    Contributor

    We looked at this issue a bit. All the time is going into image uploads. Some ideas:

    • Make sure we're using the best texture format (to avoid the driver having to swizzle the format on upload)
    • Cap the size of decode images to the screen size
    • Upload image data to the GPU on the image decoding thread rather than deferring to raster time
  4. sethladd commented on Jul 25, 2016

    @sethladd
    ContributorAuthor

    Thanks for the analysis!

  5. eseidelGoogle commented on Jul 26, 2016

    @eseidelGoogle
    Contributor

    My understanding is that this is related/same as #3805.

  6. abarth commented on Aug 2, 2016

    @abarth
    Contributor

    This is fixed by async image uploads.

  7. added a commit that references this issue on Apr 17, 2018
  8. added a commit that references this issue on Apr 17, 2018
  9. added a commit that references this issue on May 14, 2018
  10. github-actions commented on Sep 6, 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 Sep 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

c: performanceRelates to speed or footprint issues (see "perf:" labels)customer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions