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

Strange characters in several widgets since 6.2.1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: 6.2.1
    • Fix Version/s: None
    • Component/s: Widgets: Itemviews
    • Labels:
      None
    • Platform/s:
      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

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            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