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

REG: mapboxgl maps corrupt native text

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.9.2, 5.10
    • Fix Version/s: 5.9.2
    • Labels:
      None
    • Environment:
      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

        For Gerrit Dashboard: QTBUG-62861
        # Subject Branch Project Status CR V

          Activity

            People

            • Assignee:
              tmpsantos Thiago Marcos P. Santos
              Reporter:
              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