Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349463 - Filechooser: fileExtensions
Summary: Filechooser: fileExtensions
Status: CLOSED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-15 11:22 EDT by René Buffat CLA
Modified: 2021-08-19 11:15 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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