Minor inconvenience when saving projects

Forums

When you save a session for the first time, the save window doesn't display the file extension, only the session name.

So, if Qtractor is configured to save as .qtr by default (for example), MyProject.qtr doesn't appear; only MyProject does.

The problem is that even if you select a different format from the dropdown menu (qtt, for example), because it doesn't have the extension, it still saves as qtr.

It took me ages to realize that it wasn't my mistake when saving, since we generally want to save in the default format.

I think it would be solved if the default extension were added when saving. Then, the extension would change without issue when selecting a different format from the dropdown menu.

Regards and thanks for everything.

Permalink

yep, that's a long one, at least a decade long one :)

problem is, specially when saving a file, there isn't a known way to tell which filter is selected by the user when he/she hits the "Save" button (that I know at least).

I'll try to revisit this over to the QFileDialog docs or even ask the LLMs for some solution that doesn't end in a full rewrite of the file-requester dialogs all from scratch ;))

cheers

Add new comment

The content of this field is kept private and will not be shown publicly.

Markdown

  • Parses markdown and converts it to HTML.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id> <img src alt height width> <strike> <pre> <p> <br>
  • Lines and paragraphs break automatically.

Filtered HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <b> <i> <pre> <img src alt height width> <strike>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
File attachments
Unlimited number of files can be uploaded to this field.
2 MB limit.
Allowed types: jpg jpeg gif png txt doc docx xls xlsx pdf ppt pps odt ods odp zip gz bz2 xz patch diff wav ogg flac ogv mp4 qtz.