Skip to content

"Save View to File..." Enhancements #60

@ttl269

Description

@ttl269

Outline - @jonwd7


The existing (but disabled) "Save View to File..." action is bit confusing for the user.

Tasks

  • Choice of using the screenshots directory in your NifSkope folder (it auto-creates the directory if it's not yet present).
  • Choice of saving to the same folder as the NIF file.
    • (You can still save anywhere by opening the File dialog)
  • Create a default filename based on the NIF filename and the datetime.
  • Save your preferred JPEG quality.
  • Change the file priority to JPG > PNG > BMP. So that JPG is the default.
  • Widen the dialog for legibility.
  • Show a warning message if the file cannot be saved, e.g. the path or file extension are not valid.
  • Set window title

- [x] Rename "OK" to "Save".

Original Post by @ttl269

Selecting JPEG format when saving a screenshot produces no file (NifSkope 1.2.0a1.dev19).
I think that line with filepath should not be editable but only viewable (as for example in CK) and only way how to specify the file (and image format) should be via standard filerequester - clicking on "File" button. Editable filepath is little confusing because user can write there any filename (with or without extension) and don't know which image format will (and could be) be used. Providing filename without extension produces no file.
Also some error message should appear in case that nothing was saved.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions