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

Qt Designer (within Qt Creator): crash when in design mode and trying to reload a (newly, externally modified) malformed .ui file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.11.2
    • 5.11.1
    • Tools: Designer
    • None
    • Linux/X11
    •  41342facfa10a6a69ec6e23e629975cd0263e39e (qttools/5.11, 10.7.2018, 5.11.2)

    Description

      Qt creator will reliably crash under the following conditions:

      1. open a regular .ui (in design mode by default)
      2. somehow make it an invalid xml file (for example by removing a </widget>) with an external application
      3. go back to Qt Create. It will now ask if the file should be reloaded; Reload the file
      4. Qt Creator will crash instantly

      Opening a malformed .ui file will normally show an error message, this should also happen when reloading a now malformed .ui file too.

      Attachments

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              andreas.wendler Andreas Wendler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes