After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 590429 - implement active application area
implement active application area
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 590495 (view as bug list)
Depends on: 590503
Blocks:
 
 
Reported: 2009-08-01 03:49 UTC by Colin Walters
Modified: 2010-04-12 22:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Bug 590429 - Display startup notification (13.08 KB, patch)
2009-08-02 04:44 UTC, Colin Walters
none Details | Review
panel: Switch to fully dynamic layout (12.46 KB, patch)
2009-08-07 04:38 UTC, Colin Walters
none Details | Review
Application menu area (4.86 KB, patch)
2009-08-07 04:38 UTC, Colin Walters
none Details | Review
Application menu area (16.90 KB, patch)
2009-08-07 05:43 UTC, Colin Walters
none Details | Review
panel: Switch to fully dynamic layout (12.84 KB, patch)
2009-08-10 19:12 UTC, Dan Winship
reviewed Details | Review
Application menu area (16.89 KB, patch)
2009-08-10 19:12 UTC, Dan Winship
reviewed Details | Review

Description Colin Walters 2009-08-01 03:49:12 UTC
We should have some story on startup notification.  Random ideas:

* Flashing app icon next to Activities
* A Chrome (the browser)-like transient overlay status line in the bottom left
Comment 1 Colin Walters 2009-08-02 04:44:55 UTC
Created attachment 139715 [details] [review]
Bug 590429 - Display startup notification

This is a cut at some form of startup notification; we display a
pulsing icon next to Activities.
Comment 2 Colin Walters 2009-08-02 20:17:38 UTC
Should be application based and follow the design here http://www.gnome.org/~mccann/shell/design/GNOME_Shell-20090705.pdf
Comment 3 Dan Winship 2009-08-05 13:40:43 UTC
doesn't work with the current 590503 patch
Comment 4 Colin Walters 2009-08-07 04:38:47 UTC
Created attachment 140084 [details] [review]
panel: Switch to fully dynamic layout

There was lots of fixed positioning in the Panel; now it is completely
dynamic, and width/height is driven from main.js.  We still have a
global constant Panel.PANEL_HEIGHT, but this is a big step towards
eliminating it.

Also, this avoids overdraw in the "way too many tray icons" case.  The
clock will shift left.
Comment 5 Colin Walters 2009-08-07 04:38:58 UTC
Created attachment 140085 [details] [review]
Application menu area

Initial application menu area; just displays active application
window.
Comment 6 Colin Walters 2009-08-07 04:44:24 UTC
*** Bug 590495 has been marked as a duplicate of this bug. ***
Comment 7 Colin Walters 2009-08-07 05:43:26 UTC
Created attachment 140087 [details] [review]
Application menu area

Add an application menu area which displays the currently
active application, and also displays startup notification.

When launching an app, de-focus the current window, as per the
design.
Comment 8 Dan Winship 2009-08-10 19:12:06 UTC
Created attachment 140365 [details] [review]
panel: Switch to fully dynamic layout

rebase around the hotspot changes
Comment 9 Dan Winship 2009-08-10 19:12:17 UTC
Created attachment 140366 [details] [review]
Application menu area

rebase
Comment 10 Dan Winship 2009-08-10 19:32:04 UTC
(In reply to comment #8)
> Created an attachment (id=140365) [edit]
> panel: Switch to fully dynamic layout

Seems a little odd to be fully implementing height-for-width allocation, etc, when the design has a fixed size, but ok.

+            childBox.x1 = box.x2-rightWidth;

whitespace

(In reply to comment #9)
> Created an attachment (id=140366) [edit]
> Application menu area

+        Main.overlay.connect('shown', Lang.bind(this, function () {
+            this.actor.opacity = 192;
+        }));

might be better to use 'showing', so that it fades when the overview *starts* animating in, rather than when it finishes.

+    _startPulseDown: function(box) {
+        Tweener.addTween(box, { time: 0.5, opacity: 16, transition: "easeOutQuad",

+    _startPulseUp: function(box) {
+        Tweener.addTween(box, { time: 0.5, opacity: 255, transition: "easeOutQuad",

it would probably look better if you use an InOut transition here (eg, "easeInOutQuad") so that the opacity follows a sinusoidal curve rather than a wave-shaped one

+          (GBoxedCopyFunc)sn_startup_sequence_ref,

sn_startup_sequence_ref() is void, so can't be used directly as a copy func

+/**
+ * sn_startup_sequence_create_icon:

wrong function name (s/sn/shell/) which makes gir-scanner ignore it, which makes the (transfer none) annotation be ignored, which makes it crash if you launch the same app twice.


After fixing those two things it works and looks good to me.
Comment 11 Colin Walters 2009-08-11 17:39:26 UTC
Thanks for the review.