You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[iOS][Regression] SafeAreaPaddings are applied by default #16503
difficulty/tbdCategorizes an issue for which the difficulty level needs to be defined.kind/bugSomething isn't workingtriage/untriagedIndicates an issue requires triaging or verification
As you can see, the page's grey background reaches beyond the status bar and the dock. This behaviour is intended (at least this was the default up until now).
This is the same view with Uno.WinUI 5.2.94:
The page is enclosed by the status bar and the dock. To me it looks a lot like as id SafeAreaPaddings are enabled.
Expected behavior
The page should reach beyond the status bar and the dock and dictate its background.
How to reproduce it (as minimally and precisely as possible)
In the styles.xml in the Android folder. Those usually shouldn't default to true in Uno apps. Would you be able to attach your reproduction apps as zips here? I can take a look and see what's causing this
Were these two apps just created from the Uno templates and nothing else was changed except the Uno version?
Oh wait I just realized this is marked as iOS, sorry I thought those screenshots looked like an android device. Ok will investigate but would still be good to have those sample apps attached
@kazo0 I just tried this on the Android simulator. Here status bar and dock always behave as in image 2 from above, at least in 5.1.104 and several earlier releases.
@marwalsch Also, if you would be able to post a repro project where this is happening on iOS, that would be super helpful! I Can't seem to get this to reproduce on my side. Is this happening on a physical iOS device or on the simulator as well?
@kazo0 Apologies for the delay, had plenty of interferences lately.
@marwalsch does the page have any content in it behind the green areas?
Yes, the blackening roughly matches the original content. It shows that content is compressed along the y-Axis if you look at the space between blackened space and end of the grey background (if you look very closely). The repro makes this clearer
@marwalsch Also, if you would be able to post a repro project where this is happening on iOS, that would be super helpful! I Can't seem to get this to reproduce on my side. Is this happening on a physical iOS device or on the simulator as well?
Is there a way to send the repro over a private channel? This way I could just strip down the affected project rather than rebuilding a new repro to avoid leakage of anything meant for the public.
I don't recall having tested this on the Simulator. It definitely is an issue on a physical iPhone 12 and SE.
I think maybe you could push a sample app as a private repo on your GitHub and perhaps give me access to that repo only?
But first, there's a chance this might have been fixed with the latest dev builds of Uno, so if you can try using version 5.3.0-dev.1256 or later and let me know?
difficulty/tbdCategorizes an issue for which the difficulty level needs to be defined.kind/bugSomething isn't workingtriage/untriagedIndicates an issue requires triaging or verification
Activity
jeromelaban commentedon Apr 29, 2024
@kazo0 does this look familiar?
kazo0 commentedon Apr 29, 2024
@marwalsch this behaviour is typically driven by:
In the
styles.xmlin the Android folder. Those usually shouldn't default totruein Uno apps. Would you be able to attach your reproduction apps as zips here? I can take a look and see what's causing thisWere these two apps just created from the Uno templates and nothing else was changed except the Uno version?
kazo0 commentedon Apr 29, 2024
Oh wait I just realized this is marked as iOS, sorry I thought those screenshots looked like an android device. Ok will investigate but would still be good to have those sample apps attached
marwalsch commentedon Apr 29, 2024
@kazo0 I just tried this on the Android simulator. Here status bar and dock always behave as in image 2 from above, at least in 5.1.104 and several earlier releases.
I will try to break this down in a repro.
kazo0 commentedon May 14, 2024
@marwalsch does the page have any content in it behind the green areas?
kazo0 commentedon May 14, 2024
@marwalsch Also, if you would be able to post a repro project where this is happening on iOS, that would be super helpful! I Can't seem to get this to reproduce on my side. Is this happening on a physical iOS device or on the simulator as well?
marwalsch commentedon May 22, 2024
@kazo0 Apologies for the delay, had plenty of interferences lately.
Yes, the blackening roughly matches the original content. It shows that content is compressed along the y-Axis if you look at the space between blackened space and end of the grey background (if you look very closely). The repro makes this clearer
Is there a way to send the repro over a private channel? This way I could just strip down the affected project rather than rebuilding a new repro to avoid leakage of anything meant for the public.
I don't recall having tested this on the Simulator. It definitely is an issue on a physical iPhone 12 and SE.
kazo0 commentedon May 22, 2024
@marwalsch No worries!
I think maybe you could push a sample app as a private repo on your GitHub and perhaps give me access to that repo only?
But first, there's a chance this might have been fixed with the latest dev builds of Uno, so if you can try using version 5.3.0-dev.1256 or later and let me know?
marwalsch commentedon May 28, 2024
@kazo0 The latest pre-releases indeed fixed this, I just tested it on the same devices as above.
Thanks a lot!
kazo0 commentedon May 28, 2024
@Youssef1313 another one fixed by the lifecycle PR. Same as #16715