qtdeclarative/tests/auto/quick
Richard Moe Gustavsen ebefb583c8 QQuickTableView: don't load any delegates if viewport has zero size
When TableView has a zero size, the viewport will have zero
size as well, and there is no reason to load any delegates.

This patch will ensure that we return early from
loadInitialTable() when we detect that this is the case.

This will also stop a warning from being printed when
the delegate has it's implicitWidth bound to
tableView.width, and tableView.width == 0.

Pick-to: 6.5
Change-Id: I659eb098f7c5c25c8359876f7664499381f94b98
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
2023-01-12 08:28:55 +01:00
..
drawingmodes Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
examples Remove "2" from Qt Quick Controls directories 2022-12-01 10:26:20 +08:00
geometry Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
nodes Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
nokeywords Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
pointerhandlers Improve DragHandler tests for easier troubleshooting 2023-01-09 18:47:23 +01:00
propertyrequirements Port from qAsConst() to std::as_const() 2022-10-07 23:38:56 +02:00
qquickaccessible Port from container::count() and length() to size() - V5 2022-10-13 00:18:35 +02:00
qquickanchors Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
qquickanimatedimage Port from container::count() and length() to size() 2022-10-07 23:38:48 +02:00
qquickanimatedsprite Port from container::count() and length() to size() 2022-10-07 23:38:48 +02:00
qquickanimationcontroller Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
qquickanimations Port from container::count() and length() to size() 2022-10-07 23:38:48 +02:00
qquickanimators Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
qquickapplication Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
qquickbehaviors Port from container::count() and length() to size() 2022-10-07 23:38:48 +02:00
qquickborderimage Re-enable auto testing of remote image downloading on Linux and Android 2022-11-10 22:04:57 +01:00
qquickboundaryrule Port from container::count() and length() to size() 2022-10-07 23:38:48 +02:00
qquickcanvasitem Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
qquickcolorgroup Port from container::count() and length() to size() 2022-10-07 23:38:48 +02:00
qquickdeliveryagent Monthly re-run of clang-tidy qt-* checks (11/2022) 2022-11-02 18:11:01 +01:00
qquickdesignersupport Port from container::count() and length() to size() 2022-10-07 23:38:48 +02:00
qquickdrag Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
qquickdragattached QQuickDrag: correctly support text and image mime types 2022-11-11 12:07:42 +01:00
qquickdroparea Fix performance issue with drag retrigger events for qtquick items 2022-11-07 10:21:12 +01:00
qquickdynamicpropertyanimation Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
qquickflickable Flickable: prevent fixup() from being called while dragging 2022-12-19 11:50:35 +01:00
qquickflipable Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
qquickfocusscope Port from container::count() and length() to size() 2022-10-07 23:38:48 +02:00
qquickfontloader Port from container::count() and length() to size() 2022-10-07 23:38:48 +02:00
qquickfontloader_static Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
qquickfontmetrics Port from container::count() and length() to size() 2022-10-07 23:38:48 +02:00
qquickframebufferobject Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
qquickgraphicsinfo Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
qquickgridview QQuickItemView: Fix max(X/Y)Extent() 2022-11-22 17:01:07 +01:00
qquickimage Port from container::count() and length() to size() 2022-10-07 23:38:48 +02:00
qquickimageprovider Port from container::count() and length() to size() 2022-10-07 23:38:48 +02:00
qquickitem QQuickItem: Fix effective visibility for items without parent 2022-12-01 06:26:40 +01:00
qquickitem2 QQuickItem: Fix effective visibility for items without parent 2022-12-01 06:26:40 +01:00
qquickitemlayer Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
qquickitemrhiintegration Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
qquicklayouts Add {horizontal,vertical}StretchFactor 2022-12-08 01:01:11 +01:00
qquicklistview tst_QQuickListView::QTBUG_38209: QTRY_COMPARE_GE instead of QTRY_VERIFY 2023-01-11 20:13:18 +01:00
qquicklistview2 tst_QQuickListView2::flickDuringFlicking: allow flicking less 2023-01-11 20:13:18 +01:00
qquickloader Avoid memory leaks in tst_qquickloader.cpp 2022-12-09 23:22:25 +01:00
qquickmousearea Allow OS-synthesized right clicks to be delivered 2022-10-26 20:40:07 +00:00
qquickmultipointtoucharea Port from container::count() and length() to size() 2022-10-07 23:38:48 +02:00
qquickpainteditem Port from container::count() and length() to size() 2022-10-07 23:38:48 +02:00
qquickpalette Port from container::count() and length() to size() 2022-10-07 23:38:48 +02:00
qquickpath Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
qquickpathview Port from qAsConst() to std::as_const() 2022-10-07 23:38:56 +02:00
qquickpincharea Port from container::count() and length() to size() 2022-10-07 23:38:48 +02:00
qquickpixmapcache Port from container::count() and length() to size() 2022-10-07 23:38:48 +02:00
qquickpositioners Port from container::count() and length() to size() - V5 2022-10-13 00:18:35 +02:00
qquickrectangle Port from container::count() and length() to size() - V5 2022-10-13 00:18:35 +02:00
qquickrendercontrol Port from container::count() and length() to size() 2022-10-07 23:38:48 +02:00
qquickrepeater Port from container::count() and length() to size() - V5 2022-10-13 00:18:35 +02:00
qquickscreen Port from container::count() and length() to size() 2022-10-07 23:38:48 +02:00
qquickshadereffect Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
qquickshape Port from container::count() and length() to size() 2022-10-07 23:38:48 +02:00
qquickshortcut Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
qquicksmoothedanimation Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
qquickspringanimation Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
qquickspritesequence Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
qquickstates QQuickStates: Handle more types as result of when 2022-12-15 14:03:55 +01:00
qquickstyledtext Port from container::count() and length() to size() - V5 2022-10-13 00:18:35 +02:00
qquicksystempalette Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
qquicktableview QQuickTableView: don't load any delegates if viewport has zero size 2023-01-12 08:28:55 +01:00
qquicktext Text: respect to maximumLineCount when calculating implicitWidth 2022-12-19 06:37:22 +00:00
qquicktextdocument Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
qquicktextedit Blacklist tst_qquicktextedit::largeTextObservesViewport 2022-12-20 16:17:02 +01:00
qquicktextinput Android: Set EnterKeyNext as default type for TextInput 2022-11-16 09:10:34 +02:00
qquicktextmetrics Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
qquicktimeline Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
qquicktreeview QQuickTreeView: change the order of row and column to modelIndex(), v2 2022-12-23 14:21:17 +01:00
qquickview Port from container::count() and length() to size() 2022-10-07 23:38:48 +02:00
qquickview_extra Port from container::count() and length() to size() - V5 2022-10-13 00:18:35 +02:00
qquickvisualdatamodel Port from container::count() and length() to size() 2022-10-07 23:38:48 +02:00
qquickwindow Revert "Disable the automatic persistent pipeline cache on macOS/iOS" 2022-11-15 17:26:19 +01:00
rendernode Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
scenegraph Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
sharedimage Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
softwarerenderer Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
touchmouse Stabilize tst_TouchMouse::strayTouchDoesntAutograb 2022-11-11 20:29:39 +00:00
CMakeLists.txt QQuickDrag: correctly support text and image mime types 2022-11-11 12:07:42 +01:00