Bug 516091 - nm-applet should show "Show virtual connections" without requiring plasma restart
Summary: nm-applet should show "Show virtual connections" without requiring plasma res...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Networks widget (other bugs)
Version First Reported In: 6.5.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-16 14:29 UTC by Stefan Neufeind
Modified: 2026-02-28 11:03 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Neufeind 2026-02-16 14:29:08 UTC
In previous versions it was possible to show connections like vlan-connections in the NM-applet, through some advanced configuration which had "Show virtual connections". I'm fine if this is hidden behind something for "advanced" or even only configurable in config-files.

I've used vlan-interfaces (for a bridged interface) for quite some time for professional work and need it. I can configure those vlan-connections through the connections-editor but just can't show the status of those connections (or bring them down/up again) using the applet. Doing the same with nmcli works without problems.

To what I found it seems to be a hardcoded filter. There was an advanced-option in previous versions (KDE 5 maybe still?).
Comment 1 Stefan Neufeind 2026-02-17 08:18:24 UTC
After another reboot they magically appeared in the connection-list (in the applet). Could it be that they don't show up when newly created through the connection-editor? I faced the problem that vlans could be configured and be brought up through nmcli but the applet didn't show vlans at all - now they appear.
Comment 2 Arjen Hiemstra 2026-02-19 11:26:08 UTC
In the "Configure Networks" screen there's a "Configuration" button, when clicking on it it will show a dialog with the option "show virtual connections". When creating a new virtual connection from that screen, it automatically enables this option as well.

However, it seems the applet doesn't get notified when that option changes, requiring a restart of Plasma for it to actually pick up the changes.
Comment 3 Bug Janitor Service 2026-02-19 12:12:27 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-nm/-/merge_requests/527
Comment 4 Arjen Hiemstra 2026-02-23 13:02:07 UTC
Git commit 9e0176af5430630992910136f905d5c2d4348959 by Arjen Hiemstra.
Committed on 23/02/2026 at 12:10.
Pushed by ahiemstra into branch 'master'.

libs/models: Respond to changes to the "show virtual connections" setting

This can be set by the KCM, but the applet would not react to any
changes. Now that we've properly hooked up the config notification,
invalidate the filter if the setting changes, so that we re-evaluate
"UiUtils::isConnectionTypeSupported()" for all connections.

M  +10   -0    libs/models/appletproxymodel.cpp
M  +3    -0    libs/models/appletproxymodel.h

https://invent.kde.org/plasma/plasma-nm/-/commit/9e0176af5430630992910136f905d5c2d4348959
Comment 5 Arjen Hiemstra 2026-02-23 14:24:38 UTC
Git commit ca6c2c034dc41fb3dba435e7a3fca34ee5d86b89 by Arjen Hiemstra.
Committed on 23/02/2026 at 14:10.
Pushed by ahiemstra into branch 'Plasma/6.6'.

libs/models: Respond to changes to the "show virtual connections" setting

This can be set by the KCM, but the applet would not react to any
changes. Now that we've properly hooked up the config notification,
invalidate the filter if the setting changes, so that we re-evaluate
"UiUtils::isConnectionTypeSupported()" for all connections.


(cherry picked from commit 9e0176af5430630992910136f905d5c2d4348959)

Co-authored-by: Arjen Hiemstra <ahiemstra@heimr.nl>

M  +10   -0    libs/models/appletproxymodel.cpp
M  +3    -0    libs/models/appletproxymodel.h

https://invent.kde.org/plasma/plasma-nm/-/commit/ca6c2c034dc41fb3dba435e7a3fca34ee5d86b89