Tray icon of bluetooth-applet not updated

Bug #428151 reported by Jarno Suni
50
This bug affects 9 people
Affects Status Importance Assigned to Milestone
gnome-bluetooth (Ubuntu)
Fix Released
High
Alexander Sack

Bug Description

Tray icon does not change even if I switch bluetooth on/off by the context-menu item.

OS: karmic

Package: gnome-bluetooth
State: installed
Automatically installed: no
Version: 2.27.8-0ubuntu1

Revision history for this message
Alexander Sack (asac) wrote :

please check if this is still an issue with 2.27.99 now in karmic. Thanks!

Changed in gnome-bluetooth (Ubuntu):
assignee: nobody → Alexander Sack (asac)
status: New → Incomplete
summary: - Tray icon of bluetootg-applet not updated
+ Tray icon of bluetooth-applet not updated
Revision history for this message
Dominik George (natureshadow) wrote :

The problem remains. Now even bluetooth-properties doesn't work anymore:

nik@portux ~ % bluetooth-properties

(bluetooth-properties:9334): Unique-DBus-WARNING **: Error while sending message: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Revision history for this message
Dominik George (natureshadow) wrote :

Related processes on my system:

nik@portux ~ % ps aux | grep blue
root 274 0.0 0.0 0 0 ? S< Sep13 0:00 [bluetooth]
nik 8755 0.0 0.2 182752 11504 ? S 12:00 0:00 bluetooth-applet
root 9100 0.0 0.0 20188 1880 ? S<s 12:01 0:00 /usr/sbin/bluetoothd --udev
nik 9294 0.0 0.2 212832 11648 ? S 12:02 0:00 bluetooth-properties

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 428151] Re: Tray icon of bluetooth-applet not updated

The first .90 package had a bug. please try again after upgrading to
latest. Sorry.

On Tue, Sep 15, 2009 at 10:05:21AM -0000, Dominik George wrote:
> Related processes on my system:
>
> nik@portux ~ % ps aux | grep blue
> root 274 0.0 0.0 0 0 ? S< Sep13 0:00 [bluetooth]
> nik 8755 0.0 0.2 182752 11504 ? S 12:00 0:00 bluetooth-applet
> root 9100 0.0 0.0 20188 1880 ? S<s 12:01 0:00 /usr/sbin/bluetoothd --udev
> nik 9294 0.0 0.2 212832 11648 ? S 12:02 0:00 bluetooth-properties
>

 - Alexander

Revision history for this message
GeorgeVita (8-launchpad-mhnyma-com) wrote :

Hi, after a clean install (daily-live of 15 Sep) and full updates, "turn ON/OFF bluetooth" is not appearing when clicking bluetooth icon. Four options are there: Send files, Browse files, Set up new device, Preference. (new installation means no bluetooth device never used).

Additional info:
g@KKsep15:~$ uname -a
Linux KKsep15 2.6.31-10-generic #34-Ubuntu SMP Wed Sep 16 00:23:19 UTC 2009 i686 GNU/Linux
g@KKsep15:~$ ps -A | grep -i blue
  283 ? 00:00:00 bluetooth
 1492 ? 00:00:00 bluetoothd
 2376 ? 00:00:01 bluetooth-apple
g@KKsep15:~$ uname -a
Linux KKsep15 2.6.31-10-generic #34-Ubuntu SMP Wed Sep 16 00:23:19 UTC 2009 i686 GNU/Linux
g@KKsep15:~$ sudo aptitude show gnome-bluetooth
Package: gnome-bluetooth
State: installed
Automatically installed: no
Version: 2.27.90-0ubuntu2
Priority: optional
Section: gnome
Maintainer: Ubuntu Developers <email address hidden>
Uncompressed Size: 2421k
Depends: libatk1.0-0 (>= 1.20.0), libc6 (>= 2.3.6-6~), libcairo2 (>= 1.2.4), libdbus-1-3 (>= 1.0.2), libdbus-glib-1-2 (>=
         0.78), libfontconfig1 (>= 2.4.0), libfreetype6 (>= 2.2.1), libgconf2-4 (>= 2.23.2), libglib2.0-0 (>= 2.18.0),
         libgnome-bluetooth7 (>= 2.27.8), libgtk2.0-0 (>= 2.16.0), libnotify1 (>= 0.4.5), libnotify1-gtk2.10, libpango1.0-0
         (>= 1.14.0), libunique-1.0-0 (>= 1.0.0), zlib1g (>= 1:1.1.4), gconf2 (>= 2.10.1-2), bluez (>= 4.36), obexd-client
Recommends: gvfs-backends
Suggests: nautilus-sendto, gnome-user-share, geoclue
Conflicts: bluez-gnome
Description: GNOME Bluetooth tools
 This package contains tools for managing and manipulating Bluetooth devices using the GNOME desktop.

 bluetooth-applet provides an agent to ask for PIN and managing pairing with devices, together with bluetooth-properties.

 bluetooth-sendto is also included for sending files to Bluetooth devices via OBEX.
Homepage: http://live.gnome.org/GnomeBluetooth

Regards,
George
(coming from 'duplicate' bug# 420456)
g@KKsep15:~$

Revision history for this message
Dominik George (natureshadow) wrote :

Still no change ...

Revision history for this message
GeorgeVita (8-launchpad-mhnyma-com) wrote :

I am using an EeePC 1000H which has an 'integrated' bluetooth module. You can enable/disable it via BIOS setup (pressing F2 at boot).

When the bluetooth is disabled the 'bluetooth-applet' process is running but the icon is not on top panel. From System > Preferences > Bluetooth you can be informed that you have NO bluetooth connected (accepted as it is disabled from BIOS) .

When the bluetooth is enabled from BIOS, the 'bluetooth-applet' process is running and the icon appears BUT there is no on/off menu (as described on previous posted comments).

You can 'get' the 'good' menu selections doing the following:

Open a terminal window, find the process number of 'bluetooth-applet', kill it, run again 'bluetooth-applet', it is running at DEBUG mode, close the terminal window:

g@KKsep15:~$ ps -A | grep -i blue
  283 ? 00:00:00 bluetooth
 2411 ? 00:00:00 bluetooth-apple
 2429 ? 00:00:00 bluetoothd
g@KKsep15:~$ sudo kill 2411
[sudo] password for g:
g@KKsep15:~$ ps -A | grep -i blue
  283 ? 00:00:00 bluetooth
 2429 ? 00:00:00 bluetoothd
g@KKsep15:~$ sudo bluetooth-applet
** Message: adding killswitch idx 1 state 1
** Message: adding killswitch idx 2 state 1
** Message: Reading of RFKILL events failed
** Message: killswitch 1 is 1
** Message: killswitch 2 is 1
** Message: killswitches state 1
** Message: killswitch 1 is 1
** Message: killswitch 2 is 1
** Message: killswitches state 1

From this time menu selections change in a better way, on/off can be done BUT your 'actions' affect also BIOS flags! Turning off bluetooth module disable BIOS flag and in your next boot the module seems to be 'unpluged'.

If a developer can fix applet to be always in the 'good menu selections' (with on/off function) it helps if also:
- allow user to toggle BIOS flag ("kill switch"?) via System >Preferences > Bluetooth
- OR find the higher level flag to toggle (s/w equivalent but not the BIOS one)
- OR allow to force bluetooth icon always on top panel.

Regards,
George

Revision history for this message
Alexander Sack (asac) wrote :

On Thu, Sep 17, 2009 at 03:48:20PM -0000, GeorgeVita wrote:
> g@KKsep15:~$ sudo bluetooth-applet
> ** Message: adding killswitch idx 1 state 1
> ** Message: adding killswitch idx 2 state 1
> ** Message: Reading of RFKILL events failed
> ** Message: killswitch 1 is 1
> ** Message: killswitch 2 is 1
> ** Message: killswitches state 1
> ** Message: killswitch 1 is 1
> ** Message: killswitch 2 is 1
> ** Message: killswitches state 1
>

Its a rfkill write permission issue. we will add a udev rule for that

 assign asac
 status inprogress
 importance high

 - Alexander

Changed in gnome-bluetooth (Ubuntu):
importance: Undecided → High
status: Incomplete → In Progress
Revision history for this message
Dominik George (natureshadow) wrote :

From what I gather there are a lot mor Udev/HAL/whatever issues. I will try to add logs tomorrow.

Anyway, I think this could be considered an RC bug. When will the fix happen?

Revision history for this message
Alexander Sack (asac) wrote :

please try out 2.28.1-0ubuntu1 gnome-bluetooth which should hit your mirror soon.

see: https://edge.launchpad.net/ubuntu/+source/gnome-bluetooth/2.28.1-0ubuntu1

Revision history for this message
GeorgeVita (8-launchpad-mhnyma-com) wrote :

Hi Alexander Sack ,

gnome-bluetooth 2.28.1-0ubuntu1 tested on:
EeePC 1000H
Sony Ericsson K750 (phone)
Sony CMT-HXBT (HiFi)
Ubuntu 9.10 updated now
>>> and found full working!

Menus are OK now.
Bluetooth ON/OFF works as expected.
Connected to: phone only, phone and HiFi, doing single or multi bluetooth tasks

Tasks tested: bluetooth on/off, scan new bluetooth devices (via setup new device), connected to phone, browse/copy from phone to PC, bluetooth 'remote mouse' started, worked from phones joystick, HiFi connected, music playing from PC to HiFi

Also working ALL together: using phone's joystick as mouse to browse phone's directory (from PC screen), starting download, and at the same time listening via bluetooth music playing from PC to HiFi.

Next days I will do more tests, just in case ...
Thanks for the Great Job!

G

Revision history for this message
Alexander Sack (asac) wrote :

thanks for confirming. seems todays rfkill fix solved this for you.

Changed in gnome-bluetooth (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.