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 578552 - Animate icon while connection is in progress
Animate icon while connection is in progress
Status: RESOLVED WONTFIX
Product: gnome-shell
Classification: Core
Component: system-status
unspecified
Other All
: Normal enhancement
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2009-04-09 21:58 UTC by Lennart Poettering
Modified: 2016-11-11 11:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
mockup (107.08 KB, image/png)
2009-04-13 10:16 UTC, Andreas Nilsson
Details
first try (7.13 KB, image/png)
2009-04-18 18:19 UTC, Andreas Nilsson
Details

Description Lennart Poettering 2009-04-09 21:58:08 UTC
Please describe the problem:
It would be nice if the applet icon would show some kind of feedback while a connection is being established (both incoming and outgoing), and while it is established. 

One option would be to flash the BT icon with a higher-saturated version while connection is being established, and have that version steady while it is established.

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Bastien Nocera 2009-04-12 18:02:52 UTC
Added to:
http://live.gnome.org/GnomeArt/ArtRequests

I'd rather see a proper icon for this, based on the current Bluetooth icon. Something like http://www.adobe.com/devnet/devices/articles/packing_lite/fig03.jpg but animated
Comment 2 Andreas Nilsson 2009-04-13 10:03:36 UTC
What about changing the icon into a spinner, or overlay a spinner icon on top of the bluetooth icon?
Is that doable in code?
Comment 3 Andreas Nilsson 2009-04-13 10:16:29 UTC
Created attachment 132584 [details]
mockup

I was thinking about doing this for Network Manager too, so it would match.
Comment 4 Jones Lee 2009-04-17 00:25:04 UTC
Is it possible to use MNG?
Comment 5 Bastien Nocera 2009-04-17 00:46:17 UTC
(In reply to comment #3)
> Created an attachment (id=132584) [edit]
> mockup

You can't really see whether something is happening though, or why. A spinner that includes the Bluetooth icon would be best, animated or not (as long as it shows the current state).

> I was thinking about doing this for Network Manager too, so it would match.

The lit-up bubbles in the NM icon actually have a meaning. But that's something for you to discuss with Dan I guess.
Comment 6 Andreas Nilsson 2009-04-17 01:05:09 UTC
Jones: no, but Sven is working on apng support for GTK+ if I recall correctly.

Bastien: Ok, I'll see what I can put together.
My NM wip use the lit up thing as well, but combined with the spinner, so no worry.
Comment 7 Andreas Nilsson 2009-04-18 18:19:03 UTC
Created attachment 132873 [details]
first try

I don't know, feels a bit odd. Just 22x22 for now, as I want to know if it works first or not.
Comment 8 Bastien Nocera 2009-06-05 10:38:07 UTC
That looks good to me, although it might be a little too many frames, no? Other than that, looks good to me.
Comment 9 Andreas Nilsson 2009-06-11 10:15:54 UTC
It uses the same amount of frames as the spinner in Nautilus, Firefox etc. and I think we want the spinners across GNOME to go the same speed.
Comment 10 Bastien Nocera 2009-06-11 10:21:49 UTC
OK. I'll try and write some code that can use it then.
Comment 11 Bastien Nocera 2009-07-26 15:18:18 UTC
Add support for tracking the "connecting" status in gnome-bluetooth.

commit 3c8e44c6a1a8da7c227325832774609d9147e425
Author: Bastien Nocera <hadess@hadess.net>
Date:   Sun Jul 26 16:13:26 2009 +0100

    Update test client for status changes
    
    The test client now knows whether a service is connecting.

commit a12e21c00be17b389f3a59bceddba867e8253759
Author: Bastien Nocera <hadess@hadess.net>
Date:   Sun Jul 26 16:12:46 2009 +0100

    Mark services as connecting
    
    When the service supports it, mark them as "connecting" when
    a connection is taking place. Only works for audio devices
    right now.

commit 67eefcec6c2ace3e3e1f49fc1f7ca0c3bdc2cfd1
Author: Bastien Nocera <hadess@hadess.net>
Date:   Sun Jul 26 16:11:54 2009 +0100

    Add status enumeration
    
    To mark services as being connected, disconnected, or
    connecting.
Comment 12 Bastien Nocera 2009-07-26 16:33:53 UTC
I just tested this (though it will need more work), but the spinner isn't aligned with itself for the later frames.

On the first few frames, the spinner is a couple of pixels nearer the top of the icon, which then shifts down for the later frames.

To be honest, I'm not sure this needs to be an animation. A single icon which shows that a connection is in progress will probably be just as good, especially considering that Jon is trying to simplify the notification area icons (as on Windows 7 and MacOS X) to be simpler/monochrome.
Comment 13 Luca Cavalli 2009-09-07 13:53:36 UTC
Andreas, what about having the spinner white, instead of 
black?
Comment 14 Jakub Steiner 2009-09-10 19:59:24 UTC
Animation can be quite distracting. Can the animation be triggered automatically without user intervention? In that case I'd strongly suggest to avoid it. It's acceptable if it only animates as a direct consequence of user selecting to find a device or somesuch.
Comment 15 Lennart Poettering 2009-09-10 20:13:43 UTC
(In reply to comment #14)
> Animation can be quite distracting. Can the animation be triggered
> automatically without user intervention? In that case I'd strongly suggest to
> avoid it. It's acceptable if it only animates as a direct consequence of user
> selecting to find a device or somesuch.

Yes, already for power management reasons BT connections are generally only set up on user request. The request either comes from the PC itself or from the mobile device. In both cases it is however the user who initiates them.
Comment 16 Fabian Greffrath 2010-01-07 11:58:08 UTC
I'd suggest to overlay an (unanimated) hourglas on top of the bluetooth icon (just where the red X is when disconnected).
Comment 17 Andreas Nilsson 2011-10-11 20:04:22 UTC
It this still needed and desirable under the new shell?
Comment 18 Bastien Nocera 2013-11-30 12:56:56 UTC
The applet is now in gnome-shell. Let's reassign to gnome-shell and think about the UI before we go further implementing this.
Comment 19 Allan Day 2016-11-11 11:55:47 UTC
We're generally avoiding animation in the status icons, for the reasons Jakub explained in comment 14. Closing as wontfix.