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

UI Freezes on Design on empty QML file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 4.10.0
    • Fix Version/s: None
    • Component/s: Editors, Quick Designer
    • Labels:
      None
    • Platform/s:
      macOS, Windows

      Description

      Tim Jenssen -
      Hello.
      When I go to the Design tab after creating a .qml file, the window just freezes and I can wait for about 1 or 2 minutes before I can "use" the editor again.
      But even when I am already in the Design tab, by doing random things I get regular freezes that makes the program impossible to use.
      I tried several versions of Qt Creator and the last functionning version was 4.2.1.

      As said on this issue, I tried to add 

      QT_OPENGL=software

      environment variable without success.

      On my Macbook, I analysed with Instruments, and here is a quick peek of what kind of trouble i'm in...

      So I let you see my qtdiag from my Windows machine :

      Failed to load vulkan-1: Cannot load library vulkan-1: Le module sp?cifi? est introuvable.
      initInstance: No Vulkan library available
      Failed to create platform Vulkan instance
      Qt 5.13.1 (i386-little_endian-ilp32 shared (dynamic) release build; by MSVC 2017) on "windows"
      OS: Windows 10 (10.0) [winnt version 10.0.18362]
      
      Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 RTM HLE
      
      Environment:
      
      Features: QT_NO_EXCEPTIONS
      
      Library info:
        PrefixPath: C:\Qt\Qt5.13.1\Tools\QtCreator\bin
        DocumentationPath: C:\Qt\Qt5.13.1\Tools\QtCreator\bin\doc
        HeadersPath: C:\Qt\Qt5.13.1\Tools\QtCreator\bin\include
        LibrariesPath: C:\Qt\Qt5.13.1\Tools\QtCreator\bin
        LibraryExecutablesPath: C:\Qt\Qt5.13.1\Tools\QtCreator\bin\bin
        BinariesPath: C:\Qt\Qt5.13.1\Tools\QtCreator\bin
        PluginsPath: C:\Qt\Qt5.13.1\Tools\QtCreator\bin\plugins
        ImportsPath: C:\Qt\Qt5.13.1\Tools\QtCreator\bin\imports
        Qml2ImportsPath: C:\Qt\Qt5.13.1\Tools\QtCreator\bin\qml
        ArchDataPath: C:\Qt\Qt5.13.1\Tools\QtCreator\bin
        DataPath: C:\Qt\Qt5.13.1\Tools\QtCreator\bin
        TranslationsPath: C:\Qt\Qt5.13.1\Tools\QtCreator\bin\translations
        ExamplesPath: C:\Qt\Qt5.13.1\Tools\QtCreator\bin\examples
        TestsPath: C:\Qt\Qt5.13.1\Tools\QtCreator\bin\tests
        SettingsPath:
      
      Standard paths [*...* denote writable entry]:
        DesktopLocation: "Desktop" *C:\Users\Switi\Desktop*
        DocumentsLocation: "Documents" *D:\Switi\Documents*
        FontsLocation: "Fonts" *C:\Windows\Fonts*
        ApplicationsLocation: "Applications" *C:\Users\Switi\AppData\Roaming\Microsoft\Windows\Start Menu\Programs*
        MusicLocation: "Music" *C:\Users\Switi\Music*
        MoviesLocation: "Movies" *C:\Users\Switi\Videos*
        PicturesLocation: "Pictures" *D:\Switi\Images*
        TempLocation: "Temporary Directory" *C:\Users\Switi\AppData\Local\Temp*
        HomeLocation: "Home" *C:\Users\Switi*
        AppLocalDataLocation: "Application Data" *C:\Users\Switi\AppData\Local\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag C:\Qt\Qt5.13.1\Tools\QtCreator\bin C:\Qt\Qt5.13.1\Tools\QtCreator\bin\data C:\Qt\Qt5.13.1\Tools\QtCreator\bin\data\QtProject\qtdiag
        CacheLocation: "Cache" *C:\Users\Switi\AppData\Local\QtProject\qtdiag\cache*
        GenericDataLocation: "Shared Data" *C:\Users\Switi\AppData\Local* C:\ProgramData C:\Qt\Qt5.13.1\Tools\QtCreator\bin C:\Qt\Qt5.13.1\Tools\QtCreator\bin\data
        RuntimeLocation: "Runtime" *C:\Users\Switi*
        ConfigLocation: "Configuration" *C:\Users\Switi\AppData\Local\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag C:\Qt\Qt5.13.1\Tools\QtCreator\bin C:\Qt\Qt5.13.1\Tools\QtCreator\bin\data C:\Qt\Qt5.13.1\Tools\QtCreator\bin\data\QtProject\qtdiag
        DownloadLocation: "Download" *D:\Downloads*
        GenericCacheLocation: "Shared Cache" *C:\Users\Switi\AppData\Local\cache*
        GenericConfigLocation: "Shared Configuration" *C:\Users\Switi\AppData\Local* C:\ProgramData C:\Qt\Qt5.13.1\Tools\QtCreator\bin C:\Qt\Qt5.13.1\Tools\QtCreator\bin\data
        AppDataLocation: "Application Data" *C:\Users\Switi\AppData\Roaming\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag C:\Qt\Qt5.13.1\Tools\QtCreator\bin C:\Qt\Qt5.13.1\Tools\QtCreator\bin\data C:\Qt\Qt5.13.1\Tools\QtCreator\bin\data\QtProject\qtdiag
        AppConfigLocation: "Application Configuration" *C:\Users\Switi\AppData\Local\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag C:\Qt\Qt5.13.1\Tools\QtCreator\bin C:\Qt\Qt5.13.1\Tools\QtCreator\bin\data C:\Qt\Qt5.13.1\Tools\QtCreator\bin\data\QtProject\qtdiag
      
      File selectors (increasing order of precedence):
        fr_FR windows winnt
      
      Network:
        Using "OpenSSL 1.1.1c  28 May 2019", version: 0x1010103f
      
      Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement RasterGLSurface AllGLFunctionsQueryable
      
      Style hints:
        mouseDoubleClickInterval: 500
        mousePressAndHoldInterval: 800
        startDragDistance: 10
        startDragTime: 500
        startDragVelocity: 0
        keyboardInputInterval: 400
        keyboardAutoRepeatRate: 32
        cursorFlashTime: 1060
        showIsFullScreen: 0
        showIsMaximized: 0
        passwordMaskDelay: 0
        passwordMaskCharacter: U+25CF
        fontSmoothingGamma: 1.2
        useRtlExtensions: 0
        setFocusOnTouchRelease: 0
        tabFocusBehavior: Qt::TabFocusAllControls
        singleClickActivation: 0
      
      Additional style hints (QPlatformIntegration):
        ReplayMousePressOutsidePopup: 1
      
      Theme:
        Platforms requested : windows
                  available : snap,flatpak,xdgdesktopportal
        Styles requested    : WindowsVista,Windows
               available    : windowsvista,Windows,Fusion
        System font         : "MS Shell Dlg 2" 8
        Native file dialog
      
      Fonts:
        General font : "MS Shell Dlg 2" 8
        Fixed font   : "Courier New" 9
        Title font   : "MS Shell Dlg 2" 8
        Smallest font: "MS Shell Dlg 2" 8
      
      Palette:
        QPalette::WindowText: #ff000000
        QPalette::Button: #fff0f0f0
        QPalette::Light: #ffffffff
        QPalette::Midlight: #ffe3e3e3
        QPalette::Dark: #ffa0a0a0
        QPalette::Mid: #ffa0a0a0
        QPalette::Text: #ff000000
        QPalette::BrightText: #ffffffff
        QPalette::ButtonText: #ff000000
        QPalette::Base: #ffffffff
        QPalette::Window: #fff0f0f0
        QPalette::Shadow: #ff696969
        QPalette::Highlight: #ff0078d7
        QPalette::HighlightedText: #ffffffff
        QPalette::Link: #ff0000ff
        QPalette::LinkVisited: #ffff00ff
        QPalette::AlternateBase: #ffe9e7e3
        QPalette::NoRole: #ff000000
        QPalette::ToolTipBase: #ffffffdc
        QPalette::ToolTipText: #ff000000
        QPalette::PlaceholderText: #80000000
      
      Screens: 2, High DPI scaling: inactive
      # 0 "\\.\DISPLAY1" Depth: 32 Primary: yes
        Manufacturer:
        Model:
        Serial number:
        Geometry: 1920x1080+0+0 Available: 1920x1040+0+0
        Virtual geometry: 3840x1080+0+0 Available: 3840x1040+0+0
        2 virtual siblings
        Physical size: 531x299 mm  Refresh: 59 Hz Power state: 0
        Physical DPI: 91.8418,91.7458 Logical DPI: 96,96 Subpixel_None
        DevicePixelRatio: 1 Pixel density: 1
        Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0
      
      # 1 "\\.\DISPLAY2" Depth: 32 Primary: no
        Manufacturer:
        Model:
        Serial number:
        Geometry: 1920x1080+1920+0 Available: 1920x1040+1920+0
        Virtual geometry: 3840x1080+0+0 Available: 3840x1040+0+0
        2 virtual siblings
        Physical size: 477x268 mm  Refresh: 59 Hz Power state: 0
        Physical DPI: 102.239,102.358 Logical DPI: 96,96 Subpixel_None
        DevicePixelRatio: 1 Pixel density: 1
        Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0
      
      Dynamic GL LibGL Vendor: ATI Technologies Inc.
      Renderer: AMD Radeon (TM) R9 390 Series
      Version: 4.5.13474 Compatibility Profile Context 22.19.162.4
      Shading language: 4.50
      Format: Version: 4.5 Profile: 2 Swap behavior: 2 Buffer size (RGBA): 8,8,8,8 Stencil buffer: 8
      Profile: None (QOpenGLFunctions_4_5), Core (QOpenGLFunctions_4_5_Core), Compatibility (QOpenGLFunctions_4_5_Compatibility)
      
      
      Unable to create a Vulkan instance, error code is0
      
      
      
      GPU #1:
               Card name         : AMD Radeon (TM) R9 390 Series
             Driver Name         : aticfx32.dll
          Driver Version         : 22.19.162.4
               Vendor ID         : 0x1002
               Device ID         : 0x67B0
               SubSys ID         : 0xE324174B
             Revision ID         : 0x0080
      
      GPU #2:
               Card name         : AMD Radeon (TM) R9 390 Series
             Driver Name         : aticfx32.dll
          Driver Version         : 22.19.162.4
               Vendor ID         : 0x1002
               Device ID         : 0x67B0
               SubSys ID         : 0xE324174B
             Revision ID         : 0x0080
      
      

      Thank you.

        Attachments

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

          Activity

            People

            Assignee:
            tjenssen Tim Jenssen
            Reporter:
            plick Styve SIMONNEAU
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes