Qt Declarative (Quick 2)
Go to file
Santhosh Kumar 3bff953242 Fix polish issue in quick text edit
The text edit didn't polish even after there is change in position
offset, leading to alignment issues.

During geometry change, the QQuickTextEdit calculates implicit size
and base position offset, and then further requests a polish
immediately afterwards. This sequence of update happens only if we have
valid width or height set for text edit control. But in case we set
width or height to undefined, there is a chance that this update
would be missed.

This patch removes the checking of widthValid() in
QQuickTextEdit::geometryChange(), to allow those updates.
The validation of width or height is already handled internally
within updateSize(), so it shouldn't create an issue; and we still
try to avoid emitting cursorRectangleChanged() too often.

Amends 1770fa632f

Task-number: QTBUG-117667
Task-number: QTBUG-25489
Pick-to: 6.6 6.5
Change-Id: Ia20cd06e78842f5edb0c395d6322a660f86f6b5e
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
(cherry picked from commit d84c130411)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-12-13 11:35:08 +00:00
LICENSES Use SPDX license identifiers 2022-06-11 08:05:15 +02:00
cmake Mark RegExpJitTables.h as non-module header 2023-04-03 15:38:57 +02:00
coin Change Axivion configuration 2023-10-04 14:37:59 +03:00
dist Merge qtquickcontrols2 into qtdeclarative 2021-07-28 11:21:25 +02:00
examples examples: Increase hit area of LauncherList buttons; simplify 2023-12-13 11:35:07 +00:00
features
src Fix polish issue in quick text edit 2023-12-13 11:35:08 +00:00
tests Fix polish issue in quick text edit 2023-12-13 11:35:08 +00:00
tools QmltcCompiler: Adhere to Compare requirement ("!(a < a)") 2023-12-08 13:14:50 +01:00
.cmake.conf Mark the module as free of Q_FOREACH, except where it isn't 2023-08-17 18:04:35 +02:00
.gitattributes qmlformat: improve testing of file based options 2021-11-04 13:35:48 +01:00
.gitignore cmake: add option to generate .qmlls.ini files 2023-08-23 12:31:08 +02:00
.gitmodules Update to the latest version of the ecmascript test suite 2018-04-26 20:26:36 +00:00
.tag Use tree hash rather than commit hash in .tag file 2022-01-25 23:55:27 +01:00
CMakeLists.txt CMake: Add the Svg package to OPTIONAL_COMPONENTS 2023-08-21 14:10:04 +02:00
README.md Rewrite README.md 2021-08-12 13:15:17 +00:00
configure.cmake Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
dependencies.yaml Update dependencies on '6.7' in qt/qtdeclarative 2023-12-12 03:57:46 +00:00
qt_cmdline.cmake Remove "2" from Qt Quick Controls directories 2022-12-01 10:26:20 +08:00
qtdeclarative.doxy Add doxyfile for building doxygen documentation 2018-08-16 15:54:40 +00:00