Skip to content

ListTile title length is super short when trailing is a Row, in some version >0.3.1 #19657

@ArcticZeroo

Description

@ArcticZeroo

My app uses ListTile elements to display "food items" for a menu. In v0.3.1 this works perfectly, and is the correct length.

However, in the most recent version (aka master/v0.5.7) this does not work well, and only a letter or two makes it per line of the title, meaning each ListTile title is hundreds of pixels tall and only a few pixels wide. I'm unsure what causes this.

It's not my code, because I've bisected to literally the commit where I originally added it, and it works fine on v0.3.1 (from April), but not on the most recent version of master. I would bisect flutter if I had the time right now, but unfortunately I do not.

You can see this issue in part under "Dolce" here: https://frozor.io/up/oVsgEgrW.png . This occurs for every single venue and menu item, not just Dolce or the "hard scoop ice cream".

As I said, it does not exist on v0.3.1, and looks more like https://frozor.io/up/LXM4Ur5i.png

Steps to Reproduce

I'm not 100% sure what the exact steps are other than running my app. I know that's not supremely helpful, but if anyone has any kind of idea on where I should even start tracking it down, I'd be happy to try to reproduce.

Relevant pieces from my app: https://github.com/ArcticZeroo/msu_helper/blob/master/lib/pages/dining_hall/dining_hall_page.dart#L285 and https://github.com/ArcticZeroo/msu_helper/blob/master/lib/widgets/dining_hall/menu/venue_display.dart#L72

Logs

The verbose output of the logs is (likely) not helpful; The log text "The dining hall is open for this meal on Monday" is printed at the same time the issue would print additional information if the engine realized something was up, because that's printed as part of the menu loading process.

https://gist.github.com/ArcticZeroo/c5f24d53ccf813c3e72e2dcf65a8e383

Flutter analysis is just unused imports; https://gist.github.com/ArcticZeroo/84844cd26ed574c8fd73426373bd3317

And flutter doctor is also unfortunately unhelpful: https://gist.github.com/ArcticZeroo/ae5819bdbb04f5471117124e43349916

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: regressionIt was better in the past than it is nowf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.waiting for customer responseThe Flutter team cannot make further progress on this issue until the original reporter responds

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions