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

QDateEdit has a problem of display 2017-10-15

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12.1
    • 5.9.2, 5.11.2
    • None
    • PyQt5.9.1/Qt5.9.2
    • 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

        Issue Links

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

          Activity

            People

              Eddy Edward Welbourne
              jirauser46604 user-efdf0 (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes