Bug 409823

Summary: [Wayland] List of network connections is empty when I open the KCM via plasma-nm applet
Product: [Unmaintained] plasma-nm Reporter: Patrick Silva <bugseforuns>
Component: kcmAssignee: Jan Grulich <jgrulich>
Status: RESOLVED FIXED    
Severity: normal CC: jgrulich
Priority: NOR    
Version First Reported In: 5.16.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot
screenshot taken on Neon unstable edition

Description Patrick Silva 2019-07-15 14:49:28 UTC
Created attachment 121530 [details]
screenshot

STEPS TO REPRODUCE
1. start Wayland session
2. right click on network icon in systray
3. select "Configure network connections..."

OBSERVED RESULT
As we can see in the attached screenshot, the list of network connections is empty.
The network connections appear when I maximize the window.

EXPECTED RESULT
The network connections are always listed.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.16.3
KDE Frameworks Version: 5.60.0
Qt Version: 5.13.0
Comment 1 Jan Grulich 2019-07-22 14:36:28 UTC
Do you get any error message when you run "kcmshell5 kcm_networkmanagement"? I cannot reproduce it, but it might be a Qt wayland issue, I've seen that qtwayland is/was quite broken in 5.13.
Comment 2 Patrick Silva 2019-07-22 16:25:41 UTC
Here is the output:

"0 instead of 1 arguments to message {Do you want to remov...} supplied before conversion."
Selecting active connection: "ce90ca86-a34c-30a3-a2e6-db85b51a19a9"
Comment 3 Jan Grulich 2019-07-23 06:44:57 UTC
Does it work when you log into X session and not to Wayland one?
Comment 4 Patrick Silva 2019-07-23 10:58:03 UTC
yes, this bug only occurs on Wayland session.
Maybe related to this Qt bug
https://bugreports.qt.io/browse/QTBUG-54888
Comment 5 Patrick Silva 2019-08-09 11:28:54 UTC
Created attachment 122039 [details]
screenshot taken on Neon unstable edition

Humm, sometimes the list of network connections also is empty on Wayland session of Neon unstable edition.
open system settings > connections
click on "All settings" in the upper left corner
open "Conections" again
Comment 6 Jan Grulich 2019-08-09 11:29:59 UTC
This will be most likely fixed with https://phabricator.kde.org/D23020.
Comment 7 Patrick Silva 2019-08-22 12:22:52 UTC
(In reply to Jan Grulich from comment #6)
> This will be most likely fixed with https://phabricator.kde.org/D23020.

really it's fixed \o/

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.16.80
KDE Frameworks Version: 5.62.0
Qt Version: 5.12.3