qt6-bb10/tests/auto/widgets/widgets
Bartlomiej Moskal 70417e5c89 Android: Unblacklist textMargin test from tst_QLineEdit
Older devices may have lower screen resolution. In this case, the
hardcoded width may not work as expected. For example, all text may
not fit in QLineEdit.
This was the reason why the tst_qlineedit::textMargin test failed on
some Android devices (especially x86 emulator with Android API 29).
When the left and right margins were set to 20, all tested text did
not fit in QLineEdit. When we clicked at the beginning of QLineEdit,
we clicked on the second character of the text. The cursor was moved
to position 1, which caused the test to fail.

This commit updates textMargin test to make sure that tested text will
fit in to the QLineEdit.

Task-number: QTBUG-87417
Fixes: QTQAINFRA-6897
Change-Id: I35352ac1e6f975e72d5c9638f8520f8ddd1d56ae
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
(cherry picked from commit 0a017308cca154b6f906c6e143fb33fe109316bc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit fdf4738be3a941a14a955aa6931ddfee2145ae58)
2025-01-17 21:55:03 +00:00
..
qabstractbutton tst_QAbstractButton::setShortcut() remove setActiveWindow() 2024-04-29 18:26:14 +02:00
qabstractscrollarea Include horizontal scrollbar's size in sizehint 2024-06-20 06:54:30 +00:00
qabstractslider
qabstractspinbox
qbuttongroup QButtonGroup: make sure to always auto-assign negative ids 2024-10-05 19:54:41 +00:00
qcalendarwidget
qcheckbox
qcombobox Send events as spontaneous in QWindowPrivate::forwardToPopup() 2024-09-25 19:59:42 +00:00
qcommandlinkbutton
qdatetimeedit tests: use qWaitForWindowFocused() instead of qWaitForWindowActive() 2024-10-03 08:37:05 +00:00
qdial
qdialogbuttonbox tst_QDialogButtonBox::hideAndShowButton: Check for Qt::TabFocusAllControls 2024-09-23 14:43:44 +00:00
qdockwidget tst_QDockWidget: Refactor skipping for Wayland 2024-09-28 14:00:43 +00:00
qdoublespinbox QDoubleSpinBox: Use QLocale to omit group separators 2024-11-08 12:32:26 +00:00
qfocusframe
qfontcombobox
qframe
qgroupbox tst_QGroupBox::propagateFocus() remove setActiveWindow() 2024-05-06 16:29:02 +02:00
qkeysequenceedit
qlabel
qlcdnumber
qlineedit Android: Unblacklist textMargin test from tst_QLineEdit 2025-01-17 21:55:03 +00:00
qmainwindow Avoid dock widget separators stealing mouse events from expanded toolbar 2024-08-25 17:04:20 +00:00
qmdiarea Tests: Reduce the number of module includes 2024-11-04 19:42:27 +00:00
qmdisubwindow tst_QMdiSubWindow::task_182852() remove setActiveWindow() 2024-04-30 10:19:24 +02:00
qmenu QMenu: don't show an empty menu 2024-11-13 05:12:11 +00:00
qmenubar QMenu: don't show an empty menu 2024-11-13 05:12:11 +00:00
qopenglwidget widgets: Use per-surface-format RHI support and compositor 2024-06-01 00:24:34 +02:00
qplaintextedit
qprogressbar
qpushbutton tst_QPushButton::setAccel() remove QApplicationPrivate::setActiveWindow 2024-05-06 18:34:22 +02:00
qradiobutton
qrhiwidget Revert "Android: skip vulkan tests for tst_qrhiwidget" 2024-04-08 18:44:35 +03:00
qscrollarea
qscrollbar
qsizegrip tests: blacklist tst_QSizeGrip::hideAndShowOnWindowStateChange() 2024-10-03 08:37:07 +00:00
qslider
qspinbox tst_QSpinBox::editingFinished() remove setActiveWindow() 2024-05-08 13:02:32 +02:00
qsplashscreen
qsplitter
qstackedwidget tst_QStackedWidget::dynamicPages() remove setActiveWindow() 2024-05-06 16:29:02 +02:00
qstatusbar tests: blacklist tst_QStatusBar::QTBUG4334_hiddenOnMaximizedWindow() 2024-09-20 15:28:58 +00:00
qtabbar
qtabwidget
qtextbrowser tst_QTextBrowser::TextBrowser() remove setActiveWindow() 2024-05-06 21:01:36 +02:00
qtextedit Tests: fix warnings from unhandled PaintDeviceMetric enum values 2024-07-11 19:19:39 +00:00
qtoolbar QToolBar: Update implicit icon size if style changes 2024-12-16 15:07:19 +00:00
qtoolbox
qtoolbutton QMenu: don't trigger a menu item if the mouse didn't move 2024-10-04 16:01:44 +00:00
CMakeLists.txt