Set "Airplane Mode" On, Bluetooth still work properly .

Bug #1059449 reported by Alan.Chen
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OEM Priority Project
Fix Released
Medium
Ara Pulido
Precise
Fix Released
Undecided
Unassigned
gnome-control-center
Fix Released
Medium
gnome-control-center (Ubuntu)
Fix Released
Undecided
Unassigned
Precise
Fix Released
Undecided
Canonical Desktop Team

Bug Description

Ubuntu version : 12.04

Enable "Airplane Mode" from System Setting --> Network .
Bluetooth can not be disabled and only disable WLAN.

Addition information :
The issue is similar as below .
https://bugzilla.gnome.org/show_bug.cgi?id=675778
https://bugzilla.redhat.com/show_bug.cgi?id=821422

== Request to backport to 12.04 LTS ==

[Impact]

 * Airplane mode goal is to switch off every radio signal that can conflict with the airplane functioning.
 * In gnome-control-center 3.4, only the Wifi is switched off, making the feature almost useless
 * 12.04 LTS is an LTS, and it is currently used for pre-installed Ubuntu projects, so this is currently affecting everyone buying a pre-installed Ubuntu system or running the latest LTS

[Test Case]

Steps to reproduce:

 * Switch on both wireless and bluetooth
 * Enable "Airplane Mode" under System Settings -> Network

Expected behaviour:

 * Both the wi-fi and bluetooth are switched off

Actual behaviour:

 * Only Wi-fi is switch off. The user can still use bluetooth devices

[Regression Potential]

This adds a new backend for airplane mode. Give it a good work out to check that everything is disabled and enabled when it should be.

https://git.gnome.org/browse/gnome-control-center/commit/?h=gnome-3-6&id=7aef2fb307a9ff9c32fbe9dc6bc36e1eef5e72ab

Revision history for this message
Jeremy Bícha (jbicha) wrote :

This was fixed in gnome-control-center 3.6.3 which has been uploaded to raring for Ubuntu 13.04.

Changed in gnome-control-center (Ubuntu):
status: New → Fix Released
Changed in gnome-control-center:
importance: Unknown → Medium
status: Unknown → Fix Released
Ara Pulido (ara)
Changed in oem-priority:
status: New → Confirmed
assignee: nobody → Ara Pulido (apulido)
Ara Pulido (ara)
description: updated
description: updated
Ara Pulido (ara)
Changed in oem-priority:
importance: Undecided → Medium
Revision history for this message
Franz Hsieh (franz-hsieh) wrote :

@ara

I have tried to apply the patch to 3.4.2 and got some errors:

franz@callisto:/tmp/gnome-cc/gnome-control-center-3.4.2$ patch -p1 < ~/Downloads/gnome-control-center.patch
patching file panels/network/Makefile.am
Hunk #1 succeeded at 31 (offset -14 lines).
patching file panels/network/cc-network-panel.c
Hunk #1 succeeded at 50 with fuzz 2 (offset 12 lines).
Hunk #2 succeeded at 84 (offset 15 lines).
Hunk #3 FAILED at 209.
Hunk #4 succeeded at 2300 (offset 1642 lines).
Hunk #5 succeeded at 3366 with fuzz 2 (offset 2344 lines).
Hunk #6 FAILED at 1094.
2 out of 6 hunks FAILED -- saving rejects to file panels/network/cc-network-panel.c.rej
patching file panels/network/rfkill-glib.c
patching file panels/network/rfkill-glib.h
patching file panels/network/rfkill.h

Ara Pulido (ara)
Changed in gnome-control-center (Ubuntu Precise):
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
Revision history for this message
Franz Hsieh (franz-hsieh) wrote :

Here I attached a patch file for gnome-control-center 3.4.2
This patch is based on https://mail.gnome.org/archives/commits-list/2012-November/msg02131.html with some fixes. I have checked it makes bluetooth to be off in airplane mode.

Iain Lane (laney)
description: updated
Revision history for this message
Iain Lane (laney) wrote :

Uploaded with minor changes, thank you for the backport.

Changed in gnome-control-center (Ubuntu Precise):
status: New → In Progress
Revision history for this message
Adam Conrad (adconrad) wrote : Please test proposed package

Hello Alan.Chen, or anyone else affected,

Accepted gnome-control-center into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/gnome-control-center/1:3.4.2-0ubuntu0.12 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in gnome-control-center (Ubuntu Precise):
status: In Progress → Fix Committed
tags: added: verification-needed
Ara Pulido (ara)
Changed in oem-priority:
status: Confirmed → In Progress
Revision history for this message
Nara Huang (narahuang) wrote :

Verified gnome-control-center 1:3.4.2-0ubuntu0.12 fixes this issue.

tags: added: cqa-verified
tags: added: verification-done
removed: cqa-verified
Ara Pulido (ara)
tags: removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-control-center - 1:3.4.2-0ubuntu0.12

---------------
gnome-control-center (1:3.4.2-0ubuntu0.12) precise; urgency=low

  * Take upstream patch 7aef2fb307a9ff9c32fbe9dc6bc36e1eef5e72ab, backported
    to Precise by Franz Hsieh <email address hidden> to fix Airplane Mode
    hard enough to disable everything by using rfkill. (LP: #1059449)
 -- Iain Lane <email address hidden> Mon, 22 Jul 2013 11:44:07 +0100

Changed in gnome-control-center (Ubuntu Precise):
status: Fix Committed → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Ara Pulido (ara)
Changed in oem-priority:
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.