-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Preferences API not working correctly on Windows #9338
Copy link
Copy link
Closed
Labels
area-essentialsEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App InfoEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App Infofixed-in-6.0.540Look for this fix in 6.0.540 SR5!Look for this fix in 6.0.540 SR5!fixed-in-7.0.0-rc.1.6683i/regressionThis issue described a confirmed regression on a currently supported versionThis issue described a confirmed regression on a currently supported versionplatform/windowst/bugSomething isn't workingSomething isn't working
Milestone
Description
Description
Preferences.Get returns 0 instead of null when key is never set before.
Preferences.Remove returns 0 instead of being deleted.
Picker ItemSource does not show a drop-down list. Nothing is shown.
Steps to Reproduce
Just create a Preferences.Get("test", "-1") and you will get 0 instead of null.
Just create a Preferences.Set("test", "1"). Then, Preferences.Remove("test"). Do a Preferences.Get("test", "-1") and you will get 0.
Do a picker. Populate it's ItemSource with a list. Nothing shows up when you click on it.
All these issues work well on Android platform.
Version with bug
6.0.486 (current)
Last version that worked well
6.0.400
Affected platforms
Windows
Affected platform versions
Windows SDK
Did you find any workaround?
NO.
Relevant log output
No log output.Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-essentialsEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App InfoEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App Infofixed-in-6.0.540Look for this fix in 6.0.540 SR5!Look for this fix in 6.0.540 SR5!fixed-in-7.0.0-rc.1.6683i/regressionThis issue described a confirmed regression on a currently supported versionThis issue described a confirmed regression on a currently supported versionplatform/windowst/bugSomething isn't workingSomething isn't working