← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1285184] Re: Squares in text where carriage returns should be

 

Seeing this with in-line HTML as well. Both in Ubuntu.Components Label
and QtQuick Text.

Example:


import QtQuick 2.0
import Ubuntu.Components 0.1


Rectangle {
    width: units.gu(40)
    height: units.gu(30)

    Text{
        anchors.fill: parent
        text: "<h1>Bug</h1><br><p>Line breaks are shown.</p>"
    }
}


** Also affects: qtdeclarative-opensource-src (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtdeclarative-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1285184

Title:
  Squares in text where carriage returns should be

Status in Ubuntu UI Toolkit:
  Confirmed
Status in “qtdeclarative-opensource-src” package in Ubuntu:
  New

Bug description:
  In some apps I've noticed under qt5.2 that there are boxes in text.

  For example the app 'Eyire' in the store shows boxes in the "About"
  page. This is the code in the About.qml:-

                          text: "Author: Mike Sheldon <elleo@xxxxxxx>\n\nReleased
  under the GPL, version 3.0 or later.";

  The boxes appear where the "\n" is. There seems to be a valid carriage
  return along with these spurious boxes. Other apps are similarly
  affected.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1285184/+subscriptions