Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-50673

FileDialog.shortcuts property isn't accessible if implementation is QFileDialog

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.6.0 RC
    • 5.5.1, 5.6.0 Beta
    • Quick: Dialogs
    • None
    • Linux with a plain window manager (not Gnome, not KDE); any platform that is missing a native FileDialog, when widgets are available
    • 144bc5cedd9af5e62fe7210bac7df2c19d20c41b

    Description

      qtquickcontrols/examples/quick/dialogs/systemdialogs

      qrc:/dialogs/systemdialogs/FileDialogs.qml:174: TypeError: Cannot call method 'hasOwnProperty' of undefined
      qrc:/dialogs/systemdialogs/FileDialogs.qml:181: TypeError: Cannot call method 'hasOwnProperty' of undefined
      qrc:/dialogs/systemdialogs/FileDialogs.qml:182: TypeError: Cannot read property 'home' of undefined

      That's because only QQuickFileDialog has this property. Maybe it needs to be moved up to QQuickAbstractFileDialog, and maybe have a virtual implementation.

      High priority because it was added in 5.5, documented, and hasn't worked with the QFileDialog implementation.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            srutledg Shawn Rutledge
            srutledg Shawn Rutledge
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes