Launcher starts with default size then jumps to configured one on login

Bug #1099815 reported by Roman Yepishev
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Unity
Fix Released
Low
Marco Trevisan (Treviño)
unity (Ubuntu)
Fix Released
Low
Marco Trevisan (Treviño)

Bug Description

STR:

1. Set launcher size to 32px in System Settings / Appearance
2. Log out
3. Log in

Expected results:
When launcher appears, it is 32px wide.

Actual results:
Launcher appears at full size (64px?) then switches to the configured width after a little while.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: unity 6.12.0daily13.01.11.2bzr3040pkg0raring135 [origin: LP-PPA-unity-team-staging]
ProcVersionSignature: Ubuntu 3.8.0-0.3-generic 3.8.0-rc3
Uname: Linux 3.8.0-0-generic x86_64
ApportVersion: 2.8-0ubuntu1
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CrashDB: unity
Date: Tue Jan 15 14:07:32 2013
InstallationDate: Installed on 2013-01-04 (11 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130104)
MarkForUpload: True
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Roman Yepishev (rye) wrote :
Changed in unity:
milestone: none → 7.0.0
Revision history for this message
Brandon Schaefer (brandontschaefer) wrote :

Thank you for reporting this bug. I can confirm this here.

The cause is launcher is created and gets drawn before the icon size is set (though the CCSM options). The fix would most likely be in unity/plugin/unityshell/src/unityshell.cpp (its a huge file). Looks for launcher_controller_ (line ~3216) and where it gets created (with an std::make_shared). You will most likely have to change the launcher_options_ icon size right away vs waiting for it to get set. Right after this we should most likely try and set the icon size from compiz. We currently are setting it here:
 case UnityshellOptions::IconSize: (about line ~3039).

Hopefully this gives enough info to help get started :).

Changed in unity:
status: New → Triaged
importance: Undecided → Low
Changed in unity (Ubuntu):
status: New → Confirmed
tags: added: bitesize
Changed in unity (Ubuntu):
status: Confirmed → In Progress
Changed in unity:
status: Triaged → In Progress
Changed in unity (Ubuntu):
importance: Undecided → Low
Changed in unity:
assignee: nobody → Brandon Schaefer (brandontschaefer)
Changed in unity (Ubuntu):
assignee: nobody → Brandon Schaefer (brandontschaefer)
Changed in unity:
assignee: Brandon Schaefer (brandontschaefer) → Marco Trevisan (Treviño) (3v1n0)
Changed in unity (Ubuntu):
assignee: Brandon Schaefer (brandontschaefer) → Marco Trevisan (Treviño) (3v1n0)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:unity at revision None, scheduled for release in unity, milestone backlog

Changed in unity:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity - 6.12.0daily13.04.01-0ubuntu1

---------------
unity (6.12.0daily13.04.01-0ubuntu1) raring; urgency=low

  [ Marco Trevisan (Treviño) ]
  * Launcher starts with default size then jumps to configured one on
    login (LP: #1099815)
  * Launcher - Open Trash window prevents Nautilus being launched when a
    user clicks on the Nautilus Launcher icon (LP: #753938)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 3263
 -- Ubuntu daily release <email address hidden> Mon, 01 Apr 2013 04:02:55 +0000

Changed in unity (Ubuntu):
status: In Progress → Fix Released
Changed in unity:
status: Fix Committed → New
Revision history for this message
Brandon Schaefer (brandontschaefer) wrote :

@arthur

Fix committed means the fix has been committed to the code base, and not yet released. If you have compiled unity from trunk and are still experiencing this problem please let us know please.

Changed in unity:
status: New → In Progress
status: In Progress → Fix Committed
Revision history for this message
Stephen M. Webb (bregma) wrote :

Fix Released in Unity Unity 7.0.0 "R series".

Changed in unity:
status: Fix Committed → 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.