Otter-shell · #57
WiFi applet disappears when clicked.
This WiFi applet is evil man
Bug report
Steps to reproduce
- Use otter shell
- try to connect a network you don’t have the password for
- click anywhere on the applet
- poof disappears
Expected behavior
- clicking the button makes the button do what’s supposed to do, and clicking on an empty area in the applet should do nothing, not make it go poof.
Actual behavior
- poof disappears
Environment
PikaOS 4 Otter
Discussion
Sign in with Discord to comment.
PikaOS Projects
Fixed and pushed in otter-bar 44095f4.
Root cause was the shared popup dispatcher unconditionally closing a menu after every click, even when PopupMenu.handleClickLocal reported that no item was selected. Empty space, separators, and submenu parents now keep the applet open; a valid selection still closes it, while secured Wi-Fi selection still transitions to the password popup.
Verification: added regression coverage for empty vs selected clicks; ReleaseFast test suite and build pass.