noctalia-shell icon indicating copy to clipboard operation
noctalia-shell copied to clipboard

vpn widget - function differs from other widgets

Open spicewiesel opened this issue 5 months ago • 4 comments

Description

  1. 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

  1. Left click the VPN widget
  2. 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

spicewiesel avatar Nov 25 '25 15:11 spicewiesel

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.

ItsLemmy avatar Nov 25 '25 22:11 ItsLemmy

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.

spicewiesel avatar Nov 26 '25 07:11 spicewiesel

ah gotcha, that indeed is an option, to have two context menus.

ItsLemmy avatar Nov 26 '25 14:11 ItsLemmy

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.

spicewiesel avatar Nov 28 '25 09:11 spicewiesel