Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-11621

Issues rendered partially only

XMLWordPrintable

      When the following Clang output is parsed (all comes in via stderr), the resulting issues are rendered with the last line being cut off when the details are displayed.

      In file included from /home/code/src/creator-stable/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp:30:
      In file included from /home/code/src/creator-stable/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.h:34:
      /home/code/src/creator-stable/src/plugins/qmldesigner/components/propertyeditor/designerpropertymap.h:62:22: warning: address of 'this->m_defaultValue' will always evaluate to 'true' [-Wbool-conversion]
          return QVariant(&m_defaultValue);
                 ~~~~~~~~  ^~~~~~~~~~~~~~
      /home/code/src/creator-stable/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp:139:119: note: in instantiation of member function 'QmlDesigner::DesignerPropertyMap<PropertyEditorValue>::value' requested here
          PropertyEditorValue *valueObject = qobject_cast<PropertyEditorValue*>(variantToQObject(backendValuesPropertyMap().value(propertyName)));
                                                                                                                            ^
      1 warning generated.
      

      Attached you will find screenshots of the issues generated.

      My guess would be that the monospaced font is not taken into account when calculating the height of the issue.

        1. in_instanciation.png
          in_instanciation.png
          17 kB
        2. in_file_included.png
          in_file_included.png
          18 kB
        3. address_of.png
          address_of.png
          17 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            dt Daniel Teske
            hunger Tobias Hunger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes