← Back to team overview

ubuntu-sdk-bugs team mailing list archive

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

 

It's a cosmetic or usability issue that doesn't limit the functionality
of a non-core package.

** Changed in: qtdeclarative-opensource-src (Ubuntu)
   Importance: Undecided => Low

** Also affects: hundredpapercuts
   Importance: Undecided
       Status: New

** Changed in: hundredpapercuts
       Status: New => Confirmed

** Changed in: hundredpapercuts
   Importance: Undecided => Low

-- 
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/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


References