vpn widget - function differs from other widgets
Description
- All the bar widgets follow the same principle:
- left mouse button -> widget main function (like showing notification history, changing brightness, opening audio settings dialog,...)
- right mouse button -> open widget settings, some other options (toggle mute etc)
The VPN widget does it the other way round: There is no function on the LBM, but all the functions on the RMB. I have to use the right button for managing my vpns and to access the widget settings.
Steps to Reproduce
- Left click the VPN widget
- Right click the VPN widget
Expected Behavior
IMHO the widgets should all follow the same principles on usage. Main function on LMB, Settings on RMB
Environment
- Distro: Arch Linux
- Compositor: Niri
- Noctalia-shell Version: 3.3.1
I agree with you but I really don't think having connect/disconnect on the LMB is such a good idea, as it's really "dangerous" At some point we should have a VPN panel and then things will make more sense.
That would be fine, too, yes. But just to be clear as I don't know if I expressed it right: I didn't mean the LMB click should directely/instantly (dis-)connect a network, I just thought it would be nice to open a menu that way, where you then can choose what to do with the existent network. Just the way the RMB right now works, but tat menu split into a LMB menu for managing networks and the RMB menu to access settings.
ah gotcha, that indeed is an option, to have two context menus.
Exactly — we already have this for all the other widgets (sound, brightness, Bluetooth, Wi-Fi). In my opinion, it would make sense to simply adapt the design of the Bluetooth or Wi-Fi widget menus. They already follow a similar structure with sections like “Connected devices” / “Known devices” and “Known networks” / “Available networks.”
I think this approach would work well for VPNs too, since it clearly shows which VPNs exist and which ones are currently connected or disconnected.