[COMPASS-4350] Import from CSV automatically select JSON in Compass for Windows 1.21.2 Created: 15/Jul/20  Updated: 16/Sep/21  Resolved: 12/Aug/20

Status: Closed
Project: Compass
Component/s: Import/Export
Affects Version/s: None
Fix Version/s: No version

Type: Bug Priority: Minor - P4
Reporter: Ivan Grigolon Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2020-07-15 at 11.20.57 am.png    
Documentation Changes: Not Needed

 Description   

Looks like that is how Electron's openFileDialog behaves (just reproduced it with Electron Fiddle on Windows). When there is a list of supported types (All, CSV, JSON in our case) for some reason on Windows it defaults to JSON and there doesn't seem to be a way to affect that or to explicitly se a default.

Not tying the file selection dialog to the type that was selected in the UI was a design choice. In fact, even if you don't select the type in the UI but just select a file (file selection comes first in the import dialog) the type will be detected automatically.


Generated at Wed Feb 07 22:36:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.