You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Most entries in the FileOpenPicker file type list are blank #5837
Although it is not displayed, does the Filtering function work?> > We really appreciate for any information to help investigation!
Yes, filtering works as expected even though the descripts are not shown
Thanks lhak , It looks like the content inside brackets might not be rendering properly in your app. Could you try one more thing? Please open any file in Notepad, then go to "File > Save As.", in the dialog opened, do you see the wildcards displayed within the brackets in the file type filters?
Yes, all other applications (and using the pickers from the Windows.Storage.Pickers namespace) work fine. I also tested on numerous machines and see the same issue on all of them.
Hi lhak , Thanks for sharing this issue. I wasn’t able to reproduce it on my machine, but I’ll set up a VM to test further and see if we can identify what’s happening. I’ll post an update here.
The code you found aims to hide the label part before parentheses, meanwhile, the content in parentheses should display the filter, as shown in the screenshot below.
Because the one in parentheses is the actual active part, we hid the part before it to avoid showing duplicate content. However, it seems the parentheses are not displayed on your side, so I am wondering if hiding the first part was a good choice.
To quickly unblock your progress,
the FileOpenPicker.FileTypeChoices in 2.0-experimental2 can be a mitigation, it allows us to customize both the label and filters.
Activity
DinahK-2SO commentedon Oct 10, 2025
Hi lhak, Thank you for reporting this issue! To help us better understand and assist, could you please provide the following details:
We really appreciate for any information to help investigation!
lhak commentedon Oct 12, 2025
I created a c# winui project (packaged) with Visual Studio 2022 and used the c# code from the documentation
german or english. Both show the same issue.
The file where I added the code (MainWindow.xaml.cs) was created by the appsdk template. Format is "Windows 1252".
Yes, filtering works as expected even though the descripts are not shown
DinahK-2SO commentedon Oct 13, 2025
Thanks lhak , It looks like the content inside brackets might not be rendering properly in your app. Could you try one more thing? Please open any file in Notepad, then go to "File > Save As.", in the dialog opened, do you see the wildcards displayed within the brackets in the file type filters?
lhak commentedon Oct 13, 2025
Yes, all other applications (and using the pickers from the Windows.Storage.Pickers namespace) work fine. I also tested on numerous machines and see the same issue on all of them.
lhak commentedon Nov 13, 2025
This is still broken in the latest 1.8 and 2.0 experimental results. When will it be fixed?
DinahK-2SO commentedon Nov 13, 2025
Hi lhak , Thanks for sharing this issue. I wasn’t able to reproduce it on my machine, but I’ll set up a VM to test further and see if we can identify what’s happening. I’ll post an update here.
lhak commentedon Nov 14, 2025
I think the issue is here
https://github.com/microsoft/WindowsAppSDK/blob/77e4d4ffe2e3225ad643d7d4f9b340af239ffc44/dev/Interop/StoragePickers/PickerCommon.cpp#L320C1-L322C47
The description of the file types is set to an empty string
DinahK-2SO commentedon Nov 16, 2025
Hi lhak , thanks for your prompt response!
Because the one in parentheses is the actual active part, we hid the part before it to avoid showing duplicate content. However, it seems the parentheses are not displayed on your side, so I am wondering if hiding the first part was a good choice.
the FileOpenPicker.FileTypeChoices in 2.0-experimental2 can be a mitigation, it allows us to customize both the label and filters.
DinahK-2SO commentedon Nov 16, 2025
Oh I know what happend! The file name extension is not shown on your side!
Hey lhak , would you please enable this? You will see the extensions in brackets then.
And NICE Catch! This is indeed a subtle bug. I will add the label back to FileTypeFilters!
lhak commentedon Nov 16, 2025
Dinah Xiaoman G (@DinahK-2SO) Yes, I can confirm that this is indeed the issue and toggling that option shows the labels
[CP to 1.8] Cherry-pick Bugfix: the filter name for FileOpenPicker.Fi…
DinahK-2SO commentedon Feb 12, 2026
Hi lhak , thanks for reporting this issue! The fixed is released in WinAppSDK >=1.8.4