Opened 14 years ago

Closed 5 years 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:
Cc:

Description

With respect to http://ecomstation.ru/foc 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 by Silvan Scherrer, 14 years ago

Milestone: Qt 4.7Qt Enhanced

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

comment:2 by Alex Taylor, 7 years ago

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 by Alex Taylor, 7 years ago

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 by Silvan Scherrer, 5 years ago

Resolution: wontfix
Status: newclosed

we might reconsider that for Qt 5. Please open a ticket at https://github.com/bitwiseworks/qtbase-os2

Note: See TracTickets for help on using tickets.