Bug 370747 - Plasma freezes in attempt to store password for this user only to VPN
Summary: Plasma freezes in attempt to store password for this user only to VPN
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasma-nm
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: Lukáš Tinkl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-14 15:19 UTC by J.Fly
Modified: 2017-10-02 08:58 UTC (History)
1 user (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 J.Fly 2016-10-14 15:19:25 UTC
I can add VPN configs to my connection editor and I can input my vpn username but when I attempt to click the small box on the right side of the password text box to change from "Ask for this password every time" to "store for this user only (encrypted)" the entire Plasma environment freezes.  Not even freezes in terms of no redrawing of the desktop, absolutely no key functions work (i.e. alt+f2 or f12[for guake]).  I ctrl+alt+f2 login in the terminal then do "loginctl terminate-session c[number]" and SDDM automatically starts up from there.

Just to note, I can still use the VPN service and write my PW in every time and I have not experienced any other issues with the network manager.  I am using a wired connection on this machine with wifi disabled via the plasma-nm applet in the system tray.

Reproducible: Always

Steps to Reproduce:
1. Add -> Import VPN
2. Edit
3. Add username and then click the box on the right of the password textbox 

Actual Results:  
Plasma usually freezes at the initial click, once in a blue moon I may be able to click 'save for this user only' before it will freeze.

Expected Results:  
ability to save an encrypted password to the kwallet for my vpn logins.

Manage your network connections
This application allows you to create, edit and delete network connections.
Using NM version: 1.4.2
(C) 2013-2015 Jan Grulich and Lukáš Tinkl

Kernel: 4.7.6-1-zen
Plasma 5.8.1
Framework 5.27
QT 5.7.0
OS 64 bit
Comment 1 Jan Grulich 2016-10-17 08:22:18 UTC
This sounds like an issue between Qt and your hardware, I'm not able to reproduce this and also nobody else seems to experience this as I read about this problem for the first time. Was this working for you before? Let's say with Plasma 5.6 or Plasma 5.5? Or is it happening in any other configuration, e.g. when configuring a wireless connection and filling WEP/WPA password?

Also, thanks to you I noticed that after importing OpenVPN connection we set that we should ask for the password everytime, instead of defaulting to storing it into KWallet. I fixed this already and it should kinda workaround your problem, because you don't have to switch from "Always ask" to "Store the password for this user", but still would be nice to figure out what's going on.
Comment 2 J.Fly 2016-10-17 13:15:12 UTC
Thanks for the update.  This is a brand new problem for me, just started in 5.8.1 never had issues in 5.7.  I'll look around to see what kind of debug logging I can do/find with QT stuff and hopefully I'll uncover something.  I'll update whether or not I find something by the end of the week.
Comment 3 Jan Grulich 2016-10-17 13:27:19 UTC
If it started with Plasma 5.8.1 then probably something else was updated as well, because the code for the password field was not touched since 5.6 (aprox.).
Comment 4 J.Fly 2016-10-23 15:43:18 UTC
Honestly, I have no clue...I updated my system and now it doesn't freeze as before.  I have the application menu mapped to the meta key, so when I go to add the password my mouse still works now, but I can't click anything, but when I hit the meta key and the application menu opens it closes the password menu and my system functions again.  For now, at least you changed the method to save passwords, and that works just fine.  Perhaps one day I will figure out the issue.  Thanks for your time!