Bug 287794 - When checking Enable Mobile Broadband the checkmarks appears/disappears and appears
Summary: When checking Enable Mobile Broadband the checkmarks appears/disappears and a...
Status: RESOLVED FIXED
Alias: None
Product: Network Management
Classification: Miscellaneous
Component: Mobile Broadband (show other bugs)
Version: 0.9
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Will Stephenson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-29 00:20 UTC by jamese
Modified: 2011-12-04 02:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jamese 2011-11-29 00:20:06 UTC
Version:           0.9 (using KDE 4.7.3) 
OS:                Linux

When checking Enable Mobile Broadband it appears for 0.1s then disappears, then reappears once the broadband modem is configured

At step 7, the checkb

Reproducible: Didn't try

Steps to Reproduce:

Steps (for me):
1 plug in phone (N900)
2 Nokia USB cable attached between phone and laptop
3 enable PC Suite mode on N900 when asked
4 phone icon appears in system tray
5 click phone icon
6 Check "Enable Mobile Broadband"
7 Checkbox is checked for a split second then unchecked
8 Checkbox becomes checked about 3-5 seconds later
9 Mobile broadband can be then enabled by clicking the connection listed

Actual Results:  
See step 7

Expected Results:  
At the moment it appears that the network management is somehow broken and the mobile broadband connection cannot be configured (my initial response was to keep clicking the box not knowing that I was turning the broadband connection 'off'.

At step 7, the checkbox should stay checked and become unchecked only if the Mobile Broadband connection cannot become configured.
Comment 1 jamese 2011-11-29 00:21:19 UTC
Reproducible : should be 'always' - not sure what happened there.
Comment 2 Lamarque V. Souza 2011-11-29 10:28:51 UTC
It is NetworkManager which is requesting to uncheck the checkbox, so there is a reason for that, even if it is a bug in NM. You should look at NM's log to see why it is disabling mobile broadband.

My guess this is an upstream issue (in NM). If I am not mistaken NM disables all modems by default to save power. For more wierd that it sounds NM does not enable modems when you click on the Mobile Broadband checkbox. What it does is check if there is at least one modem enabled in ModemManager. If there is not any then it disables Mobile Broadband, which force Plasma to uncheck the checkbox. When you try to connect then NM enables your phone and from that moment on "Mobile broadband" is allows to be checked.

By the way, which Plasma NM, NetworkManager and ModemManager versions do you use?
Comment 3 Lamarque V. Souza 2011-12-04 02:10:38 UTC
Git commit 9255946a0dd8049aa4172b30952fbda05ed89ab3 by Lamarque V. Souza.
Committed on 03/12/2011 at 23:35.
Pushed by lvsouza into branch 'master'.

Change mobile broadband (wwan) checkbox into a tristate checkbox. I do
not know why NM sends a wwan disabled signal right after we send an
enable wwan command, the checkbox bounces for while until NM finally
decides to enable or not the mobile broadband state.

The third state is "partically checked", represented by a dashed tick
mark.

BUG: 287794

M  +5    -3    applet/nmpopup.cpp

http://commits.kde.org/networkmanagement/9255946a0dd8049aa4172b30952fbda05ed89ab3