Opened 6 years ago

Last modified 6 years ago

#2138 assigned enhancement

Keep directory history in Save File dialog

Reported by: a.rohou@… Owned by: Tom Goddard
Priority: moderate Milestone:
Component: Input/Output Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

From: Alexis Rohou
Subject: [chimerax-users] suggestion for ChimeraX on MacOS
Date: June 28, 2019 at 10:21:41 AM PDT
To: ChimeraX Users Help <chimerax-users@…>

Hi there,

I noticed that when I do "open browse", the native MacOS file browser is
started, but when I click on File > Save..., a file browser from some
other toolkit is used. I find this inconvenient because that file
browser does not know about my recent history, bookmarks, etc.

Any chance the File > Save... dialog could use the native OS file browser?

Cheers,
Alexis

Change History (1)

comment:1 by Tom Goddard, 6 years ago

Unfortunately the Save File browser needs options for various formats (e.g. saving an image allows you to choose a bigger image size, saving a session allows you to include density maps or just link to them, saving a PDB allows you to choose which open model you want to save...). The native macOS file browser does not allow adding custom controls, at least not through the Qt window toolkit used by ChimeraX. So we have to use a Qt file dialog.

But I see that the Qt file dialog (QFileDialog) does support history. But I guess it is not integrated with the macOS native dialog file history. But we could probably add the directories you have used within ChimeraX to the Save dialog history.

Note: See TracTickets for help on using tickets.