-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.4, 6.6.1, 6.8.2
-
-
659d0d1b9 (dev), fe782bf23 (6.9), 495da7fad (6.8), 6bfff75e7 (tqtc/lts-6.5)
-
2024wk10FOQtforAndroid, 2024wk12FOQtforAndroid, 2024wk16FOQtforAndroid, 2025wk12s1QtforAndroid
If you press one button and then press a second button without releasing the first, the second button generates two onPressed() signals.
To reproduce the issue, follow the steps below:
1. Build and run the attached project on an Android device.
2. Press and hold the button "Press first".
3. Tap the button "Press second".
" Pressed second true " will be printed twice.
Reported from Android 12
For Gerrit Dashboard: QTBUG-122043 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
556453,2 | TODO: | dev | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |
629400,5 | Button: don't allow pressing if already pressed | dev | qt/qtdeclarative | Status: MERGED | +2 | +1 |
633045,2 | Button: don't allow pressing if already pressed | 6.9 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
634023,2 | Button: don't allow pressing if already pressed | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
634226,2 | Button: don't allow pressing if already pressed | tqtc/lts-6.5 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |