Unnecessary level of escaping in testing "can't find widget" message
When QtTesting can't find a widget its message is getting escaped too many times. There are supposed to be newlines and tabs, but instead it just prints \n
s and \t
s literally. I'm not sure if QtTesting changed or if it is a bug in the new output window/widget. (Gitlab helpfully doesn't wrap the message, so it is even harder to read):
"Couldn't find object LoadStateOptionsDialog/scrollArea/qt_scrollarea_viewport/Container/ProxyWidget/dualSphereAnimation.pvd.4117.FileName/FileChooser/FileButton\nFound up to LoadStateOptionsDialog/scrollArea/qt_scrollarea_viewport/Container/ProxyWidget\n\tPossible match: LoadStateOptionsDialog/scrollArea/qt_scrollarea_viewport/Container/ProxyWidget/DataDirectory/FileChooser/FileButton\n\tPossible match: LoadStateOptionsDialog/scrollArea/qt_scrollarea_viewport/Container/ProxyWidget/dualSphereAnimation.pvd.dualSphereAnimation.pvd.FileName/FileChooser/FileButton\n""Couldn't find object LoadStateOptionsDialog/scrollArea/qt_scrollarea_viewport/Container/ProxyWidget/dualSphereAnimation.pvd.4117.FileName/FileChooser/FileButton\nFound up to LoadStateOptionsDialog/scrollArea/qt_scrollarea_viewport/Container/ProxyWidget\n\tPossible match: LoadStateOptionsDialog/scrollArea/qt_scrollarea_viewport/Container/ProxyWidget/DataDirectory/FileChooser/FileButton\n\tPossible match: LoadStateOptionsDialog/scrollArea/qt_scrollarea_viewport/Container/ProxyWidget/dualSphereAnimation.pvd.dualSphereAnimation.pvd.FileName/FileChooser/FileButton\n"