Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-24066

"Show in Finder" on a binary file hangs Creator for 20 seconds on macOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 4.12.0
    • All Other Issues
    • None

    Description

      Steps to reproduce:

      • Open a binary file in Creator - I tried it with a 400kb .odg file.
      • Right click on the name of the file in the toolbar thing, select Show in Finder. The UI will be blocked for ~20 seconds.

      A similar but shorter result can be seen with smaller text files.

      Qt 5.14.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 10.0.0 (clang-1000.11.45.5) (Apple)) on "cocoa" 
      OS: macOS Mojave (10.14) [darwin version 18.7.0]
      
      Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 RTM HLE
      
      Environment:
      
      Features: QT_NO_EXCEPTIONS QT_NO_OPENSSL
      
      Library info:
        PrefixPath: /Users/mitch/dev/qt-unified/Qt Creator.app/Contents
        DocumentationPath: /Users/mitch/dev/qt-unified/Qt Creator.app/Contents/doc
        HeadersPath: /Users/mitch/dev/qt-unified/Qt Creator.app/Contents/include
        LibrariesPath: /Users/mitch/dev/qt-unified/Qt Creator.app/Contents/lib
        LibraryExecutablesPath: /Users/mitch/dev/qt-unified/Qt Creator.app/Contents/libexec
        BinariesPath: /Users/mitch/dev/qt-unified/Qt Creator.app/Contents/MacOS
        PluginsPath: /Users/mitch/dev/qt-unified/Qt Creator.app/Contents/PlugIns
        ImportsPath: /Users/mitch/dev/qt-unified/Qt Creator.app/Contents/Imports/qtquick1
        Qml2ImportsPath: /Users/mitch/dev/qt-unified/Qt Creator.app/Contents/Imports/qtquick2
        ArchDataPath: /Users/mitch/dev/qt-unified/Qt Creator.app/Contents
        DataPath: /Users/mitch/dev/qt-unified/Qt Creator.app/Contents
        TranslationsPath: /Users/mitch/dev/qt-unified/Qt Creator.app/Contents/translations
        ExamplesPath: /Users/mitch/dev/qt-unified/Qt Creator.app/Contents/examples
        TestsPath: /Users/mitch/dev/qt-unified/Qt Creator.app/Contents/tests
        SettingsPath: /Users/mitch/dev/qt-unified/Qt Creator.app/Contents
      
      Standard paths [*...* denote writable entry]:
        DesktopLocation: "Desktop" */Users/mitch/Desktop*
        DocumentsLocation: "Documents" */Users/mitch/Documents*
        FontsLocation: "Fonts" */Users/mitch/Library/Fonts* /Library/Fonts /System/Library/Fonts
        ApplicationsLocation: "Applications" */Users/mitch/Applications* /Applications
        MusicLocation: "Music" */Users/mitch/Music*
        MoviesLocation: "Movies" */Users/mitch/Movies*
        PicturesLocation: "Pictures" */Users/mitch/Pictures*
        TempLocation: "Temporary Items" */private/var/folders/yv/wxzzv7d53bx9z4kq3tj_5cgm0000gn/T*
        HomeLocation: "Home" */Users/mitch*
        AppLocalDataLocation: "Application Support" */Users/mitch/Library/Application Support/QtProject/qtdiag* /Library/Application Support/QtProject/qtdiag /Users/mitch/dev/qt-unified/Qt Creator.app/Contents/Resources
        CacheLocation: "Caches" */Users/mitch/Library/Caches/QtProject/qtdiag* /Library/Caches/QtProject/qtdiag
        GenericDataLocation: "Application Support" */Users/mitch/Library/Application Support* /Library/Application Support
        RuntimeLocation: "Application Support" */Users/mitch/Library/Application Support*
        ConfigLocation: "Preferences" */Users/mitch/Library/Preferences*
        DownloadLocation: "Downloads" */Users/mitch/Downloads*
        GenericCacheLocation: "Caches" */Users/mitch/Library/Caches* /Library/Caches /System/Library/Caches
        GenericConfigLocation: "Preferences" */Users/mitch/Library/Preferences*
        AppDataLocation: "Application Support" */Users/mitch/Library/Application Support/QtProject/qtdiag* /Library/Application Support/QtProject/qtdiag /Users/mitch/dev/qt-unified/Qt Creator.app/Contents/Resources
        AppConfigLocation: "Preferences" */Users/mitch/Library/Preferences/QtProject/qtdiag*
      
      File selectors (increasing order of precedence):
        en_AU unix darwin mac osx macos
      
      Network:
        Using "Secure Transport, macOS Mojave (10.14)", version: 0x0
      
      Platform capabilities: ThreadedPixmaps OpenGL BufferQueueingOpenGL WindowMasks MultipleWindows ApplicationState ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement RasterGLSurface ApplicationIcon
      
      Style hints:
        mouseDoubleClickInterval: 400
        mousePressAndHoldInterval: 800
        startDragDistance: 10
        startDragTime: 500
        startDragVelocity: 0
        keyboardInputInterval: 400
        keyboardAutoRepeatRate: 30
        cursorFlashTime: 1000
        showIsFullScreen: 0
        showIsMaximized: 0
        passwordMaskDelay: 0
        passwordMaskCharacter: U+2022
        fontSmoothingGamma: 2
        useRtlExtensions: 0
        setFocusOnTouchRelease: 0
        tabFocusBehavior: Qt::TabFocusAllControls 
        singleClickActivation: 0
      
      Additional style hints (QPlatformIntegration):
        ReplayMousePressOutsidePopup: 1
      
      Theme:
        Platforms requested : cocoa
                  available : 
        Styles requested    : macintosh
               available    : macintosh,Windows,Fusion
        System font         : ".SF NS Text" 13
        Native file dialog
        Native color dialog
        Native font dialog
      
      Fonts:
        General font : ".SF NS Text" 13
        Fixed font   : "Monaco" 10
        Title font   : ".SF NS Text" 13
        Smallest font: ".SF NS Text" 9
      
      Palette:
        QPalette::WindowText: #d8000000
        QPalette::Button: #ffececec
        QPalette::Light: #ffffffff
        QPalette::Midlight: #fff5f5f5
        QPalette::Dark: #ffbfbfbf
        QPalette::Mid: #ffa9a9a9
        QPalette::Text: #d8000000
        QPalette::BrightText: #ffffffff
        QPalette::ButtonText: #ff000000
        QPalette::Base: #ffffffff
        QPalette::Window: #ffececec
        QPalette::Shadow: #ff000000
        QPalette::Highlight: #ffb3d7ff
        QPalette::HighlightedText: #d8000000
        QPalette::Link: #ff0068da
        QPalette::LinkVisited: #ffff00ff
        QPalette::AlternateBase: #fff5f5f5
        QPalette::NoRole: #ff000000
        QPalette::ToolTipBase: #ffffffff
        QPalette::ToolTipText: #ff000000
        QPalette::PlaceholderText: #80000000
      
      Screens: 1, High DPI scaling: inactive
      # 0 "Colour LCD" Depth: 24 Primary: yes
        Manufacturer: 
        Model: 
        Serial number: 
        Geometry: 1680x1050+0+0 Available: 1680x1027+0+23
        Physical size: 330.791x206.744 mm  Refresh: 60 Hz Power state: 0
        Physical DPI: 129,129 Logical DPI: 72,72 Subpixel_RGB
        DevicePixelRatio: 2 Pixel density: 1
        Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0
      
      LibGL Vendor: Intel Inc.
      Renderer: Intel(R) HD Graphics 530
      Version: 2.1 INTEL-12.10.17
      Shading language: 1.20
      Format: Version: 2.1 Profile: 0 Swap behavior: 2 Buffer size (RGB): 8,8,8
      Profile: None (QOpenGLFunctions_329510128_32720)
      
      
      
      Plugin information:
      
      + Android                           4.12.0
      + AutoTest                          4.12.0
        AutotoolsProjectManager           4.12.0
        BareMetal                         4.12.0
      + Bazaar                            4.12.0
        Beautifier                        4.12.0
      + BinEditor                         4.12.0
      + Bookmarks                         4.12.0
        Boot2Qt                           4.12.0
        Boot2QtQdb                        4.10.1
      + CMakeProjectManager               4.12.0
      + CVS                               4.12.0
      + ClangCodeModel                    4.12.0
        ClangFormat                       4.12.0
        ClangPchManager                   4.12.0
        ClangRefactoring                  4.12.0
      + ClangTools                        4.12.0
      + ClassView                         4.12.0
        ClearCase                         4.12.0
      + CodePaster                        4.12.0
        CompilationDatabaseProjectManager 4.12.0
      + Core                              4.12.0
      + CppEditor                         4.12.0
      + CppTools                          4.12.0
        Cppcheck                          4.12.0
      + CtfVisualizer                     4.12.0
      + Debugger                          4.12.0
      + Designer                          4.12.0
      + DiffEditor                        4.12.0
        EmacsKeys                         4.12.0
      + FakeVim                           4.12.0
      + GLSLEditor                        4.12.0
      + GenericProjectManager             4.12.0
      + Git                               4.12.0
        HelloWorld                        4.12.0
      + Help                              4.12.0
      + ImageViewer                       4.12.0
      + Ios                               4.12.0
      + LanguageClient                    4.12.0
      + LicenseChecker                    4.12.0
      + Macros                            4.12.0
      + Marketplace                       4.12.0
        McuSupport                        4.12.0
      + Mercurial                         4.12.0
      + ModelEditor                       4.12.0
        Nim                               4.12.0
      + PerfProfiler                      4.12.0
        Perforce                          4.12.0
      + ProjectExplorer                   4.12.0
      + Python                            4.12.0
      + QbsProjectManager                 4.12.0
      + QmakeProjectManager               4.12.0
      + QmlDesigner                       4.12.0
      + QmlJSEditor                       4.12.0
      + QmlJSTools                        4.12.0
      + QmlPreview                        4.12.0
      + QmlProfiler                       4.12.0
      + QmlProjectManager                 4.12.0
      + Qnx                               4.12.0
      + QtSupport                         4.12.0
      + RemoteLinux                       4.12.0
      + ResourceEditor                    4.12.0
      + ScxmlEditor                       4.12.0
        SerialTerminal                    4.12.0
        SilverSearcher                    4.12.0
        StudioWelcome                     4.12.0
      + Subversion                        4.12.0
      + TaskList                          4.12.0
      + TextEditor                        4.12.0
        Todo                              4.12.0
      + UpdateInfo                        4.12.0
      + Valgrind                          4.12.0
      + VcsBase                           4.12.0
        Vxworks                           4.12.0
        WebAssembly                       4.12.0
        Welcome                           4.12.0
        WinRt                             4.12.0
      
      Qt Creator 4.12.0
      Based on Qt 5.14.2 (Clang 10.0 (Apple), 64 bit)
      From revision 10fece1795
      Built on Apr 22 2020 01:16:04
      
      

      Attachments

        Issue Links

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

          Activity

            People

              con Eike Ziller
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes