Bug 287195 - Once Bluetooth is connected to an iPhone, it is not possible to disconnect it
Summary: Once Bluetooth is connected to an iPhone, it is not possible to disconnect it
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: bluetooth-systray (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: 1.4
Assignee: Alex Fiestas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-21 21:27 UTC by Richard Jennings
Modified: 2013-07-28 21:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of system tray + NetworkManager (82.85 KB, image/png)
2012-10-08 19:18 UTC, Richard Jennings
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Jennings 2011-11-21 21:27:43 UTC
Version:           unspecified (using KDE 4.7.2) 
OS:                Linux

Discovered while testing the fix to Bug 285637.

Reproducible: Always

Steps to Reproduce:
1. Tether the iPhone and establish a network connection in Network Manager.
2. Still in Network Manager, disconnect from network.
3. Mouseover iPhone device.
4. Click 'Configure Bluetooth'.
5. Click 'Turn Bluetooth Off'.

Actual Results:  
In 2. above, when the network connection is disconnected, the BT tether is still established.

In 3. above, on mouseover the message 'No supported services found' appears. Hence there is no 'Disconnect' button available. See bug 285637 comments 13 & 15.

In 4. above, clicking on 'Configure Bluetooth' just closed the pop-up.  The configure dialogue doesn't appear, so you can't use the disconnect which appears there.

In 5. above, 'Turn Bluetooth Off' doesn't turn BT off.

Final outcome: the only way to disconnect the computer BT is to shutdown or reboot.

Expected Results:  
In 2. above, it would be nice if the BT connection was broken, but maybe this is not how it was designed.

In 3. above, the iPhone device should have a disconnect button to explicitly disconnect, same as the other supported devices.

In 4. above, the pop-up should appear and its disconnect should work.

In 5. above, maybe you should be able to force BT to shutdown, but maybe this behaviour would be a bit savage.

This was experienced using:
Git commit 0491c7d660cdddbd1b3a3ec3411042b5a3615346 by Lamarque V. Souza.
Committed on 20/11/2011 at 22:37.
Pushed by lvsouza into branch 'nm09'.

Netbook:
HP Mini 110-1120
Kubuntu 11.10 - KDE Version 4.7.2
Bluedevil version 1.2.1-Oubuntu1
Comment 1 Richard Jennings 2011-11-21 21:40:04 UTC
Additional to 'Actual Results':
> In 4. above, clicking on 'Configure Bluetooth' just closed the pop-up.  The
> configure dialogue doesn't appear, so you can't use the disconnect which
> appears there.

In fact the pop-up appears some minutes after, with the message 'No Bluetooth adapters have been found'.
Comment 2 Alex Fiestas 2012-10-08 08:37:07 UTC
So, this bug seems to be a set of bugs instead, let me check if I got it right:

Bugs:
-In the systemtray it should allow you to disconnect only iPhone as you can do with for example a Mouse.
-Clicking "disable bluetooth" won't disable bluetooth and tethering will continue working.

Did I got it right? If so I will proceed to open 2 separate bugs.

Thanks!
Comment 3 Richard Jennings 2012-10-08 19:18:01 UTC
Created attachment 74425 [details]
Screenshot of system tray + NetworkManager
Comment 4 Richard Jennings 2012-10-08 19:20:19 UTC
Both statements are correct.
You can see the state of the different apps in the screenshot.
As mentioned above, only way to break connection is to shutdown laptop :-(
Comment 5 Alex Fiestas 2012-10-08 20:42:58 UTC
I see, I will try to reproduce this with another device (I don't have n iPhone here). If I could reproduce it sure I should be able to fix this.
Comment 6 Alex Fiestas 2013-02-24 20:45:42 UTC
Can you test with recent kernel/bluetooth/bluedevil if this still happens?

Thanks !
Comment 7 Alex Fiestas 2013-02-24 22:30:13 UTC
Forgot to set it as NEEDSINFO
Comment 8 Alex Fiestas 2013-07-28 21:19:11 UTC
Nobody from the dev team has an iPhone :/ I tried with an iPad long ago and it worked so... going to close the bug.

Please, if you still can reproduce this, feel free to reopen the bug so we can continue debugging it!

Thanks for reporting !