Verified on Plucky.
With my Windscribe VPN, on gnome-shell 48.0-1ubuntu1.2, I can reproduce
the issue: attempting to use the toggle switch under the VPN
quicksettings widget to turn off the VPN does not work, and `ip addr`
still reports that utun420 has an IP.
On 48.0-1ubuntu1.3 from proposed, using the same toggle switch to turn
off the VPN works as expected, and `ip addr` reports no address after
the VPN is disabled.
ubuntu@ubuntu:~$ apt-cache policy gnome-shell
gnome-shell:
Installed: 48.0-1ubuntu1.3
Candidate: 48.0-1ubuntu1.3
Version table:
*** 48.0-1ubuntu1.3 100
100 http://us.archive.ubuntu.com/ubuntu plucky-proposed/main amd64
Packages
100 /var/lib/dpkg/status
48.0-1ubuntu1.2 500
500 http://us.archive.ubuntu.com/ubuntu plucky-updates/main amd64
Packages
48.0-1ubuntu1 500
500 http://us.archive.ubuntu.com/ubuntu plucky/main amd64 Packages
** Tags removed: verification-needed verification-needed-plucky
** Tags added: verification-done verification-done-plucky
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/2106813
Title:
VPN toggle button not working in gnome shell
Status in GNOME Shell:
Fix Released
Status in gnome-shell package in Ubuntu:
Fix Released
Status in gnome-shell source package in Plucky:
Fix Committed
Status in gnome-shell source package in Questing:
Fix Released
Bug description:
SRU Justification:
[ Impact ]
The VPN toggle in the gnome shell menu does not actually trigger the expected
action, meaning the VPN is not enabled when it should be. This patch resolves
the issue.
In general, the gnome-shell and vpn settings are not moving together.
[ Test Plan ]
1. Click to enable an openconnect vpn in the gnome shell menu
Expected behavior: The indicator toggles, and the actual VPN state is updated.
Actual behavior: The indicator toggles, but the VPN state is not updated.
If the connection is already active, click on the toggle again.
Expected behavior: Connection should be disabled
Actual behavior: Connection remains active
[ Fix ]
Manually activate the switch handle on toggle state update
[ Where problems could occur ]
Regression risk should be minimal since the feature as-is is broken.
If any bugs exist in the implementation of the toggle state change
handler, those may now appear on the code path of the toggle switch,
which may still be unexpected to users.
[ Other Info ]
Original report details:
I have some openconnect, and wireguard vpns.
When I click to enable an openconnect vpn in the gnome shell menu, the
indicator toggles, but nothing happens, when I click on the vpn
settings, it is not enabled.
When I click on it again, which should disable the connection, then it
connects.
The problem first appeared in 24.10, still exists in 25.04
ProblemType: Bug
DistroRelease: Ubuntu 25.04
Package: gnome-shell 48.0-1ubuntu1
ProcVersionSignature: Ubuntu 6.14.0-15.15-generic 6.14.0
Uname: Linux 6.14.0-15-generic x86_64
ApportVersion: 2.32.0-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Fri Apr 11 12:05:21 2025
DisplayManager: gdm3
InstallationDate: Installed on 2023-03-29 (744 days ago)
InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Alpha amd64 (20230324)
RelatedPackageVersions: mutter-common 48.1-1ubuntu3
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to plucky on 2025-04-08 (2 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell/+bug/2106813/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp