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 646902 - Indicator falsely reports bluetooth to be enabled
Indicator falsely reports bluetooth to be enabled
Status: RESOLVED INCOMPLETE
Product: gnome-shell
Classification: Core
Component: message-tray
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 646904 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-04-06 11:42 UTC by Vadim Peretokin
Modified: 2011-07-15 08:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
.xsession-errors (4.57 KB, application/octet-stream)
2011-04-06 14:16 UTC, Vadim Peretokin
Details
Screenshot of lg work (115.51 KB, image/png)
2011-04-06 16:58 UTC, Vadim Peretokin
Details

Description Vadim Peretokin 2011-04-06 11:42:55 UTC
I don't have Bluetooth on my system, yet the indicator shows my Bluetooth as being "on". It can't possibly be on. Going to the Bluetooth settings, power to it is correctly set to "off" and I correctly cannot set it to "on".
Comment 1 Giovanni Campagna 2011-04-06 12:16:05 UTC
*** Bug 646904 has been marked as a duplicate of this bug. ***
Comment 2 Giovanni Campagna 2011-04-06 12:18:31 UTC
It should be completely hidden.

Do you see anything in .xsession-errors?
Can you run in these commands in the Looking Glass?
(open the looking glass - alt-f2 lg)
(pick the indicator by clicking top left of the pane)
r(0)._delegate
r(1)._applet.killswitch_state

Also, try r(1)._updateKillswitch()
Comment 3 Vadim Peretokin 2011-04-06 14:16:23 UTC
Created attachment 185310 [details]
.xsession-errors
Comment 4 Vadim Peretokin 2011-04-06 14:18:55 UTC
I don't know what do you mean by "pick". I'm thinking that you want me to run that command while the Bluetooth indicator is open, but that is impossible to do.
Comment 5 Giovanni Campagna 2011-04-06 15:27:25 UTC
(In reply to comment #4)
> I don't know what do you mean by "pick". I'm thinking that you want me to run
> that command while the Bluetooth indicator is open, but that is impossible to
> do.

Hidden in the top left of the Looking Glass there is a button that enables "pick-mode", at which point clicking any other part of the shell inserts that actor in the debugger.
Comment 6 Vadim Peretokin 2011-04-06 16:58:06 UTC
Created attachment 185339 [details]
Screenshot of lg work

I don't think it worked, and it doesn't seem that I had any typos.
Comment 7 Bastien Nocera 2011-04-12 18:08:10 UTC
Vadim, is the problem simply that the icon shows up (eg. the icon is present, the pop-up doesn't show when clicking the button), or did you mean that it showed up as "On" in the popup?

If it showed up as "On" in the popup, then the output of "hciconfig" would be useful.
Comment 8 Vadim Peretokin 2011-04-12 18:14:29 UTC
Both are the problem. This laptop is not Bluetooth-enabled, thus the icon doesn't have any use to be showing.
Comment 9 Vadim Peretokin 2011-04-12 18:53:41 UTC
The command does not say anything, unfortunately:


[liveuser@localhost ~]$ hciconfig
[liveuser@localhost ~]$ hciconfig
[liveuser@localhost ~]$
Comment 10 Bastien Nocera 2011-04-12 20:47:05 UTC
Vadim, could you please try out the rfkill utility, and run "rfkill list"?

If your distribution doesn't package it, it's available at:
http://wireless.kernel.org/download/rfkill/

I bet that the hardware has a hardware Bluetooth killswitch, without any devices backing it. Which is probably a kernel driver bug...
Comment 11 Giovanni Campagna 2011-04-13 17:22:50 UTC
(In reply to comment #6)
> Created an attachment (id=185339) [details]
> Screenshot of lg work
> 
> I don't think it worked, and it doesn't seem that I had any typos.

Check your syntax.
First line is "r(1)._applet.killswitch_state" (it's a dot between applet and killswitch)
Second line is "r(1)._updateKillswitch()" (no underscore after update)

Just in case it is a JS bug, which somehow sounds more likely than a kernel bug...
Comment 12 Akhil Laddha 2011-06-03 06:35:31 UTC
Vadim, do you have any update with respect to comment#10 and comment#11 ?
Comment 13 Vadim Peretokin 2011-06-03 12:30:32 UTC
I don't have access to a Fedora system anymore, so not at this moment.
Comment 14 Akhil Laddha 2011-07-15 08:04:17 UTC
Please feel free to reopen the bug once you have requested information.