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

QtCreator stops responding when opening .ui file with specific font

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 3.2.2
    • Widget Designer
    • None
    • OS X Maverics later upgraded to Yosemite (both clean installations, we have just added support for OSX), intel processor.

    Description

      The specific .ui file created under QtCreator 3.1.2 (Windows 32 bit) cannot be opened on QtCreator 3.2.2 (OS X Maverics and Yosemite). The mouse pointer indicates busy state, but within reasonable amount time the opening operation doesn't come to an end. The rest of the GUI stays responsive. The problem does not exist for any other known .ui file. The file looks "fine" in text editor and everything runs fine under QtCreator 3.1.2 (Windows 32 bit).

      The problem is probably related with the crash of the application on OS X when the form is instantiated.

      After a little investigation I have prepared a minimal example which demonstrates the bug (see: hello.zip attached). It looks that the missing font is causing all the problems. If one removes
      <property name="font">
      <font>
      <family>Segoe UI</family>
      <pointsize>14</pointsize>
      </font>
      </property>
      from the mainwindow.ui (in the project hello) everything start to work just fine - QtCreator successfully loads the file and the application does not crash in the constructor.

      For me it looks like some check for the existence of the font in the system is missing somewhere...

      Expected behavior:
      the file opens as usual or the user gets notified about corrupted/non-compatible .ui file.

      Attachments

        1. dump
          4 kB
        2. hello.zip
          3 kB
        3. mainwindow.ui
          6 kB

        Issue Links

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

          Activity

            People

              con Eike Ziller
              tozanski Tomasz Ożański
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes