org.kde.networkmanager widget does not work

Bug #1334025 reported by guziy
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
plasma-widget-networkmanagement (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Network manager widget does not work (please see the screenshot for the result and error messages.)

I am using KDE with kubuntu 14.04:

System information:
[1]
san@san-laptop:~$ lsb_release -a
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty

[2]
san@san-laptop:~$ apt-cache policy plasma-widget-networkmanagement
plasma-widget-networkmanagement:
  Installed: (none)
  Candidate: 0.9.3.3-0ubuntu1
  Version table:
     0.9.3.3-0ubuntu1 0
        500 http://ca.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages

[3-4]
I expected to see an icon with network connection configuratoin options... To see what happens instead please see the attached screenshot.

If you want my understanding of it, there is a problem with /usr/share/kde4/apps/plasma/plasmoids/org.kde.networkmanagement/contents/ui/ConnectionItem.qml line 370, somehow onAccepted is not a property of PlasmaComponents.TextField. Everything seems to work after commenting onAccepted property.

.....

            PlasmaComponents.TextField {
                id: passwordInput;

                width: 200;
                height: implicitHeight;
                anchors {
                    horizontalCenter: parent.horizontalCenter;
                    top: passwordSeparator.bottom;
                    topMargin: padding.margins.top;
                }
                echoMode: showPasswordCheckbox.checked ? TextInput.Normal : TextInput.Password
                placeholderText: i18n("Password...");
                onAccepted: {
                    stateChangeButton.clicked();
                }
            }

Thanks

Revision history for this message
guziy (guziy-sasha) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in plasma-widget-networkmanagement (Ubuntu):
status: New → Confirmed
Revision history for this message
Martin Scherer (marscher) wrote :

So far I found out, that somehow the TextField gets imported from the "touch" library, which lacks this property. But I'am not an expert in plasmoid programming to figure out, why its the case. Willing to provide more info as needed. BTW: its the same environment as reported by guziy.

Revision history for this message
Martin Scherer (marscher) wrote :

strace output of plasmoid launcher invoked like this: "strace -fo foo.log plasmoid /usr/share/kde4/apps/plasma/plasmoids/org.kde.networkmanagement/

If one greps for "qml", one notes that the type from which the ConnectionItem derives from (Textfield) is beeing tried to be imported from touch library. This raises the specified error

Revision history for this message
Viktor (viktor196262) wrote :

bag bag bag bag((

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.