Bug 353290 - Applet incorrect active connections and broken dis/connect
Summary: Applet incorrect active connections and broken dis/connect
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasma-nm
Classification: Plasma
Component: applet (show other bugs)
Version: 0.9.3.5
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-28 18:54 UTC by Jacob Floyd
Modified: 2015-12-17 13:39 UTC (History)
2 users (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 Jacob Floyd 2015-09-28 18:54:06 UTC
I'm on 0.9.3.6, but that wasn't on the list, so I picked 0.9.3.5.

The symptoms
============

The plasma-nm applet has been showing all connections as active instead of available. My network card can only connect to one network at a time, so showing 13 networks as "Active" is confusing to say the least. Plus, if I try to click the disconnect button on any of them, nothing happens. Every now and then, a few of the networks (3 right now) show up under the available networks section, but the connect button doesn't work there either. One other symptom of this bizarre issue is that hovering over the icon in the task bar shows that I'm connected, but where it should show the network name, it's blank.

Here is how to reproduce this:
=========================

- Edit Panel Widgets with the peanut
- "Add Widgets ..."
- "Get new widgets"
- "Download New Plasma Widgets"
- Search for HDMI
- Install "HDMI Switcher"
- Add the HDMI Switcher to the panel
- log out and back in

I don't know why the HDMI Switcher screws it up, but removing it from the panel restores the plasma-nm applet to it's correctly functioning goodness.

This is the HDMI switcher that somehow screws up the plasma-nm applet (at least on my system):
https://opendesktop.org/content/show.php?content=168046

I discovered this when I thought my profile might be corrupt, so I logged in as a different user and saw that the applet worked just fine. However, at the same time, I noticed that I hadn't installed the hdmi switcher for that other person, so I did that before logging out. When I logged back in, I was surprised to see it was broken. Removing it always fixes the plasma-nm applet, and vice versa.

Any idea why a different applet would cause your applet to break?

Here are the other things I tried to resolve the issue that didn't help:
========================================================

I tried reverting to 0.9.3.5 and 0.9.3.4, but both had the same problem, even though they didn't used to have this problem. Hopefully, you'll have a better idea on where to look for the issue.

I can use nmcli without issue. The correct networks are listed as available, and the one connected network is listed as active. I also used D-Feet to test the information returned in dbus by libnm-qt to see if that was somehow corrupt, but all the information there is correct.

Oddly enough, the connection editor works perfectly. It shows the correct network as active, and I can connect/disconnect from any network. So, that suggests that there's an issue in the applet, but then reverting to a previous version should have restored the earlier behavior, but it didn't.

I have these dep versions:
=====================
kernel 4.0.5-gentoo
networkmanager 1.0.6 (I was using 1.0.2, and older. The issue was present with all of them)
libnm-qt 0.9.8.4 (I was using 0.9.8.3. The issue was present with both)
Comment 1 Jan Grulich 2015-09-29 07:15:50 UTC
1) Could you please run the command below and keep it running, then add the HDMI Switcher to break plasma-nm applet and then send the output?

Command to run: dbus-monitor --system "type='signal',sender='org.freedesktop.NetworkManager'"

2) Enable plasma-nm in kdebugdialog and restart plasma-desktop from konsole (do not close it), then open plasma-nm applet (this is needed to initialize it, because it's not initialized until it's opened) and then again add the HDMI Switcher and send me output from running plasma-desktop.
Comment 3 Jan Grulich 2015-12-17 13:39:51 UTC
Closing, there won't be any new release of plasma-nm for KDE 4. Switch please to Plasma 5 and re-open this bug if your problem persists.