← Back to context

Comment by nh2

1 day ago

Excellent, I will try it straight away. I'll pay out 75% if it works (as it fixes my immediate problem), and the remaining 25% if it gets merged. I'll email you after my test.

I think one possible complaint you might get in the review is that when refreshing is fully disabled in the menu, people won't see new networks come up (e.g. when they had just enabled Wifi, or unsuspended).

Maybe a good solution would be to to have one unclickable menu entry pop up labelled e.g. "Networks changed, re-open this menu" to solve that. Probably in nm-applet's main context menu of which the list is a child, instead of in the list itself, so that its appearance doesn't move around the networks on which the user is currently intending to click.

It only stops refreshing if you are hovering the actual SSID list items which in my opinion is the cleanest way to do it, if you want new data you can reclick/rehover the "available networks". The Other option is putting the refresh on a global timer, but that would add magic which isn't clear to the user.

Thanks, I will be awaiting your test result!

  • I agree that logic is sound, but it is also not discoverable to the user:

    They might open the list (with the cursor resting on one of the items, or use the keyboard to navigate out of comfort or for accessibility reasons), then notice "oh wait, I haven't actually enabled my phone's Wifi hotspot yet", enable that, and wait forever for it to appear.

    That's why I'm thinking something should visually (and non-visually) change so the user can notice.

    Maybe even cleaner would be to add a tooltip to the currently-hovered entry? That might work for both mouse and non-mouse use cases, and might even work for screenreaders.