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

Strange characters in several widgets since 6.2.1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.2.1
    • Widgets: Itemviews
    • None
    • Windows

    Description

      I get strange characters in QTableView, QDateEdit, etc.

      All widgets that probably have some Delegate that draws stuff.

      I think it has to do with returning types, other than strings from the model.

      E.g.: QDateEdit

      But also, when I return from the data() function in the model:

       

      int count = 5;
      (...)
      if (role == Qt::DisplayRole) {
         return count;
      }
      

       

      I get these strange characters; however, when I return:

       

      if (role == Qt::DisplayRole) {
         return QString::number(count);
      }
      

       

      I get '5'.

       

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            hansdijkema Hans Dijkema
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes