Bug 202864 - Wrong tooltip for WPA2-only networks
Summary: Wrong tooltip for WPA2-only networks
Status: RESOLVED DUPLICATE of bug 201993
Alias: None
Product: Network Management
Classification: Unmaintained
Component: knetworkmanager (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Will Stephenson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-06 21:55 UTC by Onno Molenkamp
Modified: 2009-08-11 13:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Onno Molenkamp 2009-08-06 21:55:00 UTC
Version:            (using KDE 4.3.0)
OS:                Linux
Installed from:    SuSE RPMs

WPA2-only networks get a WEP icon and tooltip in the NetworkManager system tray menu. It looks like this is caused by a bug in the securityLevel method in playground/base/plasma/applets/networkmanager/monolithic/tooltipbuilder.cpp:

    if (wpaFlags.testFlag( Solid::Control::AccessPoint::PairWep40 ) ||
        wpaFlags.testFlag( Solid::Control::AccessPoint::PairWep104 ) ||
        (wpaFlags == 0 && capabilities.testFlag(Solid::Control::AccessPoint::Privacy))) {

        level = i18nc("@info:tooltip security level", "WEP");
    }

Here, both wpaFlags (WPA) and rsnFlags (WPA2) should be checked or alternatively, the WEP case should be moved to after the checks for WPA-PSK.

The check for WPA-EAP a few lines later should also be changed to include rsnFlags instead of just wpaFlags.

Ideally, the tooltip should display different values for WPA, WPA+WPA2 and WPA2 networks.

(I'm not sure the component I've chosed is right for the KDE4 NetworkManager component - I couldn't find a better one)
Comment 1 Will Stephenson 2009-08-11 13:12:14 UTC
Fixed in SVN by r1009937.
Comment 2 Will Stephenson 2009-08-11 13:28:49 UTC

*** This bug has been marked as a duplicate of bug 201993 ***