Bug 481840 - Removing a VPN connection is impossible on 6.0
Summary: Removing a VPN connection is impossible on 6.0
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_networkmanagement (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: HI major
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-02-26 02:38 UTC by Steve Cossette
Modified: 2024-02-27 16:19 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Cossette 2024-02-26 02:38:55 UTC
I updated from RC2 to 6.0 Final. I then added a l2tp VPN connection in System Settings, and tried to delete it. It shows a (Honestly kind of strange looking) message box, but regardless if you click OK or Cancel, the connection remains and does not get deleted.

Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.0-0.rc5.41.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 6800H with Radeon Graphics
Memory: 27.1 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 82UH
System Version: Legion 7 16ARHA7
Comment 1 Nate Graham 2024-02-26 21:53:20 UTC
Does anything get printed to `journalctl -f` when you click the button and nothing happens?
Comment 2 Steve Cossette 2024-02-26 21:53:54 UTC
Nope, that's the first thing I tried.
Comment 3 Steve Cossette 2024-02-26 21:58:22 UTC
https://www.youtube.com/watch?v=oTvygg7JI3Y Here's a video of the issue
Comment 4 Nate Graham 2024-02-26 22:00:47 UTC
Ok, thanks.
Comment 5 Kai Uwe Broulik 2024-02-26 22:07:54 UTC
QtQuick Dialogs, the gift that keeps on giving. For some reason the onAccepted handler is never called... (For 6.1 we should really provide our own dialog implementation through plasma-integration)
Comment 6 Bug Janitor Service 2024-02-27 09:19:50 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-nm/-/merge_requests/330
Comment 7 Kai Uwe Broulik 2024-02-27 14:55:14 UTC
Git commit 341a1db2f4503d30abd85ecb0622ee67c27838b0 by Kai Uwe Broulik.
Committed on 27/02/2024 at 14:51.
Pushed by broulik into branch 'master'.

KCM: Work around MessageDialog not emitting accepted signal

Reported as QTBUG-122770

M  +8    -5    kcm/qml/main.qml

https://invent.kde.org/plasma/plasma-nm/-/commit/341a1db2f4503d30abd85ecb0622ee67c27838b0
Comment 8 Kai Uwe Broulik 2024-02-27 15:00:32 UTC
Git commit 2fd1b7960defbe794c48bddb61d3d123286b0c1c by Kai Uwe Broulik.
Committed on 27/02/2024 at 14:56.
Pushed by broulik into branch 'Plasma/6.0'.

KCM: Work around MessageDialog not emitting accepted signal

Reported as QTBUG-122770


(cherry picked from commit 341a1db2f4503d30abd85ecb0622ee67c27838b0)

M  +8    -5    kcm/qml/main.qml

https://invent.kde.org/plasma/plasma-nm/-/commit/2fd1b7960defbe794c48bddb61d3d123286b0c1c