GNOME Bugzilla – Bug 578552
Animate icon while connection is in progress
Last modified: 2016-11-11 11:55:47 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:
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
What about changing the icon into a spinner, or overlay a spinner icon on top of the bluetooth icon? Is that doable in code?
Created attachment 132584 [details] mockup I was thinking about doing this for Network Manager too, so it would match.
Is it possible to use MNG?
(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.
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.
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.
That looks good to me, although it might be a little too many frames, no? Other than that, looks good to me.
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.
OK. I'll try and write some code that can use it then.
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.
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.
Andreas, what about having the spinner white, instead of black?
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.
(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.
I'd suggest to overlay an (unanimated) hourglas on top of the bluetooth icon (just where the red X is when disconnected).
It this still needed and desirable under the new shell?
The applet is now in gnome-shell. Let's reassign to gnome-shell and think about the UI before we go further implementing this.
We're generally avoiding animation in the status icons, for the reasons Jakub explained in comment 14. Closing as wontfix.