Qt 6.8.3 with BlackBerry 10 (QNX 8 / ARMv7) patches
 
 
 
 
 
 
Go to file
Eskil Abrahamsen Blomfeldt be6c651be4 Fix infinite loop in QTextLayout with setNumColumns()
If the line width is negative, then we might exit the layout
loop before consuming any text, and thus the loop will never
finish. This is a side effect of a change for maximumWidth:
991c056438.

49a63d3759 fixed this issue for
QTextLayout::setFixedSize(), but I forgot to do the same in
the overload of QTextLayout::setNumColumns() which includes
an alignment width and therefore sets the line width in addition
to the column count.

Basically, we just make sure the line width is never negative so
that the width > line.width condition also means the width > 0.

Pick-to: 6.5 6.6 6.7
Fixes: QTBUG-115459
Change-Id: If904bfc64cd74e819a0864db55fa9555073d0781
Reviewed-by: Vladimir Belyavsky <belyavskyv@gmail.com>
Reviewed-by: Lars Knoll <lars@knoll.priv.no>
2024-01-29 17:02:36 +00:00
.github/workflows Repair github action workflow 2021-11-10 18:57:33 +01:00
LICENSES Clarify license of SHA-1 algorithm 2023-04-26 16:36:18 +02:00
bin CMake: Don't strip debug builds with qt-cmake-private-install in CI 2023-11-03 18:24:46 +02:00
cmake CMake: Simplify default CMAKE_BUILD_TYPE logic 2024-01-26 14:51:35 +01:00
coin Coin: Add native MSVC ARM64 instructions 2023-12-18 20:00:44 +02:00
config.tests Remove the mandatory x86-64 features from its feature list 2023-05-31 14:55:37 -07:00
dist Add Qt 6.0.0 changes file 2020-11-16 10:02:08 +02:00
doc QFile::moveToTrash: add documentation about run time and fail conditions 2024-01-25 09:37:48 -08:00
examples Examples/sqlbrowser: improve coding style 2024-01-19 17:27:25 +01:00
lib
libexec CMake: Add a config.redo script similar to qt5's config.status 2023-09-20 21:20:13 +02:00
mkspecs wasm: set MAXIMUM_MEMORY to 4GB 2023-12-20 00:44:28 +00:00
qmake Remove build machine path that was baked into the qmake binary 2023-12-13 06:56:48 +00:00
src Fix infinite loop in QTextLayout with setNumColumns() 2024-01-29 17:02:36 +00:00
tests Fix infinite loop in QTextLayout with setNumColumns() 2024-01-29 17:02:36 +00:00
util PSL: add changelog entry to the suggested commit message 2024-01-29 15:06:47 +00:00
.cmake.conf Bump version to 6.8.0 2023-12-11 17:35:40 +02:00
.gitattributes
.gitignore Git ignore Visual Studio CMake build directories 2023-11-24 23:42:05 +01:00
.lgtm.yml
.tag
CMakeLists.txt CMake: Fix find_package(Qt6*Tools) in non-qtbase tests 2023-08-23 16:21:58 +02:00
config_help.txt Update config_help.txt with -trace ctf 2023-12-09 12:05:24 +02:00
configure configure: Make sure the configure script exits with cmake's exit code 2023-11-22 05:34:28 +01:00
configure.bat CMake: Add a config.redo script similar to qt5's config.status 2023-09-20 21:20:13 +02:00
configure.cmake CMake: Fix Threads global promotion issue when using static openssl 2024-01-22 14:18:09 +01:00
dependencies.yaml
qt_cmdline.cmake Add coverage and coverage-gcov features 2023-09-22 15:54:30 +02:00