Closed d42ohpaz closed 1 year ago
Couldn't reproduce on latest TestFlight build, possibly fixed by the new custom tab bar?
I’m using 1.0.1 (432) and the issue still exists. Are you on a dev version?
On Tue, Aug 8, 2023 at 9:53 PM Bosco Ho @.***> wrote:
Couldn't reproduce on latest TestFlight build, possibly fixed by the new custom tab bar?
— Reply to this email directly, view it on GitHub https://github.com/mlemgroup/mlem/issues/365#issuecomment-1670540240, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATJJT5ATPTDUUS23VOTF4LXULUTDANCNFSM6AAAAAA2WKVA7M . You are receiving this because you authored the thread.Message ID: @.***>
-- Do not go gentle into that good night, Rage, rage against the dying of the light.
- Dylan Thomas
I’m using 1.0.1 (432) and the issue still exists. Are you on a dev version? On Tue, Aug 8, 2023 at 9:53 PM Bosco Ho @.> wrote: Couldn't reproduce on latest TestFlight build, possibly fixed by the new custom tab bar? — Reply to this email directly, view it on GitHub <#365 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATJJT5ATPTDUUS23VOTF4LXULUTDANCNFSM6AAAAAA2WKVA7M . You are receiving this because you authored the thread.Message ID: @.> -- Do not go gentle into that good night, Rage, rage against the dying of the light. - Dylan Thomas
Tested it on 1.0.1 (432) in light and dark modes, and still couldn't get a repro, odd.
Tested it on 1.0.1 (432) in light and dark modes, and still couldn't get a repro, odd.
Does it happen if you quit the app, do a fresh launch and immediate rotate the app?
Yes.
What version of iOS are you on?
iOS 16.6
What iPhone are you using?
12 Pro Max
So for further clarity:
HTH.
PS. still occurs in latest RC1 version 1.0.1 (475).
PS. still occurs in latest RC1 version 1.0.1 (475).
Thank you, very useful info =)
Is this happening every time you rotate?
Finally reproduced this bug:
/dev
branch on commit d22c48e2d10e72285292a8272773abf5c267b3ecNotes:
FeedView
, and calls into .task(priority: .userInitiated) { await initFeed() }
[line 69], this is not expected behaviour.noPostsView()
.LoadingView
).LazyVStack
with the post tracker's items.On rotate back to portrait:
FeedView: @self, @identity, _shouldBlurNsfw, _shouldShowPostCreator, _postSize, _showReadPosts, _appState, _filtersTracker, _favoriteCommunitiesTracker, _editorTracker, _feedType, _postTracker, _communityDetails, _postSortType, _isLoading, _shouldLoad changed.
Post tracker is empty
FeedView: _isLoading changed.
Identity change shouldn't be happening.
Not able to reproduce bug running iPhone 13 mini (simulator or device) and iPhone 12 Pro:
FeedView
.Note to self:
Was able to reproduce this issue on commit 32f551cf37c878fffb35e1d2ad3bdc8009c562c8, last commit on /dev
branch that used the system TabBar:
ZStack
inside FancyTabBar
isn't(?) the issue here.We want views to re-render on rotation events, but its identity shouldn't change.
😴
Update:
NavigationStack(path: $navigationPath)
in FeedRoot
around FeedView
reduces this to just one @identity change..handleLemmyViews()
view modifier on FeedView
fixes the other @identity change.Unfortunately, nav bar translucency bug isn't caused by feed reloading on rotate.
Isolating this issue to the NavigationSplitView
, removing it "fixes" issue:
Next step:
Scratch that, this line might be the issue [FeedView: line 63]:
getting very close to fixing this... T_T
Fixed in #513
Describe the bug After rotating the phone to landscape, and rotating it back to portrait, the translucency of the navigation bar is gone.
Expected Behavior The navigation bar to retain its thin material translucency.
Actual Behavior The translucency is completely gone.
To Reproduce Rotate the phone to landscape and rotate it back to portrait.
Mlem Information: Version 1.0.0 (213)
Additional Context N/A
https://github.com/mlemgroup/mlem/assets/2528463/38f355eb-f6a8-4330-9671-27772565c837