UIFe: Unity Dash button does not give adequate feedback
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Ayatana Design |
Fix Released
|
Undecided
|
Unassigned | ||
| Unity |
Fix Released
|
High
|
Marco Biscaro | ||
| unity-2d |
Fix Released
|
Undecided
|
Unassigned | ||
| unity (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
| unity-2d (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
I've been using Unity, and one thing that I noticed is that the button to bring up the Dash does not appear "pressed" when the Dash is up. In Maverick's U2D repository, whenever the Dash is open, the button appears "pressed". This makes it obvious how to turn the Dash "off", unlike the experience on Natty right now.
Related branches
- Didier Roche-Tolomelli: Approve
-
Diff: 182 lines (+77/-5) 4 files modifiedapisrc/PanelHomeButton.cpp (+64/-3)
src/PanelHomeButton.h (+5/-0)
src/PanelStyle.cpp (+6/-2)
src/PanelStyle.h (+2/-0)
Good catch.
status confirmed
I think this is a duplicate of bug #747541
I say that's exactly what I'd want in Ubuntu, but I think we need Mark's opinion.
Yeah, requesting design to have a look :)
Otherwise, very nice work Marco!
+ UIFe: Unity Dash button does not give adequate feedback
Could someone of design team take a look on this?
Actually, at moment, the big freaking button is not a button: it's a part of panel that, when clicked, opens the dash (maybe we could call it 'bfpoftod' - big freaking part of panel that opens dash - instead of 'bfb' :-P).
The clicked state will turn it more like a button and I think this is important to ship in natty.
Please consider this.
+1, this is a bug. My apologies for not seeing the correspondence sooner. If it's possible to fix in Natty, I think it's a low-risk change which clarifies the behaviour substantially.
Should be bfb behave then like an indicator (orange background when open)? I am not sure the button is the right metaphor, also because as described here sounds more like a toggle button.
Yes, there are definite problems, I'm just going on the basis that "some
state indication" is better than none.
I did some work on this over the last few cycles which does seem to have been omitted now. Our previous solution only worked successfully under Ambiance - inverting the panel gradient vertically over the BFB Button to give the illusion of a press and make the surface appear concave. Now that we support theming this won't have any effect other than in Ambiance/Radiance. Could we use Marco's tinting but aim to solve the omission above and combine the two?
If this is being solved in code, please bare in mind that the solution for:
bug #532309 ("Light-themes: gnome-panel background does not scale beyond 24 pixels")
will likely result in the panel-background being expanded vertical with a flat colour before the gradient. Simply turning the input texture up-side-down without taking note of the transformation geometry may not result in the desired concave look. A simply overlay as proposed by Marco in comment #4 shouldn't have a problem with this.
@Marco: do you want to have a try on that?
Yep! I'll take a look on this.
- pressed.png Edit (14.9 KiB, image/png)
Considering Paul's comment, I've done the following change:
For Ambiance or Radiance themes: load the background panel upside-down and draw it.
For other themes: just draw the translucent overlay (RGBA: 100%, 100%, 100%, 30%).
Please see the last attached screenshot.
nb. any fix for this needs to take account/be parallel to bug #748676 ("UIFe: Unity Dash button does not give adequate feedback").
@Paul: I think you've commented in the wrong bug report.
@Marco - Good job, thanks - it looks great :)
@ Paul - I have been discussing this with Cimi, we're using a PNG at the moment but maybe we could be using a vector-based asset that would allow for scaling.
Thanks guys!
Otto: I don't think the problem is the asset itself (gradients tend to scale fairly well), but a problem of how to tell the theme engine to scale to match the panel height.
Cimi: do you know if Murrine can (currently) do the scaling, or is the best approach still to just enlarge the pixmap to 128 with a solid fill below pixel 25?
Thanks *you* Marco :)
See my comment on the merge request about my additional (small) commit ;)
murrine has no control over background pixmaps
@Didier: I've saw your little (but that makes a big difference!) change. It really looks better with vertical offset too.
This bug was fixed in the package unity - 3.8.10-0ubuntu1
---------------
unity (3.8.10-0ubuntu1) natty; urgency=low
* New upstream release.
- Application windows can sometimes fail to display and will mask regions
of the screen (LP: #709461)
- Launcher appears _under_ application windows (LP: #743834)
- Unity Launcher Temporarily Appears Broken at Login (LP: #756951)
- compiz crashed with signal 7 in g_file_get_uri() (LP: #728319)
- Only with few windows (and one maximized) or Dodge active window - When
re-focusing on maximised window Unity launcher does not hide
(LP: #734681)
- UIFe: Unity Dash button does not give adequate feedback (LP: #748676)
- Focus problem with Thunderbird (LP: #753951)
- compiz crashed with SIGSEGV in PrivateWindow:
(LP: #759363)
- unity places don't start up on login. (LP: #761225)
- unity crashes when emptying trash twice (LP: #761643)
- compiz crashed with SIGSEGV in PlacesResultsCo
(LP: #761211)
- compiz crashed with SIGSEGV in PanelView:
- compiz crashed with SIGSEGV in SimpleLauncherI
(LP: #763560)
- compiz crashed with SIGSEGV in PlacesView:
- Intellihide stuck with in x=0 on the bfb (LP: #764643)
- compiz crashed with SIGSEGV in PlacesView:
- unity crashed with GError in reset_unity_
contact configuration server; the most common cause is a missing or
misconfigured D-Bus session bus daemon. See
http://
to get connection to session: Command line `dbus-launch
-
stderr' exited with non-zero exit status 1: No protocol
specified
- Chromium fullscreen + Alt-TAB confuses the launcher (LP: #757434)
- Cannot click on left-most indicator on panel if a non-indicator icon
appears (LP: #761409)
- vim.gnome window is invisible (LP: #719001)
- Trash/ws switcher icon in unity resets to default icon theme on the
event of a deletion or emptying the trash or after an upgrade
(LP: #761289)
- Incorrect keynav hilight/opened Quicklist without any request
(LP: #764730)
- indicator font does not update when changing font in Appearance
Preferences. (LP: #759886)
- In dash search filter drop box, black text is on a black background when
item is selected (LP: #761201)
-- Didier Roche <email address hidden> 2011年4月19日 19:30:20 +0200