#666548 network-manager-gnome: When wifi disconnects, a hundred prompts ares openned asking for password

Package:
network-manager-gnome
Source:
network-manager-applet
Description:
network management framework (GNOME frontend)
Submitter:
phasnox
Date:
2012-12-26 16:24:06 UTC
Severity:
normal
#666548#5
Date:
2012-03-31 16:47:42 UTC
From:
To:
Dear Maintainer,
When my wifi disconnects, network-manager prompts asking for the wep key wich
has been saved before. This is done indefinitely until the wep key is entered.
I left my computer up all night up and when I woke up this morning, a hundred
prompts asking for the wep key were waiting for me.

thanks!

#666548#10
Date:
2012-12-26 16:20:38 UTC
From:
To:
Hi,
the same thing happened here, too. I left the laptop running at a spot with low wifi reception. Over night, nm-applet
had opened a hundred passphrase prompts for the *same* wireless network. It took *ages* to close them, the CPU
went up to 100% after each single window closing, taking seconds for the next one to be able to close.
Furthermore, there apparently is an associated memory leak:

20   0  415m 173m 3076 S   0,0  8,6  18:42.38 nm-applet

173 MB resident for the network applet? That's crazy.
Fortunately, I'm not using shell, so I can just kill the applet and restart it:

20   0  219m  13m  10m S   0,0  0,7   0:00.39 nm-applet

Next time it goes haywire, I'll just kill it right away to get pack the precious memory right away.

Anyway:

1) nm-applet should open at most *one* window asking for a passphrase at any time.
2) It should recognize when it managed to connect, and then close the window automatically
3) It would be nice to *not* ask for a passphrase when it has been verified before (i.e. connected successfully):
if I change my passphrase, I'm fine with editing the connection. I don't want nm-applet to ask for the passphrase every
time the wirless connection is bad!
4) The memory leak needs to be tracked down.

For reproduction, I recommend reducing wireless signal quality to the point where the network starts disconnecting.