Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-83870

QCalendarWidget keyboard input to change date completely messed up

XMLWordPrintable

    • 035c16e9ff6cdc169dc6cf8ce94fc5c9e3769f7f (qt/qtbase/dev) 432461d23a180572f536a71c3071916284599d13 (qt/qtbase/5.15)

      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:

      1. Run the Qt example calendarwidget (https://doc.qt.io/qt-5/qtwidgets-widgets-calendarwidget-example.html)
      2. Click on the calendar to focus
      3. Attempt to type any date with keyboard and watch the grey rectangle displaying the input date.

        For Gerrit Dashboard: QTBUG-83870
        # Subject Branch Project Status CR V

            andysh Andy Shaw
            miikapernu Miika Pernu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes