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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.5.1, 5.6.0 Beta
    • Fix Version/s: 5.6.0 RC
    • Component/s: Quick: Dialogs
    • Labels:
      None
    • Environment:
      Linux with a plain window manager (not Gnome, not KDE); any platform that is missing a native FileDialog, when widgets are available
    • Commits:
      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

            Assignee:
            srutledg Shawn Rutledge
            Reporter:
            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