Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.11.1
-
None
-
-
41342facfa10a6a69ec6e23e629975cd0263e39e (qttools/5.11, 10.7.2018, 5.11.2)
Description
Qt creator will reliably crash under the following conditions:
- open a regular .ui (in design mode by default)
- somehow make it an invalid xml file (for example by removing a </widget>) with an external application
- go back to Qt Create. It will now ask if the file should be reloaded; Reload the file
- 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
- Is tested by
-
QTCREATORBUG-20749 Squish: Write test which reloads externally modified .ui-file
- Reported
For Gerrit Dashboard: QTBUG-69391 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
234156,2 | Qt Designer: Fix Qt Creator crashes on reloading malformed UI files | dev | qt/qttools | Status: ABANDONED | +2 | 0 |
234191,1 | Qt Designer: Fix Qt Creator crashes on reloading malformed UI files | 5.11 | qt/qttools | Status: ABANDONED | -1 | 0 |
234208,4 | Qt Designer: Fix Qt Creator crashes on reloading malformed UI files | 5.11 | qt/qttools | Status: MERGED | +2 | 0 |