maui icon indicating copy to clipboard operation
maui copied to clipboard

Updating to .NET MAUI 6.0.486 clears Preferences to Type Defaults on WinUI

Open dg2k opened this issue 2 years ago • 1 comments

Description

As described in the title, and more details here.

This is also confirmed (in same link provided) by a Microsoft employee who answered a question relating to the issue.

Steps to Reproduce

No coding steps are relevant here for reproduction.

Simply update to Maui 6.0.486 with Visual Studio ver 17.3.0 Preview 6.0.

No similar issues with version 6.0.419 and previous.

Version with bug

6.0.408 (current)

Last version that worked well

6.0.400

Affected platforms

Windows

Affected platform versions

Windows 10 SDK

Did you find any workaround?

Yes, but would be messy. The issue is that of settings supposed to be persisted being not persisted which can have serious consequences.

This may also affect?? SecureStorage secrets based on Preferences?? but I haven't checked this one.

Relevant log output

No response

dg2k avatar Aug 05 '22 05:08 dg2k

https://github.com/dotnet/maui/commit/8bbb7cb9f0f12e9c0899193a9cc220e7a4d48afb

image

I'm guessing this commit introduced the problem.

u1-kino avatar Aug 05 '22 09:08 u1-kino

Duplicate of #9338 and fixed with #9361

jfversluis avatar Aug 12 '22 09:08 jfversluis