Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.14.2
-
035c16e9ff6cdc169dc6cf8ce94fc5c9e3769f7f (qt/qtbase/dev) 432461d23a180572f536a71c3071916284599d13 (qt/qtbase/5.15)
Description
Focusing a QCalendarWidget and trying to input a date with keyboard in any format seems to result in very curious date selection. The date selection does not match the input at all in Qt 5.14.2. In contrast in Qt 5.12 it seems to work mostly fine but inputting day and month starting with 0 would result in an similar issue.
Steps to reproduce the issue:
- Run the Qt example calendarwidget (https://doc.qt.io/qt-5/qtwidgets-widgets-calendarwidget-example.html)
- Click on the calendar to focus
- Attempt to type any date with keyboard and watch the grey rectangle displaying the input date.
Attachments
For Gerrit Dashboard: QTBUG-83870 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
300583,2 | Use correct order of arguments when calling QCalendar::daysInMonth() | dev | qt/qtbase | Status: MERGED | +2 | 0 |
301028,2 | Use correct order of arguments when calling QCalendar::daysInMonth() | 5.15 | qt/qtbase | Status: MERGED | +2 | 0 |