Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.2.1
-
None
-
Windows 7 x64
Description
QFileDialog saves its state via QSettings, including the folders in the sidebar. Unfortunately it no longer restores the sidebar folders. This used to work in 5.1.
QFileDialogPrivate::init() reads the settings and restores state via QFileDialog::restoreState(). restoreState() restores the selected folder but does not restore the sidebar if the dialog is in native mode. However, at the point when init() is called (from the constructors) the dialog will always be in native mode.
Possible fix: restoreState() could store the sidebar URLs in QFileDialogOptions and createWidgets() could restore them when the nonnative dialog is activated.
Attachments
Issue Links
- is replaced by
-
QTBUG-36888 Open file dialog doesnt remember bookmarked folders
- Closed