Skip to content

Shadows around cards are intense in latest build of Gallery/Shrine #8929

Closed

Description

@sethladd

Nexus 5, from today's build:

screenshot_20170321-102842

Pixel, from build on Play Store:

screenshot_20170321-102907

Activity

  1. added
    customer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.
    on Mar 21, 2017
  2. sethladd commented on Mar 21, 2017

    @sethladd
    ContributorAuthor

    Not sure if this was intentional?

    cc @jason-simmons

  3. sethladd commented on Mar 21, 2017

    @sethladd
    ContributorAuthor

    Looks like it's also in buttons, so maybe a systemic issue.

    New build:

    screenshot_20170321-103346

    Version in Play Store:

    screenshot_20170321-104210

  4. added
    a: fidelityMatching the OEM platforms better
    c: regressionIt was better in the past than it is now
    on Mar 21, 2017
  5. abarth commented on Mar 21, 2017

    @abarth
    Contributor

    Probably from the new shadow drawing codepath. /cc @jason-simmons

  6. HansMuller commented on Mar 21, 2017

    @HansMuller
    Contributor

    Two of the problems here:

    • The card shadows aren't "drop" shadows, they're not offset towards the bottom right
    • The card shadows look like they're being clipped to tightly. Look at the bottom right corner of the top left shrine card.
  7. HansMuller commented on Mar 22, 2017

    @HansMuller
    Contributor

    I hacked the cards demo to look more like the sample image from the elevations and shadows section of the Material spec: https://material.io/guidelines/material-design/elevation-shadows.html#elevation-shadows-shadows. As you can see, we're close.

    elevation = 2, material design spec

    spec_elevation2

    elevation = 2, flutter

    flutter_elevation2

    elevation = 8, material design spec

    spec_elevation8

    elevation = 8, flutter

    flutter_elevation8

  8. chinmaygarde commented on Mar 24, 2017

    @chinmaygarde
    Contributor
  9. sethladd commented on Mar 27, 2017

    @sethladd
    ContributorAuthor

    Doesn't look like we've matched the shadows to the spec yet. Just made a build:

    screenshot_20170327-085829

    Reference point (welcome screen from Keep):

    screenshot_20170327-090118

  10. eseidelGoogle commented on Mar 27, 2017

    @eseidelGoogle
    Contributor

    I believe @jason-simmons is working on this. Marking M2, this will block customers.

  11. eseidelGoogle commented on Mar 28, 2017

    @eseidelGoogle
    Contributor

    Adding Skia label for @chinmaygarde's tracking.

  12. sethladd commented on Mar 29, 2017

    @sethladd
    ContributorAuthor

    Once this lands, I'll be happy to go through the Gallery again to see if we can ship an update.

  13. sethladd commented on Mar 29, 2017

    @sethladd
    ContributorAuthor

    See also shadows around FAB: #9083

  14. eseidelGoogle commented on Mar 30, 2017

    @eseidelGoogle
    Contributor

    Discussed with @abarth and @sethladd this morning. The plan is to work with Skia and design over the next week to make sure we can get these new shadows to look at least as nice as the old ones. If not, we'll turn back on the old shadows and continue working.

  15. modified the milestones: , 2: Make Early Adopters happy on Apr 11, 2017
  16. eseidelGoogle commented on Apr 11, 2017

    @eseidelGoogle
    Contributor

    We've disabled physical model layer until Skia provides us updated config information, this can be punted to M3.

  17. abarth commented on May 4, 2017

    @abarth
    Contributor

    Physical model is back on with less intensity.

  18. github-actions commented on Sep 5, 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.

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

Metadata

Metadata

Assignees

Labels

a: fidelityMatching the OEM platforms betterc: regressionIt was better in the past than it is nowcustomer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.dependency: skiaSkia team may need to help us

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions