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

REG: mapboxgl maps corrupt native text

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.9.2
    • 5.9.2, 5.10
    • None
    • Ubuntu 16.04 64bit
      GeForce GT 520
      Driver Version: 375.66

    Description

      Native text renders corrupted when a mapboxgl map is present in the application

      import QtQuick 2.7
      import QtQuick.Window 2.2
      import QtLocation 5.9
      
      Window {
          visible: true
          width: 640
          height: 480
          title: qsTr("Hello World")
          id: root
      
          Map {
              id: map
              anchors.fill: parent
              zoomLevel: 10
              plugin: Plugin {
                  name: "mapboxgl"
              }
      
              Text {
                  id: textEdit
                  text: "<font color='#41CD52'>" + qsTr("Thanks for your attention!") + "</font>"
                  font.pixelSize: parent.height * 0.11
                  font.weight: Font.Bold
                  style: Text.Outline
                  styleColor: "black"
                  verticalAlignment: Text.AlignVCenter
                  anchors.centerIn: parent
                  renderType: Text.NativeRendering
      
              }
          }
      }
      

      Attachments

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

        Activity

          People

            tmpsantos Thiago Marcos P. Santos
            paangele Paolo Angelelli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes