Bug 398040

Summary: [Wayland] KCM hangs/becomes unresponsive during connection attempt
Product: [Unmaintained] plasma-nm Reporter: jm.ouwerkerk
Component: kcmAssignee: Jan Grulich <jgrulich>
Status: RESOLVED FIXED    
Severity: normal CC: jgrulich, nate, notuxius
Priority: NOR    
Version First Reported In: 5.13.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.17.3
Sentry Crash Report:

Description jm.ouwerkerk 2018-08-29 21:49:05 UTC
On Wayland the network connection editor KCM window becomes unresponsive while attempting to connect to a network. 

This is especially noticeable when the network password/secret is wrong, because then NetworkManager will fail to establish a connection and pursue a few more doomed retry attempts -- prolonging the duration for which the network editor remains unresponsive. 

While that is happening, KWin will mark the window as unresponsive (titlebar).

Steps to reproduce:

 0. Run a Wayland session (may or may not be relevant?)
 1. Contrive to set up a network with the wrong password/secret
 2. Apply settings
 3. Try to move or resize the window whilst the doomed connection attempt(s) is/are in progress
 4. Watch Kwin mark the titlebar of the window as "Unresponsive"
Comment 1 Alexander Mentyu 2018-09-03 18:20:00 UTC
1. Try to connect to WiFi with a wrong password.
2. Right after connection attempt try to resize Connections window.
3. Password window appears.
4. At this time Connections window is already unresponsive.

Distribution: KDE neon Developer Edition
Kernel: 4.15.0-29-generic
Plasma: 5.13.80
Apps: 18.11.70
Qt: 5.11.1
Frameworks: 5.48.0
Graphics:
Card-1: Intel driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:5917 
Card-2: NVIDIA GM108M [GeForce 940MX] driver: nouveau v: kernel bus ID: 01:00.0 chip ID: 10de:134d 
Display: wayland server: X.Org 1.19.6 driver: modesetting,nouveau 
unloaded: fbdev,vesa alternate: nvidia compositor: kwin wayland 
resolution: 1920x1080~57Hz 
OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2) v: 4.5 Mesa 18.0.5 
compat-v: 3.0 direct render: Yes
Comment 2 Jan Grulich 2020-01-06 09:42:31 UTC
This has been already fixed in Plasma 5.17.4.