aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlworkerscript/qquickworkerscript.cpp
diff options
context:
space:
mode:
authorKaj Grönholm <kaj.gronholm@qt.io>2024-04-09 13:26:24 +0300
committerKaj Grönholm <kaj.gronholm@qt.io>2024-04-12 12:27:52 +0300
commitc8f065e2b100556dad23cb96f8c24c554b11f822 (patch)
tree36027374eceed7327e26f163ea2cab38a87d9b22 /src/qmlworkerscript/qquickworkerscript.cpp
parent2e520c6cae19f472b1053bd572bc488e8e048559 (diff)
Fix PathView infinite create/remove loops
Avoid PathView getting into infinite create/remove loops with two improvements: - Don't allow cacheSize to be bigger than the amount of invisible items. This fixes cases where cacheSize has been set to be too big (QTBUG-50540, QTBUG-59108, QTBUG-42504). - Don't do empty range check when appending items. This fixes the issue with specific model sizes & pathItemCount combinations (QTBUG-90479). Includes new autotests for these cases. Pick-to: 6.7 Task-number: QTBUG-90479 Task-number: QTBUG-42504 Task-number: QTBUG-59108 Task-number: QTBUG-50540 Change-Id: Ib2caa21ec2bd2e9ca87a5be24306a539a0f66191 Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io>
Diffstat (limited to 'src/qmlworkerscript/qquickworkerscript.cpp')
0 files changed, 0 insertions, 0 deletions