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

WinUI AutoSizeInitializesCorrectly test is failing #4399

Closed
PureWeen opened this issue Jan 29, 2022 · 2 comments
Closed

WinUI AutoSizeInitializesCorrectly test is failing #4399

PureWeen opened this issue Jan 29, 2022 · 2 comments
Labels
area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter platform/windows 🪟 s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working

Comments

@PureWeen
Copy link
Member

Description

Run WinUI tests and you will see that the Editor (TextChanges) test is failing.

It looks like if you add the layout to the actual window then everything starts measuring out correctly and the test passes

Steps to Reproduce

Run WinUI tests and you will see that the Editor (TextChanges) test is failing.

Version with bug

Preview 13

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

WinUI

Did you find any workaround?

No response

Relevant log output

No response

@PureWeen PureWeen added the t/bug Something isn't working label Jan 29, 2022
@Eilon Eilon added the area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter label Feb 10, 2022
@kristinx0211
Copy link

kristinx0211 commented Mar 1, 2022

Editor (TextChanges) for me here just fine.
https://user-images.githubusercontent.com/99457000/156107535-97ad9158-a963-4e23-a1a9-f5b7f52e7579.mp4
code snippet:
<Grid> <Editor Text="hi" BackgroundColor="Green" AutoSize="TextChanges" ></Editor> </Grid>
@PureWeen Is that what you want?

@kristinx0211 kristinx0211 added the s/verified Verified / Reproducible Issue ready for Engineering Triage label Mar 1, 2022
@PureWeen
Copy link
Member Author

PureWeen commented Mar 1, 2022

#4970

@PureWeen PureWeen closed this as completed Mar 1, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Mar 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter platform/windows 🪟 s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants