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

Bug #1059449 reported by Alan.Chen on 2012-10-01
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OEM Priority Project
Medium
Ara Pulido
Precise
Undecided
Unassigned
gnome-control-center
Fix Released
Medium
gnome-control-center (Ubuntu)
Undecided
Unassigned
Precise
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

Jeremy Bicha (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) on 2013-07-15
Changed in oem-priority:
status: New → Confirmed
assignee: nobody → Ara Pulido (apulido)
Ara Pulido (ara) on 2013-07-15
description: updated
description: updated
Ara Pulido (ara) on 2013-07-15
Changed in oem-priority:
importance: Undecided → Medium
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) on 2013-07-22
Changed in gnome-control-center (Ubuntu Precise):
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
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) on 2013-07-22
description: updated
Iain Lane (laney) wrote :

Uploaded with minor changes, thank you for the backport.

Changed in gnome-control-center (Ubuntu Precise):
status: New → In Progress

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) on 2013-08-05
Changed in oem-priority:
status: Confirmed → In Progress
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) on 2013-08-19
tags: removed: verification-needed
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

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) on 2013-09-02
Changed in oem-priority:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.