Bug 485444 - Tray Icons vanish when connecting to VPN
Summary: Tray Icons vanish when connecting to VPN
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages User Edition (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-12 16:46 UTC by kskot
Modified: 2024-04-18 16:36 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kskot 2024-04-12 16:46:38 UTC
SUMMARY
When trying to connect to a VPN via the NetworkManager plasmoid tray icons of non-KDE applications vanish. This happens even if cancelling the connection request. This is 100% reproducible for me. From the logs (see below), it seems that KDED crashes.

STEPS TO REPRODUCE
1. Click on Networks and choose one of the preconfigured VPNs (click connect). I'm using openconnect.
2. The authentication window opens (window title is "VPN secrets dialog"), either successfully authenticate or just close the window
3. Notice that tray icons of non-KDE applications (for exampel Signal) vanish. 

OBSERVED RESULT
Vanishing tray icons when trying to connect to a VPN

EXPECTED RESULT
tray icons do not vanish when trying to connect to a VPN

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.7.0
Kernel Version: 6.5.0-27-generic (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 580 Series

ADDITIONAL INFORMATION
"plasmashell --replace" brings the icons back


Logs during 

Apr 12 18:35:11 host plasmashell[10104]: QDBusObjectPath: invalid path ""
Apr 12 18:35:11 host NetworkManager[861]: <info>  [1712939711.9337] vpn[0x61a1fe9da740,bae8bbd1-efcf-4eb5-a6d1-2e196e9f885a,"redacted"]: starting openconnect
Apr 12 18:35:11 host NetworkManager[861]: <info>  [1712939711.9340] audit: op="connection-activate" uuid="bae8bbd1-efcf-4eb5-a6d1-2e196e9f885a" name="redacted" pid=10104 uid=1000 result="success"
Apr 12 18:35:11 host kded6[10050]: org.kde.plasma.nm.kded: Unhandled VPN connection state change:  NetworkManager::VpnConnection::NeedAuth
Apr 12 18:35:12 host kded6[10050]: Attribute Qt::AA_ShareOpenGLContexts must be set before QCoreApplication is created.
Apr 12 18:35:12 host plasmashell[10104]: qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x0
Apr 12 18:35:12 host plasmashell[10104]: kf.windowsystem.wayland: Failed to recreate shadow for PlasmaQuick::AppletPopup(0x556da73c60a0, name="popupWindow")
Apr 12 18:35:12 host plasmashell[10104]: qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x0
Apr 12 18:35:15 host NetworkManager[861]: <warn>  [1712939715.2806] vpn[0x61a1fe9da740,bae8bbd1-efcf-4eb5-a6d1-2e196e9f885a,"redacted"]: secrets: failed to request VPN secrets #3: User canceled the secrets request.
Apr 12 18:35:15 host kded6[10050]: /usr/bin/kded6: symbol lookup error: /usr/lib/x86_64-linux-gnu/qt6/plugins/plasma/network/vpn/plasmanetworkmanagement_openconnect_arrayui.so: undefined symbol: close, version Qt_6
Apr 12 18:35:15 host systemd[3495]: plasma-kded6.service: Main process exited, code=exited, status=127/n/a
Apr 12 18:35:15 host systemd[3495]: plasma-kded6.service: Failed with result 'exit-code'.
Apr 12 18:35:15 host xwaylandvideobridge[10248]: kf.statusnotifieritem: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
Apr 12 18:35:16 host systemd[1]: systemd-localed.service: Deactivated successfully.
Comment 1 Nicolas Fella 2024-04-12 17:17:59 UTC
> Apr 12 18:35:15 host kded6[10050]: /usr/bin/kded6: symbol lookup error: /usr/lib/x86_64-linux-gnu/qt6/plugins/plasma/network/vpn/plasmanetworkmanagement_openconnect_arrayui.so: undefined symbol: close, version Qt_6

This is a Neon bug
Comment 2 kskot 2024-04-18 16:36:24 UTC
got resolved with a recent update