Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8114046

ExtensionFilters don't work correctly on FileChooser

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • fx2.0
    • fx2.0
    • javafx
    • Windows XP, FX 2.0 b36

      I feel like I'm probably doing something wrong, but if I add an ExtensionFilter to an instance of FileChooser (by way of getExtensionFilters().add()), it seems to block all files from showing up in the dialog. In my attached example, I'm trying to filter everything except for text files, but on Windows XP at least I can't see any of my text files. I tried adding the filter with and without a "." before the extension and it didn't work either way. I also tried passing in a list of extensions rather than using the varargs constructor, neither worked. The problem affects both showOpenDialog and showSaveDialog.

            lnerad Ľubomír Nerád (Inactive)
            kmcintyrejfx Kyle McIntyre (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: