Text under icons not centered when 1 line name

Bug #774456 reported by Wouter Vandenneucker
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
lxlauncher (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: lxlauncher

I noticed that the text under the LXLauncher icons isn't centered when the appname only takes up 1 line.

I downloaded the LXLauncher source and found:
    /* Adjust the size of label and set line wrapping is needed.
     * FIXME: this is too dirty, and the effect is quite limited.
     * However, due to the unfortunate design flaws of gtk+, the
     * only way to overcome this might be implement our own label class.
     */

So I guess people are aware of this.

On the Lubuntu IRC chat jmarsden said:
<jmarsden> I'd guess the name is centered within a text box and then that box is being placed on the left of some larger enclosing box. Example: if you look in the Work tab of lxlauncher in a fresh install of lubuntu-11.04.iso, the "Open box session" text is centered but placed so it does not extend beyond the right edge of its icon, but does extend well to the left of that icon.

Regardless of the fact that this is just a cosmetic issue, I believe this bug makes lubuntu netbook look less attractive

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lxlauncher (Ubuntu):
status: New → Confirmed
Revision history for this message
Mattia Rizzolo (mapreri) wrote :

Looks like this patch (from a developer of an in-develop derivative of ubuntu for Italian schools, here the original: https://code.google.com/p/wiildos/source/browse/lxlauncher/03_allign_labels.patch, the attached is renamed, refreshed, and with a neater header) resolve the issue.

tags: added: patch
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "14_align_labels.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

Revision history for this message
LStranger (andrej-rep) wrote :

This patch was accepted by upstream and is included into version 0.2.4 which was released recently. Thank you very much.

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

confirmed fail with lxlauncher 0.2.3-1 in utopic.
confirmed pass with lxlauncher 0.2.4-1 in vivid.

thus, fix released and low.

Changed in lxlauncher (Ubuntu):
status: Confirmed → Fix Released
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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