ccsm needs an option to change launcher opacity

Bug #815032 reported by LostOverThere
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Unity
Fix Released
Low
Andrea Azzarone
unity (Ubuntu)
Fix Released
Wishlist
Andrea Azzarone

Bug Description

Just like the Unity plug-in in CCSM gives users a chance to change the panel opacity, the plug-in should also provide users with a way to change the launcher's opacity levels.

====================================================

* Time to fix: 2h (in hours)
* Difficulty: normal
* Implementation:

In launcher.cpp the function that takes care of drawing the background is Launcher::DrawContent. Should not be difficult adding a private member to change the alpha of the background and then using this value in DrawContent:

if (_dash_is_open)
{
gPainter.Paint2DQuadColor(GfxContext, bkg_box, _background_color);
}
else
{
/* AA is the current/default alpha value */
gPainter.Paint2DQuadColor(GfxContext, bkg_box, nux::Color(0xAA000000));
}

* Where to look: src/launcher.cpp (for the alpha)
src/unityshell.cpp (for the ccsm option)

* Workflow information: http://unity.ubuntu.com/getinvolved/

Related branches

lp:~azzar1/unity/fix-815032
Neil J. Patel (community): Approve
Marco Trevisan (Treviño): Approve
Marco Biscaro (community): Approve
Diff: 97 lines (+25/-1)
4 files modified
plugins/unityshell/src/Launcher.cpp (+11/-1)
plugins/unityshell/src/Launcher.h (+2/-0)
plugins/unityshell/src/unityshell.cpp (+4/-0)
plugins/unityshell/unityshell.xml.in (+8/-0)
api
Omer Akram (om26er)
Changed in unity (Ubuntu):
importance: Undecided → Wishlist
Launchpad Janitor (janitor)
Changed in unity (Ubuntu):
status: New → Confirmed
Didier Roche-Tolomelli (didrocks)
Changed in unity:
status: New → Confirmed
Andrea Azzarone (azzar1)
Changed in unity:
assignee: nobody → Unity Community Hackers (unity-community-hackers)
Changed in unity (Ubuntu):
assignee: nobody → Unity Community Hackers (unity-community-hackers)
Andrea Azzarone (azzar1)
description: updated
description: updated
Andrea Azzarone (azzar1)
Changed in unity:
assignee: Unity Community Hackers (unity-community-hackers) → Andrea Azzarone (andyrock)
Changed in unity (Ubuntu):
assignee: Unity Community Hackers (unity-community-hackers) → Andrea Azzarone (andyrock)
Changed in unity:
status: Confirmed → In Progress
Changed in unity (Ubuntu):
status: Confirmed → In Progress
Neil J. Patel (njpatel)
Changed in unity:
importance: Undecided → Low
milestone: none → 4.6.0
status: In Progress → Fix Committed
Didier Roche-Tolomelli (didrocks)
Changed in unity:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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

* New upstream release.
- compiz crashed with SIGSEGV in __strlen_sse2() (LP: #814619)
- PlacesHomeView::PlacesHomeView leaks memory (LP: #818450)
- PluginAdapter::MaximizeIfBigEnough leaks memory (LP: #818477)
- Launcher - Make Launcher left of screen reveal more responsive and less
prone to false positives (LP: #765819)
- Launcher - clicking on a App launcher icon incorrectly un-minimizes
windows (LP: #783434)
- Unity doesn't get any mouse wheel scroll event in Indicators InputArea
(LP: #814574)
- Unity launcher gets cluttered when having multiple partitions and/or
external volumes attached (LP: #713423)
- Unity panel menus and indicators slow to respond. Too much lag.
(LP: #742664)
- In Unity the distinction between GVolume, GDrive and GMount is a bit
confusing. (LP: #799890)
- Launcher - When a item is deleted by dragging to Trash, the trash should
pulse once before the Launcher disappears (LP: #750311)
- ccsm needs an option to change launcher opacity (LP: #815032)
- add a ccsm option to hide volumes in launcher (LP: #794707)
- scale plugin doesn't work as desired when "Click Desktop To Show
Desktop" is true (LP: #810315)
- mute/unmute sound when user clicks on sound applet using scroll button
or middle mouse button (LP: #609860)
- Secondary activate (i.e. middle click) support for indicators advanced
usage (LP: #812933)
* debian/control:
- dep on latest libunity-misc
- dep on latest nux
- add build-dep on libgnome-desktop-3-dev
* debian/rules:
- bump libunity-core-4.0-4 shlib for ABI break
- don't ship unity dialogs right now. Not ready for alpha quality
* distro-patch the grey to darker grey (until the blur is done in nux)
* Switch to dpkg-source 3.0 (quilt) format
* debian/patches/01_revert_removed_function_for_unity2d_to_build.patch:
- revert a removed API making unity-2d not building
-- Didier Roche <email address hidden> 2011年8月01日 19:53:15 +0200

Changed in unity (Ubuntu):
status: In Progress → Fix Released
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.

AltStyle によって変換されたページ (->オリジナル) /