Bug 496724

Summary: Wifi autoconnect setting sometimes doesn't seem to be registered properly
Product: [Plasma] plasmashell Reporter: Ellie <el>
Component: Networking in generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: jgrulich, john.kizer, nate
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: The wifi listing showing the affected network and how it's not connecting
A screenshot of the network settings showing how auto-connect is enabled

Description Ellie 2024-11-26 21:17:58 UTC
SUMMARY

The wifi autoconnect setting sometimes doesn't seem to be registered properly. I think for this affected wifi SSID  I initially unchecked the autoconnect checkbox or something, by accident, and then later went into the settings to re-enable it. As you can see on the attached screenshots, while the settings show autoconnect for this wifi SSID as enabled, no matter how long I wait, it doesn't ever attempt to automatically connect. Whenever I click "Connect" manually, it instantly connects in 2-3 seconds without any issue.

STEPS TO REPRODUCE

1. Somehow first reject autoconnect, I'm not 100% sure which dialog I clicked that in
2. Re-enable autoconnect for the affected wifi SSID
3. Reboot to be sure all new settings apply
4. Come into range of affected wifi SSID

OBSERVED RESULT

Autoconnect doesn't kick in as it should.

EXPECTED RESULT

Autoconnect works once it's re-enabled again.

SOFTWARE/OS VERSIONS

Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: postmarketOS Edge with kernel 6.12.0-0-edge
KDE Plasma Version: 6.2.3, Wayland session
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0

ADDITIONAL INFORMATION
Comment 1 Ellie 2024-11-26 21:22:11 UTC
Created attachment 176151 [details]
The wifi listing showing the affected network and how it's not connecting
Comment 2 Ellie 2024-11-26 21:23:17 UTC
Created attachment 176152 [details]
A screenshot of the network settings showing how auto-connect is enabled
Comment 3 John Kizer 2024-12-01 08:41:22 UTC
Hi - as best as I can tell, this appears to be a configuration issue with how postmarketOS has NetworkManager setup, as the same Plasma interface seems to generally successfully configure automatic Wi-Fi connections as part of other distributions.

This is mentioned in the postmarketOS wiki here along with a workaround: https://wiki.postmarketos.org/wiki/WiFi#WiFi_doesn.27t_auto_connect

With a link there to the issue on the postmarketOS GitLab where this is being worked on: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/1049

Hope this helps!
Comment 4 Ellie 2024-12-01 09:53:26 UTC
Can confirm making the connection available to all users makes it work, exactly as described in the downstream issue. Thank you so much for finding this!
Comment 5 Ben Cooksley 2024-12-23 18:23:38 UTC
Bulk transfer as requested in T17796