Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.3.1
-
None
-
-
9fcd5f0790 (qt/qtbase/dev) 9fcd5f0790 (qt/tqtc-qtbase/dev) 87d4cb06b1 (qt/qtbase/6.4) 87d4cb06b1 (qt/tqtc-qtbase/6.4) c808f94167 (qt/tqtc-qtbase/6.2) 7a0f50942d (qt/qtbase/6.3) 7a0f50942d (qt/tqtc-qtbase/6.3)
Description
crash if table cell end is outside window
to reproduce:
- build Sample in QTableWidgetBug.zip
- double click first cell -> "ASSERT: "!(max < min)" in file C:\Users\qt\work\qt\qtbase\include\QtCore\../../src/corelib/global/qglobal.h, line 1043"
- ignore assert
- enter text -> crash
occurs with downloaded Qt 6.3.1 MSVC2019 64bit
Neither Qt Mac 6.3.1 nor Qt Windows 5.15.10 have this problem
void QExpandingLineEdit::resizeToContents() src/widgets/itemviews/qitemeditorfactory.cpp:594
Locals hintWidth 157 int maxWidth 68 int newWidth 0 int oldWidth 157 int parent "qt_scrollarea_viewport" QWidget parentWidth 68 int position (0, 0) QPoint this @0x5586f422eff0 QExpandingLineEdit
Attachments
Issue Links
- is duplicated by
-
QTBUG-105263 QHeaderView::ResizeToContents causes crash when editing long items
- Closed
- relates to
-
QTBUG-104383 QExpandingLineEdit::resizeToContents crashes conditionally in qBound (since Qt 6.3.0)
- Closed