8753bb3045
As per the documentation: A message box displays a primary text to alert the user to a situation, an informative text to further explain the situation, and an optional detailed text to provide even more data if the user requests it. The AppKit NSAlert doesn't provide such a "detailed" section, and our code just added this "even more data" detailed text to the primary text. This breaks the UI when the detailed text is very long, perhaps a complete log output with dozens or even hundreds of lines of text. Since NSAlert doesn't provide a "details" space, fall-back to the non- native message box if detailed text is provided. [ChangeLog][QtWidgets][QMessageBox] On Apple platforms, the native message box is no longer used when detailed text is set. Pick-to: 6.6 6.5 Fixes: QTBUG-118992 Change-Id: I6f4764ceb8f8e57d641c0b0660223a9c26f5bd26 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> |
||
---|---|---|
.github/workflows | ||
bin | ||
cmake | ||
coin | ||
config.tests | ||
dist | ||
doc | ||
examples | ||
lib | ||
libexec | ||
LICENSES | ||
mkspecs | ||
qmake | ||
src | ||
tests | ||
util | ||
.cmake.conf | ||
.gitattributes | ||
.gitignore | ||
.lgtm.yml | ||
.tag | ||
CMakeLists.txt | ||
config_help.txt | ||
configure | ||
configure.bat | ||
configure.cmake | ||
dependencies.yaml | ||
qt_cmdline.cmake |