Opened 9 years ago

Closed 6 weeks ago

#193 closed enhancement (wontfix)

Reconsider usage of native file dialogs

Reported by: rudi Owned by:
Priority: minor Milestone: Qt Enhanced
Component: QtGui Version: 4.6.2
Severity: low Keywords:


With respect to it might be worth to consider the implementation of "native" file dialogs. Of course this feature should be configurable so that users that don't have this extension installed won't end up with the original one.

Change History (4)

comment:1 Changed 9 years ago by diver

  • Milestone changed from Qt 4.7 to Qt Enhanced

moved to enhanced, as i still consider this FOC an not completed

comment:2 Changed 22 months ago by ataylor

Regardless of whether FOC is available (or the user may have another extender like X-File), native file dialogs should be available.

Is there a way to turn on the native file dialog? Either programatically in the application, or via global configuration?

The Qt4 specification states that native file dialogs should be available, and in fact are the default unless otherwise specified in the application.

From a usability perspective, the native Qt4 file dialog is awkward and nonintuitive. I require to use the system file dialog in my applications, but I'm unclear how to do this.

comment:3 Changed 20 months ago by ataylor

An update to this: I've successfully implemented the native OS/2 file dialog in my QE editor. I actually borrowed some code from Mozilla in order to implement selectable file filters.

If you (or anyone else) is interested, the relevant code is in os2native.cpp/h and consists of drop-in replacements for QFileDialog::get*FileName?[s].

This is still being tested, but should make it into beta 0.9.6 (not yet released as of this writing).

comment:4 Changed 6 weeks ago by diver

  • Resolution set to wontfix
  • Status changed from new to closed

we might reconsider that for Qt 5. Please open a ticket at

Note: See TracTickets for help on using tickets.