Modify ↓
#13414 closed defect (fixed)
[Patch] Allow non-default file formats with native file chooser
Reported by: | simon04 | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 16.10 |
Component: | Core | Version: | |
Keywords: | Cc: | Don-vip |
Description
The native file chooser has been added in #10024.
Since NativeFileChooser#getChoosableFileFilters
always returns an empty array, in saving does not permit non-default file formats.
To reproduce:
- Enable native file chooser
- New data layer, draw some lines
- Save as
- Input
foobar.gpx
- File is saved as
foobar.gpx.osm
in OSM format
Build-Date:2016-08-18 18:38:37 Revision:10840 Is-Local-Build:true Identification: JOSM/1.5 (10840 SVN en) Linux Arch Linux Memory Usage: 589 MB / 3504 MB (194 MB allocated, but free) Java version: 1.8.0_102-b14, Oracle Corporation, OpenJDK 64-Bit Server VM VM arguments: [-agentlib:jdwp=transport=dt_socket,address=127.0.0.1:41665,suspend=y,server=n, -Djosm.home=<josm.pref>, -javaagent:/usr/share/intellijidea-ce/plugins/Groovy/lib/agent/gragent.jar, -Dfile.encoding=UTF-8] Program arguments: [--set=use.native.file.dialog=true, --set=expert=true, --set=remotecontrol.enabled=true, --set=debug.edt-checker.enable=true, --set=dialog.dynamic.buttons=false, --set=iso.dates=true] Dataset consistency test: No problems found
Attachments (1)
Change History (6)
by , 8 years ago
Attachment: | 13414.patch added |
---|
comment:1 by , 8 years ago
comment:2 by , 8 years ago
JDK bugs are still there but I confirm your patch works as expected on Windows too.
comment:3 by , 8 years ago
Milestone: | 16.08 → 16.09 |
---|
Note:
See TracTickets
for help on using tickets.
If I remember correctly it did not work at all because of a lot of Java bugs (those in comments). Have they been solved since?