is there a known bug about rancher desktop 1.14's ...
# rancher-desktop
q
is there a known bug about rancher desktop 1.14's menu bar kubernetes context switcher's ✔️ not behaving correctly on macOS?
f
No, in what way does it not work for you?
q
it's leaving ✔️ next to previously selected items
so, initially it has whatever was selected before the menu was first opened
then when one clicks another, it doesn't clear that, but adds a ✔️ to the clicked item.
click another, you end up w/ 3 items w/ ✔️
(it does appear to be updating the active context, so it's just a rendering glitch)
f
As soon as I click on a context, it dismisses the menu. When I bring it up again the checkmark is on the new selection
I don't know why it keeps the menu on the screen for you; that would be the actual bug
q
the menu closes
it's only when we go back to the menu that we see it
Fwiw, I can reproduce, but Jan can't... 😞
p
Hmm, I can't either. Looking at the code ( https://github.com/rancher-sandbox/rancher-desktop/blob/4c5d8627a5f0d7290a287cec692bf4a5882fd94a/pkg/rancher-desktop/main/tray.ts#L271 ) we just rebuild the menu from scratch and replace it…
q
@fast-garage-66093 suggested:
The submenu is constructed new each time it is displayed, and the condition only checks a single name. So the only explanation would be some weird caching mechanism in the submenu construction code.
is there a way for me to get to an electron debugger?
f
p
I think that's only when running from source, because somebody complained before that we could do too much from the release build
q
...
f
Yes, I believe so too, but don't actually know
q
image.png
[235470604/162250.030353ERROR:devtools_http_handler.cc(765)] Rejected an incoming WebSocket connection from the http://localhost:8315 origin. Use the command line flag --remote-allow-origins=http://localhost:8315 to allow connections from this origin or --remote-allow-origins=* to allow all origins.
it works!
ok, so
--remote-allow-origins=<http://localhost:8315>
needs to be added to that readme
f
Can you create a PR to update the README with the correct debugging command?
q
lemme do that now
f
Thank you! And any luck with the additional checkmarks?
q