Ellipsized values in size filter

Bug #851359 reported by Luca Ferretti on 2011-09-15
74
This bug affects 11 people
Affects Status Importance Assigned to Milestone
Unity
Fix Released
High
Mirco Müller
unity-lens-files
High
Unassigned
unity (Ubuntu)
High
Mikkel Kamstrup Erlandsen

Bug Description

As you can see in attached screenshot, all labels in size filter buttons are ellipsized to "..."

I suspect this could depend on current (Italian) translation: I've added a space between number and unit in all those strings, as required by local conventions ("1KB" > "1 kB", "10MB" > "10 MB" and so on, see [1] and subsequent). I'll check it in original English version ASAP.

Ideally, buttons should resize themself in order to make room for labels, but if this is impossibile, could be good to prevent translation by now, and find a proper solution in 12.04

https://translations.launchpad.net/ubuntu/oneiric/+source/unity-lens-files/+pots/unity-lens-files/it/16/+translate

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: unity-lens-files 0.6.6-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic x86_64
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
Date: Thu Sep 15 23:21:21 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901)
SourcePackage: unity-lens-files
UpgradeStatus: Upgraded to oneiric on 2011-09-13 (2 days ago)

Related branches

Luca Ferretti (elle.uca) wrote :
Changed in unity-lens-files (Ubuntu):
status: New → Confirmed
Changed in unity-lens-files (Ubuntu):
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
Didier Roche (didrocks) on 2011-09-19
Changed in unity:
milestone: none → 4.18.0
status: New → Triaged
importance: Undecided → High
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
Changed in unity-lens-files:
status: New → Triaged
Changed in unity-lens-files (Ubuntu):
status: Confirmed → Triaged
Changed in unity-lens-files:
importance: Undecided → High
Changed in unity-lens-files (Ubuntu):
importance: Undecided → High
Jay Ó Broin (ismise) wrote :

This also occurs when the language is set to Canadian English, see attached screenshot.

Mirco Müller (macslow) wrote :

What I would suggest to do here is have a dynamic padding used (passed to) for the text-rendering call in class DashStyle. That the best/fasted way to fix this for most cases. It's mostly a rendering issue. Mikkel, poke me if you want to off-load this to me or ask me for hints, if you want to tackle it yourself.

Changed in unity:
milestone: 4.18.0 → 4.20.0
Mirco Müller (macslow) on 2011-09-26
Changed in unity:
assignee: Mikkel Kamstrup Erlandsen (kamstrup) → Mirco Müller (macslow)
status: Triaged → In Progress
Mystic-Mirage (mystic-mirage) wrote :

Also the category filter buttons shorts long labels in some locales (Russian).

Mystic-Mirage (mystic-mirage) wrote :

 Se screenshot attached.

Adolfo Jayme (fitojb) wrote :

This also happen in Decade filter of Music lens.

Mirco Müller (macslow) on 2011-09-29
Changed in unity:
status: In Progress → Fix Committed
Didier Roche (didrocks) on 2011-09-29
Changed in unity-lens-files:
status: Triaged → Invalid
affects: unity-lens-files (Ubuntu) → unity (Ubuntu)
Didier Roche (didrocks) on 2011-09-29
Changed in unity:
status: Fix Committed → Fix Released
Changed in unity-lens-files:
status: Invalid → Fix Released
Launchpad Janitor (janitor) wrote :
Download full text (5.7 KiB)

This bug was fixed in the package unity - 4.20.0-0ubuntu1

---------------
unity (4.20.0-0ubuntu1) oneiric; urgency=low

  * New upstream release + cherry-pick:
    - compiz crashed with SIGSEGV in PluginClassHandler<UnityWindow,
      CompWindow, 0>::get() (LP: #835259)
    - dash does not scroll down during keyboard navigation (LP: #852506)
    - compiz crashed with SIGSEGV in _XFreeEventCookies() (LP: #851472)
    - compiz crashed with SIGSEGV in g_object_unref() (LP: #847512)
    - compiz crashed with SIGSEGV in nux::WindowCompositor::MouseEventCycle()
      (LP: #831678)
    - compiz and X can disagree on the stacking order (LP: #845719)
    - compiz crashed with SIGSEGV in unity::dash::LensView::OnResultAdded()
      (LP: #855252)
    - CCSM crashes Unity (LP: #861643)
    - compiz crashed with SIGSEGV in PrivateWindow::addWindowStackChanges()
      (LP: #862115)
    - Touch - When dragging a window with a 3 touch, dragging to the top
      should show the maximize gesture preview. (LP: #750316)
    - compiz crashed with SIGABRT in raise() (LP: #750386)
    - Launcher - Spread should not affect the state of window (LP: #764673)
    - [UIFe] Add system setting icon to Launcher (LP: #764744)
    - compiz crashed with SIGABRT in raise() [Merely unchecking the Unity
      plugin is enough to crash Compiz...] (LP: #823386)
    - Launcher - does not hide if revealed from top 24px of the left edge of
      the screen (LP: #835989)
    - Clickable areas of previously active window remains on 'Show Desktop'
      (LP: #836325)
    - Cannot search for some apps in Dash (LP: #837075)
    - Dash - Search box cursor not responding correctly to focus (LP: #839704)
    - Multi-display: Application menu only showing on primary screen
      (LP: #845212)
    - Ellipsized values in size filter (LP: #851359)
    - (oneiric) dash result expansions don't display icons (LP: #854615)
    - run the wrong command if enter is hit before the view is refreshed
      (LP: #856205)
    - Java application windows cut-off/truncated/not displayed properly
      (LP: #857201)
    - compiz crashed with SIGSEGV in sigc::signal_base::impl() (LP: #831769)
    - Minimizing a window should switch focus to the windows underneath it
      (breaks restore) (LP: #859885)
    - Ratings filter allows ratings > 1.0 (LP: #861255)
    - Serious Unity problem stuck in spread when dragging icons back to the
      dash (LP: #862045)
    - Must use hardware keyboard to perform search for applications in Unity
      (LP: #739812)
    - Files lens should also search Downloads (LP: #748915)
    - The dash crosses the monitor boundary when resolution is 1152x864 or
      lesser width (LP: #765338)
    - Dash - dragging a file outside of the Desktop Dash should close the Dash
      (LP: #764641)
    - Text in Dash search text box overflows and doesn't crop with longer
      strings; RtL input starts in wrong place (LP: #834765)
    - Where the average background colour is either very light or dark, adjust
      this value to darken/lighten in order to preserve readability
      (LP: #837993)
    - Dash does not resize when I connect to an external display and mirror
      displays (LP: #83813...

Read more...

Changed in unity (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers