qtdeclarative/tests/auto
Shawn Rutledge 9db23e0e04 TextEdit large text: don't populate blocks outside the viewport into SG
When the text is larger than 10000 characters, we now avoid creating
nodes for blocks that go outside the viewport. Each time the text moves
relative to the viewport, we check whether the rectangular area that we
know is "covered" with the text rendered so far is still enough to fill
the viewport; if not, update the whole document: mark all existing SG
nodes dirty, then delete and re-create them.

[ChangeLog][QtQuick][Text] When given large text documents
(QString::size() > 10000), Text and TextEdit now try to avoid populating
scene graph nodes for ranges of text that fall outside the viewport,
which could be a parent item having the ItemIsViewport flag set (such as
a Flickable), or the window's content item. If the viewport is smaller
than the window, you might see lines of text disappearing when they are
scrolled out of the viewport; if that's undesired, either design your UI
so that other items obscure the area beyond the viewport, or set the
clip property to make clipping exact.

Task-number: QTBUG-90734
Change-Id: I9c88885b1ad3c3f24df0f7f322ed82d76b8e07c9
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
2021-12-03 06:06:29 +01:00
..
bic tst_bic: remove offending, private entries 2021-11-27 19:08:00 -08:00
cmake Add missing qproperty include 2021-11-26 12:02:20 +01:00
core Fix license of tests from LGPL3 to GPL-EXCEPT 2021-11-29 09:22:01 +01:00
guiapplauncher
particles Use qDegreesToRadians() rather than yet more approximations to pi/180 2021-09-17 11:05:33 +02:00
qml qqmlxmlhttprequest: Fix h2c fallout and ignore in future 2021-12-02 12:52:57 +01:00
qmldom qmldom: avoid merging declaration and binding when not supported 2021-11-26 08:48:07 +01:00
qmltest tst_grabImage: Fix the cases were visually comparing invisible items 2021-09-25 11:36:27 +03:00
qmltest-blacklist
quick TextEdit large text: don't populate blocks outside the viewport into SG 2021-12-03 06:06:29 +01:00
quickcontrols2 Remember QQuickDeliveryAgent (DA) in QQuickWindowPrivate::handle*Event 2021-12-02 11:52:38 +00:00
quicktest Make qmltest/SignalSpy.qml aware of recursive qtest_update() calls 2021-11-30 18:42:54 +00:00
quickwidgets Consolidate test helpers into private libraries 2021-09-13 21:17:04 +02:00
toolsupport
CMakeLists.txt Android: Disable qjstest and qml ecmascripttests tests 2021-10-13 12:03:41 +00:00