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

Warning with using FileDialog

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P2: Important P2: Important
    • None
    • 5.4.0, 5.4.1
    • Quick: Dialogs
    • None
    • OS X 10.10
    • macOS

      import QtQuick 2.3
      import QtQuick.Dialogs 1.2
      
      Item {
          FileDialog {
              id: fileDialog
          }
          Timer {
              property int count: 0
              interval: 1000
              running: count < 4
              repeat: true
              onTriggered: {
                  count++;
                  fileDialog.open()
                  fileDialog.close()
              }
          }
      }
      

      Output:

      QFileInfo::absolutePath: Constructed with empty filename
      QFileInfo::absolutePath: Constructed with empty filename
      QFileInfo::absolutePath: Constructed with empty filename
      2014-12-11 06:54:47.618 qmlscene[24506:15086683] Unable to simultaneously satisfy constraints:
      (
          "<NSAutoresizingMaskLayoutConstraint:0x7fcd65f328b0 h=-&- v=-&- H:|-(0)-[NSView:0x7fcd6369ddc0]   (Names: '|':FIFinderView:0x7fcd634e9fa0 )>",
          "<NSAutoresizingMaskLayoutConstraint:0x7fcd65f5ea30 h=-&- v=-&- H:[NSView:0x7fcd6369ddc0]-(0)-|   (Names: '|':FIFinderView:0x7fcd634e9fa0 )>",
          "<NSAutoresizingMaskLayoutConstraint:0x7fcd65f55f30 h=-&- v=-&- H:|-(0)-[FIFinderView:0x7fcd634e9fa0]   (Names: '|':NSNavFinderViewFileBrowser:0x7fcd65da2c20 )>",
          "<NSAutoresizingMaskLayoutConstraint:0x7fcd65f5ddf0 h=-&- v=-&- H:[FIFinderView:0x7fcd634e9fa0]-(0)-|   (Names: '|':NSNavFinderViewFileBrowser:0x7fcd65da2c20 )>",
          "<NSAutoresizingMaskLayoutConstraint:0x7fcd65f3d2e0 h=--& v=--& H:[NSNavFinderViewFileBrowser:0x7fcd65da2c20(585)]>",
          "<NSLayoutConstraint:0x7fcd636c6d50 H:|-(0)-[NSView:0x7fcd636db130]   (Names: '|':NSView:0x7fcd6369ddc0 )>",
          "<NSLayoutConstraint:0x7fcd63612ff0 H:[NSView:0x7fcd636db130]-(0)-|   (Names: '|':NSView:0x7fcd6369ddc0 )>",
          "<NSLayoutConstraint:0x7fcd63497b20 H:[FILocationPopUp:0x7fcd634adc60'\U66f8\U985e'(207)]>",
          "<NSLayoutConstraint:0x7fcd636c0570 NSView:0x7fcd636db130.centerX == FILocationPopUp:0x7fcd634adc60'\U66f8\U985e'.centerX>",
          "<NSLayoutConstraint:0x7fcd634e2180 H:[FILocationPopUp:0x7fcd634adc60'\U66f8\U985e']-(>=10)-[SGTSearchField:0x7fcd65d95720]>",
          "<NSLayoutConstraint:0x7fcd65e13560 H:[SGTSearchField:0x7fcd65d95720]-(11)-|   (Names: '|':NSView:0x7fcd636db130 )>",
          "<NSLayoutConstraint:0x7fcd634ead90 H:[SGTSearchField:0x7fcd65d95720(>=218)]>"
      )
      
      Will attempt to recover by breaking constraint 
      <NSLayoutConstraint:0x7fcd634ead90 H:[SGTSearchField:0x7fcd65d95720(>=218)]>
      
      Set the NSUserDefault NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have -[NSWindow visualizeConstraints:] automatically called when this happens.  And/or, break on objc_exception_throw to catch this in the debugger.
      QFileInfo::absolutePath: Constructed with empty filename
      

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

            sorvig Morten Sørvig
            sqq S.Gold
            Votes:
            5 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes