-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.9.1
-
Android 15 Qt 6.9
-
-
0f3a6349f (dev), b141a68a1 (6.10), c4f1c6ebf (6.9)
-
2025wk30s2QtforAndroid
The attached example shows the bug.
- Build for Android (Qt 6.9).
- Launch app on device with soft navigation bar.
- Tap inside QTextEdit — virtual keyboard opens.
- Check Qt Creator's console — safeAreaMargins() shows top/bottom values that look like they do not account for the screen pixel density.
- Close keyboard → margins remain wrong.
| For Gerrit Dashboard: QTBUG-138157 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 661735,6 | Widgets: use safe margins from QWindow::safeAreaMargins() | dev | qt/qtbase | Status: MERGED | +2 | 0 |
| 664061,2 | Widgets: use safe margins from QWindow::safeAreaMargins() | 6.10 | qt/qtbase | Status: MERGED | +2 | 0 |
| 664105,2 | Widgets: use safe margins from QWindow::safeAreaMargins() | 6.9 | qt/qtbase | Status: MERGED | +2 | 0 |