Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 349463

Summary: Filechooser: fileExtensions
Product: z_Archived Reporter: René Buffat <rene.buffat>
Component: ScoutAssignee: Project Inbox <scout.core-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: judith.gull, zimmermann
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description René Buffat CLA 2011-06-15 11:22:40 EDT
GUI: Swing

The file chooser dialog does not filter for the extensions configured with getConfiguredFileExtensions or setFileExtensions. 

Steps to reproduce: 

- Create Form and add a Field extending AbstractFileChooserField
- Add: 
        @Override
        protected String[] getConfiguredFileExtensions() {
          return new String[] {"jpg","gif","png"};
        }
- Start Scout and Open FileChooser Dialog:
    - Save as type still includes "(Alle Dateien *.*)"
    - Filename is prefilled with "*.jpg;*.gif;*.png"
Comment 1 Matthias Nick CLA 2013-11-07 07:26:33 EST
Could not reproduce the behavior with Scout 3.10 and Swing.
Please reopen if this bug occurs again.
Comment 2 Matthias Zimmermann CLA 2014-05-27 17:11:02 EDT
status will change to closed once the luna release train is shipped.
Comment 3 Matthias Zimmermann CLA 2014-07-01 03:21:02 EDT
Shipped with Eclipse Luna Release