Progress bar in Unity launcher does not start on the left (there's a small gap)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Fix Released
|
Low
|
Christopher Townsend | ||
unity (Ubuntu) |
Fix Released
|
Low
|
Christopher Townsend | ||
Raring |
Won't Fix
|
Low
|
Unassigned |
Bug Description
Open nautilus
Drag a very large file from one place to another in order to trigger a file copy dialog which will take some time
Observe a progress bar in the nautilus icon in the launcher
Use the 'appearance' dialog to adjust the size of the launcher.
Observe that anything below the default size there is a gap between the start of the losenge and the start of the progress bar.
See attached pictures.
Small.png - 32 pixel width - most prominent
medium.png - 39 pixel width - slightly prominent
large.png - 48 pixel width - default, no issue.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: unity 5.8.0+bzr2188ub
Uname: Linux 3.3.0-030300rc5
ApportVersion: 1.95-0ubuntu1
Architecture: amd64
CompizPlugins: [core,composite
CrashDB: unity
Date: Thu Mar 29 23:22:07 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120203)
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- Brandon Schaefer (community): Approve
-
Diff: 35 lines (+4/-3)1 file modifiedunity-shared/IconRenderer.cpp (+4/-3)
Changed in unity: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in unity (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Confirmed |
summary: |
- progress bars in launcher inconsistent with different sized launcher + Progress bar in Unity launcher does not start on the left (there's a + small gap) |
Changed in unity: | |
milestone: | none → 7.0.0 |
Changed in unity: | |
milestone: | 7.0.0 → 7.0.1 |
Changed in unity: | |
milestone: | 7.0.1 → 7.1.0 |
Changed in unity: | |
status: | Confirmed → In Progress |
assignee: | nobody → Christopher Townsend (townsend) |
Changed in unity (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | nobody → Christopher Townsend (townsend) |
This is due to the offset for the progress bar fill not working as intended. The current way it is being done, it does not scale at all when the icon size is being changed. While debugging this, I also noticed very large icons, ie, size 54, also is incorrect in that the progress bar fill starts too far to the left.
I have figured out what the scaling ratio is (0.125) and will being proposing a merge soon.