Bug 432947 - Disconnecting from a wifi network while there's an active VPN connection hangs Plasma for a moment
Summary: Disconnecting from a wifi network while there's an active VPN connection hang...
Status: RESOLVED DUPLICATE of bug 409392
Alias: None
Product: plasma-nm
Classification: Plasma
Component: general (show other bugs)
Version: 5.20.5
Platform: Manjaro Linux
: HI normal
Target Milestone: ---
Assignee: Jan Grulich
URL:
Keywords: efficiency
Depends on:
Blocks:
 
Reported: 2021-02-14 19:29 UTC by m11.1l1.f64
Modified: 2021-09-20 19:30 UTC (History)
9 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 m11.1l1.f64 2021-02-14 19:29:48 UTC
SUMMARY
I experience glitches when switching from one wifi to another or simply by disconnecting from VPN

STEPS TO REPRODUCE
1. Connect to a wifi
2. Change it to another wifi
3. Now the panel is not responding for a few seconds


EXPECTED RESULT
It should response quickly or at least it should be on another thread so that it wouldn't freeze the whole panel

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro KDE 
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION
Also I recorded my screen so that it would be easier to understand. I'm not good at video editing so I simply downloaded kdenlive and blured a part but I couldn't remove it later so it just remains :)
Link to the record:
https://mega.nz/file/TwEAkTpB#WONFOKLrL4Evw40n4bLtkeiK9IiOI5WJlDIlSgHiIVk
Comment 1 Nate Graham 2021-03-06 14:43:21 UTC
So this happens for all disconnection operations for you, not just disconnecting from ExpressVPN? I cannot reproduce the issue by disconnecting from wifi.
Comment 2 m11.1l1.f64 2021-03-06 16:11:42 UTC
(In reply to Nate Graham from comment #1)
> So this happens for all disconnection operations for you, not just
> disconnecting from ExpressVPN? I cannot reproduce the issue by disconnecting
> from wifi.

Thanks for commenting.

Yes it happens all the time.

Even now with KDE Plasma Version 5.21.1 it occurs

First I thought it might be some kind of network lock on my laptop but I tested it in another laptop and got the same result

I can reproduce it and record it if you want?
Comment 3 Dashon 2021-03-07 11:39:21 UTC
I also experience the issue on arch with plasma 5.21. Let me know how I can help.
Comment 4 m11.1l1.f64 2021-04-06 21:31:27 UTC
The latest update fixed the issue

The current working software

KDE Plasma Version : 5.21.3
KDE Frameworks Version : 5.80.0
Qt Version: 5.15.2
Comment 5 Dashon 2021-04-06 21:38:16 UTC
It still happens for me on 5.21.4. I haven't rebooted yet though, so I'll try that first and reply a bit later.
Comment 6 Dashon 2021-04-07 02:10:16 UTC
Problem persists for me after a reboot. I tested by activation and then deactivating the connection. Maybe it is less noticable if you don't do it one after the other
Comment 7 m11.1l1.f64 2021-04-08 18:06:30 UTC
Ok I thought it got fixed, but it's not

When I disconnect expressvpn, it works fine. But while changing wifi, it hangs again

So I guess it's never been fixed actually :)
Comment 8 soshial 2021-04-16 03:54:55 UTC
The bugs always reproduces when doing these steps:
1. Connect to WiFi and wireguard VPN.
2. OpenNetworks dialog and turn off only WiFi (and leave VPN connected)

Observed results:
All KDE dialog and systembar hangs for 7-10 seconds. 

My system:
Manjaro Linux, KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Comment 9 Bacteria 2021-06-26 02:46:20 UTC
Facing this issue as well. It has become more noticeable on Wayland.

Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.22.2
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Graphics Platform: Wayland
Comment 10 m11.1l1.f64 2021-07-18 13:01:02 UTC
Strangely enough, I can't reproduce it anymore...

Perhaps the issue is solved?

KDE Plasma Version : 5.22.3
KDE Frameworks Version : 5.84.0
Qt Version: 5.15.2
Comment 11 Bacteria 2021-07-18 14:42:09 UTC
I can still reproduce it when switching from one Wireless network to another. But it happens only when I switch 3-4 times in quick succession.
Comment 12 m11.1l1.f64 2021-07-18 15:30:32 UTC
(In reply to Shavez from comment #11)
> I can still reproduce it when switching from one Wireless network to
> another. But it happens only when I switch 3-4 times in quick succession.

So I guess it's close to be solved completely :)
Comment 13 m11.1l1.f64 2021-08-20 14:34:00 UTC
After a month, the problem still exists. Others still have this issue?
Comment 14 Dashon 2021-08-23 20:12:20 UTC
Yep. It still happens to me when disconnecting a vpn connection. Actually, it happens after doing it just once.
Comment 15 dmeck 2021-09-03 10:07:29 UTC
This problem also exists in my laptop. When the two networks switch, plasma fails to operate

Two network devices
Comment 16 soshial 2021-09-11 19:51:34 UTC
The problem still persists and is always reproducible when doing these steps:
1. Connect to both WiFi and Wireguard VPN.
2. Open Networks dialog and:
A. turn off only WiFi (and leave VPN connected) or
B. turn off only VPN


Operating System: Manjaro Linux
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2
Comment 17 Kiril Vladimirov 2021-09-20 18:46:27 UTC
This looks like a duplicate of bug 409392. While waiting for a response from NetworkManager, plasma-nm seems to be blocking the whole plasma.
Comment 18 Nate Graham 2021-09-20 19:30:34 UTC
Yep, looks like it. Thanks for finding that!

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