Skip to content

Conversation

@huynhsontung
Copy link
Owner

#676 introduced a regression where the current item is first changed to null when changing playlists. As a result, the current item can change from item1 to null to item2, instead of going from item1 directly to item2. This extra value change in rapid succession causes some UI logics to break.

setting current item to null on playlist clear result to unnecessary updates to current item
currentItem = item1 -> null -> item2
rapid updates like this breaks UI transitions
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. bug Something isn't working labels Oct 18, 2025
@United600
Copy link
Collaborator

United600 commented Oct 18, 2025

Found another way to trigger the issue, and this time it wasn't a regression.

Gravacao.2025-10-18.143358.mp4

VideoView opacity should only be set by ContentStates group
@huynhsontung
Copy link
Owner Author

Found another way to trigger the issue, and this time it wasn't a regression.

73312b9 should fix it now

@United600
Copy link
Collaborator

73312b9 should fix it now

I've never seen a stranger solution than this one 😂

@huynhsontung
Copy link
Owner Author

It's a wonderful world of XAML 🌈

@United600
Copy link
Collaborator

It's a wonderful world of XAML 🌈

😩 I won't stand for XAML slander!

@huynhsontung huynhsontung merged commit e61b3a2 into main Oct 27, 2025
4 checks passed
@huynhsontung huynhsontung deleted the fix-rapid-current-item-change branch October 27, 2025 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants