Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default value of a Preferences.Get returns a null value in Windows #9306

Closed
geertgeerits opened this issue Aug 10, 2022 · 5 comments
Closed
Labels
area-essentials Essentials: Device, Display, Connectivity, Secure Storage, Sensors, App Info platform/windows 🪟 s/duplicate 2️⃣ This issue or pull request already exists t/bug Something isn't working
Milestone

Comments

@geertgeerits
Copy link

Description

Default value of a Preferences.Get returns a NULL value in Windows, works correct in Android.
Not tested on Apple products.

Steps to Reproduce

  1. Open the attached file
  2. Run it in Android and you will see the text: Preference OK
  3. Run it in Windows and the text will be: Preference NOT OK

MauiAppTestPreferencesGet.zip

Version with bug

6.0.486 (current)

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

Windows 11

Did you find any workaround?

No

Relevant log output

No response

@geertgeerits geertgeerits added the t/bug Something isn't working label Aug 10, 2022
@jfversluis
Copy link
Member

Seems a duplicate/related to #9338 can I please ask you to upload the reproduction to a GitHub repository instead of adding it here as a zip file? Thanks!

@jfversluis jfversluis added area-essentials Essentials: Device, Display, Connectivity, Secure Storage, Sensors, App Info platform/windows 🪟 s/needs-repro Attach a solution or code which reproduces the issue labels Aug 11, 2022
@ghost
Copy link

ghost commented Aug 11, 2022

Hi @geertgeerits. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@geertgeerits
Copy link
Author

Hi, here is the link to the GitHub repository:
https://github.com/geertgeerits/MauiAppTestPreferencesGet

@ghost ghost added s/needs-attention Issue has more information and needs another look and removed s/needs-repro Attach a solution or code which reproduces the issue labels Aug 11, 2022
@jfversluis jfversluis removed the s/needs-attention Issue has more information and needs another look label Aug 11, 2022
@jfversluis jfversluis added this to the Backlog milestone Aug 11, 2022
@ghost
Copy link

ghost commented Aug 11, 2022

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

@mattleibow
Copy link
Member

mattleibow commented Aug 11, 2022

Thanks for the repro! I managed to see that it is a duplicate.

Duplicate of #9338

@mattleibow mattleibow closed this as not planned Won't fix, can't repro, duplicate, stale Aug 11, 2022
@mattleibow mattleibow added the s/duplicate 2️⃣ This issue or pull request already exists label Aug 11, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Sep 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-essentials Essentials: Device, Display, Connectivity, Secure Storage, Sensors, App Info platform/windows 🪟 s/duplicate 2️⃣ This issue or pull request already exists t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants