File dialog filters fail on macOS
Steps to reproduce
- Install gtk4 with brew
- Run /opt/homebrew/bin/gtk4-demo
- Open "Video Player"
- Click "Open"
- Try to open any video or image file with "Video" or "Images" filters
Current behavior
Only "All files" allows to choose files. All files are disabled (and cannot be chosen) with other filters.
Expected outcome
File type filters enable files of corresponding type.
Version information
- macOS. 12.14
- GLib 2.72.2
- Pango 1.50.6
- GTK 4.6.5
- GTK Demo 4.6.5
Additional information
Terminal output:
2022-06-12 16:24:32.472 gtk4-demo[37612:743490] dyn.agq81a7pcrvy0gpxrr75gw3k is not a valid allowedFileType because it doesn't conform to UTTypeItem
2022-06-12 16:28:40.540 gtk4-demo[37612:743490] dyn.agq81a7pcrvy0gpxrr75gw3k is not a valid allowedFileType because it doesn't conform to UTTypeItem
2022-06-12 16:28:50.771 gtk4-demo[37612:743490] dyn.agq81a7pcrvy0gpxmrzu0s3k is not a valid allowedFileType because it doesn't conform to UTTypeItem
Edited by Pavel Shlyak