Bug 499188 - wish: Add option to duplicate a connection to plasma-nm KCM
Summary: wish: Add option to duplicate a connection to plasma-nm KCM
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_networkmanagement (other bugs)
Version First Reported In: 6.2.5
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 501404 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-01-27 11:06 UTC by Raphael Kubo da Costa
Modified: 2026-04-25 06:44 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raphael Kubo da Costa 2025-01-27 11:06:12 UTC
Especially with VPNs, one might have a convoluted setup with a lot of custom options. It'd be great to have an option to just duplicate it with a different name so I can then set up a new connection with just a few different parameters without having to start from scratch.
Comment 1 TraceyC 2025-01-27 18:48:54 UTC
This would be very useful
Comment 2 Bug Janitor Service 2026-04-17 06:34:52 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-nm/-/merge_requests/559
Comment 3 Nate Graham 2026-04-19 18:31:22 UTC
Git commit c9039c9a14ed17be8aa92560bc364d71febbdd78 by Nate Graham, on behalf of Kartikeya Tyagi.
Committed on 19/04/2026 at 18:31.
Pushed by ngraham into branch 'master'.

Add feature to duplicate network connections

This adds a "Duplicate" action to the context menu of saved
network connections in the plasma-nm KCM. It fetches the
existing connection settings, clones them, generates a new
UUID, and appends " (Copy)" to the connection name to prevent
collisions.

The cloned settings are then passed to the Connection Editor
Dialog, allowing the user to review or tweak the new connection
before saving.
FIXED-IN: 6.7.0

M  +21   -0    kcms/kcm_connections/kcm.cpp
M  +1    -0    kcms/kcm_connections/kcm.h
M  +7    -0    kcms/kcm_connections/qml/ConnectionItem.qml

https://invent.kde.org/plasma/plasma-nm/-/commit/c9039c9a14ed17be8aa92560bc364d71febbdd78
Comment 4 Antti Savolainen 2026-04-25 06:44:39 UTC
*** Bug 501404 has been marked as a duplicate of this bug. ***