Multi-line subtitles are not supported

Bug #1414870 reported by Chris Wayne
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity8 (Ubuntu)
Fix Released

Bug Description

Note the title is properly cut off with .., while the subtitle just runs off the screen

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: unity8 8.00+14.10.20141013.2-0ubuntu1
ProcVersionSignature: Ubuntu 3.16.0-28.38-generic 3.16.7-ckt1
Uname: Linux 3.16.0-28-generic x86_64
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Jan 26 21:03:54 2015
InstallationDate: Installed on 2014-10-11 (107 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
SourcePackage: unity8
UpgradeStatus: Upgraded to utopic on 2014-10-20 (98 days ago)

Related branches

Revision history for this message
Chris Wayne (cwayne) wrote :
Michał Sawicz (saviq)
Changed in unity8 (Ubuntu):
status: New → Triaged
importance: Undecided → High
assignee: nobody → Andrea Cimitan (cimi)
Andrea Cimitan (cimi)
Changed in unity8 (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Albert Astals Cid (aacid) wrote :

Chris, which scope is the screenshot from?

Revision history for this message
Albert Astals Cid (aacid) wrote :


Revision history for this message
Albert Astals Cid (aacid) wrote :

The subtitle has \n which is what is breaking it.

I'm not sure we want to support that use case to be honest

Revision history for this message
Albert Astals Cid (aacid) wrote :

Copying some IRC

[17:47:30] <tsdgeos> Saviq: basically subtitles with \n are cut
[17:47:38] <tsdgeos> it's something we want to support?
[17:48:36] <Saviq> tsdgeos, no
[17:49:08] <Saviq> tsdgeos, so we should sanitize on input?
[17:49:17] <Saviq> and s/\n//
[17:49:25] <tsdgeos> Saviq: but then it'll look crap (i.e. not as they want)
[17:49:51] <Saviq> tsdgeos, we don't support multi-line subtitles, per design
[17:50:03] <Saviq> tsdgeos, do we not have a maximumLineCount: 1 there? we should
[17:51:49] <tsdgeos> Saviq: we don't
[17:52:07] <tsdgeos> Saviq: adding it "fixes" it
[17:52:16] <tsdgeos> not sure cwayne_ et al will be happy with the fix :D
[17:52:23] <Saviq> well, that's the design

Michał Sawicz (saviq)
summary: - Result subtitles are cut off
+ Multi-line subtitles are not supported
Changed in unity8 (Ubuntu):
status: In Progress → Won't Fix
assignee: Andrea Cimitan (cimi) → nobody
Revision history for this message
Andrea Cimitan (cimi) wrote :

Linked branch, setting maximum lines to 1

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity8 - 8.02+15.04.20150224-0ubuntu1

unity8 (8.02+15.04.20150224-0ubuntu1) vivid; urgency=medium

  [ Albert Astals Cid ]
  * Dash manage hint should not be visible in previews+test (LP:
  * Do not declare the hostname property twice
  * Fix some warnings in Mock Notifications
  * Make qmluittests pass with Qt 5.4
  * Preserve the aspect ratio for the card attribute images (LP:
  * Update qmltypes

  [ Andrea Cimitan ]
  * Add maximumLineCount for subtitle label in cards (LP: #1414870)

  [ Michael Terry ]
  * Move the gschema file to data/ and install it via cmake, not dpkg.
  * Refactor the greeter code to be more compartmented and isolatable.
  * Silence a couple qml warnings. (LP: #1423286)
  * Wait for libqofono to finish initializing before we decide whether
    to skip the wizard's SIM page or not.

  [ Michael Zanetti ]
  * enable revealing the launcher by hitting the left edge using the

  [ Ying-Chun Liu ]
  * Add Autopilot Notification helper.
 -- CI Train Bot <email address hidden> Tue, 24 Feb 2015 10:17:16 +0000

Changed in unity8 (Ubuntu):
status: Won't Fix → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.