Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line's heigh is not stable with 3x Android devices #29663

Closed
leoliupei opened this issue Mar 20, 2019 · 4 comments
Closed

Line's heigh is not stable with 3x Android devices #29663

leoliupei opened this issue Mar 20, 2019 · 4 comments
Labels
framework flutter/packages/flutter repository. See also f: labels.

Comments

@leoliupei
Copy link

leoliupei commented Mar 20, 2019

Just open the official demo in GooglePlay. You can simply find that thin line's heigh is not stable with 3x Android devices. At different places, a 1dp line's heigh range from 0px to 3px. I faced the same bug in ReactNative, seems to be a bug in Yoga.

I hope Flutter can solve is problem!!!

Official demo:
device-2019-03-14-160247

Details:
1552550610342-image

@leoliupei leoliupei changed the title Lines heigh is not stable with 3x Android devices Line's heigh is not stable with 3x Android devices Mar 20, 2019
@leoliupei
Copy link
Author

This problem has a great impact on us

@HansMuller
Copy link
Contributor

This looks like a known problem with antialiasing and mapping from logical pixels to device pixels. There's an open issue for a documentation fix: #14288

More info about the problem can be found here:
#14288 (comment)
#17084 (comment)
#15035 (comment)

@HansMuller HansMuller added the framework flutter/packages/flutter repository. See also f: labels. label Mar 20, 2019
@iapicca
Copy link
Contributor

iapicca commented Jul 27, 2020

Hi @liupeinye
I see there's an open issue addressing the case you described.
Please follow up on that issue, I'm closing the current one as a duplicate.
If you disagree, please write in the comments and I will reopen it.
Thank you

@iapicca iapicca closed this as completed Jul 27, 2020
@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
framework flutter/packages/flutter repository. See also f: labels.
Projects
None yet
Development

No branches or pull requests

3 participants