[SC-IDE] save/save as dialog extensions #615

Closed
smrg-lm opened this Issue Oct 24, 2012 · 2 comments

Projects

None yet

3 participants

@smrg-lm
Contributor
smrg-lm commented Oct 24, 2012
  1. In the save file dialog, typing:

filename

and choosing the extension no matter what it puts .scd

but typing

filename.sc

and then choosing changes the extension (it is shown in the file name field).

  1. In the save as dialog:

"save as" doesn't lets to change the extension when saving as. The
only option available is the current extension of the file.

best

@timblechmann
Contributor

please search the archive: 2) is a duplicate of #551

@jleben
Member
jleben commented Nov 12, 2012
  1. is a duplicate of #551

Hmm, I don't see why exactly?

@jleben jleben added a commit that referenced this issue Apr 10, 2013
@jleben jleben scide: save document dialog: always allow saving with any extension
[Fixes #615]

* Do not try to pre-select one of the file name filters - it doesn't
  necessarily work with native dialogs.

* Put "All Files" filter on top, so it's always first selected; other
  filters may automatically change suffix in native dialogs, even when
  file name is pre-selected.

* Do not use QFileDialog::setDefaultSuffix(), because it does not display
  a warning when file path with auto-added suffix already exists.

* Improve file name filter labels
e72db52
@jleben jleben added a commit that closed this issue Apr 10, 2013
@jleben jleben scide: save document dialog: always allow saving with any extension
[Fixes #615]

* Do not try to pre-select one of the file name filters - it doesn't
  necessarily work with native dialogs.

* Put "All Files" filter on top, so it's always first selected; other
  filters may automatically change suffix in native dialogs, even when
  file name is pre-selected.

* Do not use QFileDialog::setDefaultSuffix(), because it does not display
  a warning when file path with auto-added suffix already exists.

* Improve file name filter labels
24f14d2
@jleben jleben closed this in 24f14d2 Apr 10, 2013
@sofakid sofakid pushed a commit to sofakid/supercollider that referenced this issue Apr 6, 2015
@jleben jleben scide: save document dialog: always allow saving with any extension
[Fixes #615]

* Do not try to pre-select one of the file name filters - it doesn't
  necessarily work with native dialogs.

* Put "All Files" filter on top, so it's always first selected; other
  filters may automatically change suffix in native dialogs, even when
  file name is pre-selected.

* Do not use QFileDialog::setDefaultSuffix(), because it does not display
  a warning when file path with auto-added suffix already exists.

* Improve file name filter labels
f12a8a0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment