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

QDateEdit has a problem of display 2017-10-15

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.9.2, 5.11.2
    • Fix Version/s: 5.12.1
    • Labels:
      None
    • Environment:
      PyQt5.9.1/Qt5.9.2
    • Commits:
      4e01b851159342122d42be1091d4cfa464700a4e (qt/qtbase/5.12)

      Description

      I am using PyQt5.9.1/Qt5.9.2 and found a bug of QDateEdit,

      When I choose 2017-10-15(October 15) and then the string of date of QDateEdit disappeared.

      Test code follows:

       

      import sys
      from PyQt5 import QtCore, QtGui, QtWidgets
      def TestQDateEditBug():
       app = QtWidgets.QApplication(sys.argv)
       w = QtWidgets.QWidget()
       w.resize(250, 150)
       w.setWindowTitle('TestQDateEditBug')
       e = QtWidgets.QDateEdit(w)
       e.setDisplayFormat("yyyy-MM-dd")
       e.setCalendarPopup(True)
       e.setGeometry(10, 10, 150, 25)
       w.show()
       app.exec_()
       
      if __name__ == "__main__":
       TestQDateEditBug()
      

       

        Attachments

        1. qdateeditbug.png
          qdateeditbug.png
          17 kB
        2. QTBUG-64485.tar.gz
          1 kB

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              • Assignee:
                Eddy Edward Welbourne
                Reporter:
                cdhigh cdhigh sunil
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes