Bug 429889

Summary: triyng to set up connection on unmanageble device should trigger error message
Product: [Applications] systemsettings Reporter: Arek Guzinski <kermit>
Component: kcm_networkmanagementAssignee: Jan Grulich <jgrulich>
Status: REPORTED ---    
Severity: normal CC: plasma-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Arek Guzinski 2020-12-01 13:47:51 UTC
SUMMARY
If trying to set up a wired Ethernet connection, Connections module will create the connection (as "In User Inf, but it is impossible to get it to actually connect. No hint as to what the Reason may be is given.

STEPS TO REPRODUCE
1. make sure /usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf contains
[keyfile] 
unmanaged-devices=*,except:type:wifi,except:type:gsm,except:type:cdma
2. Try to set up a Wired connection and connect it

OBSERVED RESULT
There is no connection visible in plasma-nm and nothing happens

EXPECTED RESULT
Tell the user that the systemwide setting for network-manager prohibits configuring the interface

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.20
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.1
Kernel Version: 5.8.0-23-generic
OS Type: 64-bit

ADDITIONAL INFORMATION
nmtui-connect displays a helpful error message in same situation