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

QDateTimeEdit handles DST changes incorrectly

    XMLWordPrintable

Details

    • 924b97d6abf6f9935c9698984a1596c65324e3fa (qt/qtbase/5.15)

    Description

      Please run the attached code and try to change the hours to 3.00 either using the arrow or the up key.
      The QDateTimeEdit becomes empty and it logs:

      QLineEdit::setSelection: Invalid start position (11)
      

      Other issue:

      1. set the hour to 4, (same date) lower the time to 3.
      2. Now the "down" spinner gets disabled.

      Result: it's not possible to jump from hour 3 to hour 1

      Other issue:

      1. set the date to 27/oct/2019
      2. set the hour to 1
      3. advance the hour

      Result: hour 2 is only shown once (without any indicator for DST/standard
      time)

      Attachments

        1. qtbug79803.tar.gz
          2 kB
          Karim Pinter

        Issue Links

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

          Activity

            People

              vhilshei Volker Hilsheimer
              karimpinter Karim Pinter
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes