← Back to team overview

touch-packages team mailing list archive

[Bug 1294940] Re: Text.AlignJustify does not properly justify text

 

No change with Qt 5.3.2 either, but seems to be fixed with the upcoming
Qt 5.4.0, see attachment. There's however no strict ETA at the moment on
when Qt 5.4 would land in Ubuntu. More information about Qt testing at
https://wiki.ubuntu.com/Touch/QtTesting.

** Attachment added: "text-wrap_Qt 5.4.0.png"
   https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1294940/+attachment/4273433/+files/text-wrap_Qt%205.4.0.png

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

Title:
  Text.AlignJustify does not properly justify text

Status in One Hundred Papercuts:
  Confirmed
Status in qtdeclarative-opensource-src package in Ubuntu:
  Confirmed

Bug description:
  Consider the following QML scene:

      import QtQuick 2.0
      
      Rectangle {
          width: 200
          height: 200
          color: "white"
      
          Text {
              anchors.fill: parent
              anchors.margins: 10
              horizontalAlignment: Text.AlignJustify
              text: "aaaaaa aaaaaa aaa aaa" +
                    "aaa aaa aaa aaa aaa " +
                    "aaa aaa aaa aaa aaa"
              wrapMode: Text.WordWrap
          }
      }

  Attempting to run the file in qmlscene results in the attached
  screenshot. Clearly the text is not justified (as one would expect)
  and is instead left-aligned.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: qmlscene 5.2.1-3ubuntu10
  ProcVersionSignature: Ubuntu 3.13.0-17.37-generic 3.13.6
  Uname: Linux 3.13.0-17-generic x86_64
  ApportVersion: 2.13.3-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Wed Mar 19 19:04:52 2014
  InstallationDate: Installed on 2014-03-16 (3 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140314)
  ProcEnviron:
   LANGUAGE=en_CA:en
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_CA.UTF-8
   SHELL=/bin/bash
  SourcePackage: qtdeclarative-opensource-src
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1294940/+subscriptions