Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add a way to open Coder Desktop when it's not visible in the menu bar #148

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
brettkolodny opened this issue May 5, 2025 · 2 comments

Comments

@brettkolodny
Copy link

Currently if a user's menu bar is full of other apps, causing Coder Desktop to be hidden, then there is no way to open Coder Desktop without first closing other apps until it shows up.

Bellow are some potential ways to solve the problem:

Open Coder Desktop's tray menu on focus

I'm not sure if this is possible but if it is it would be a nice workaround to the issue. This was also the behavior I was hoping was already working when I ran into this issue.

Open a standalone window

There seems to be two ways to implement this behavior:

  1. Make Coder Desktop a "real" app rather than a background app.
    This solves the problem but causes Coder Desktop to always be in the dock even when no windows are open which could be seen as annoying.

  2. Ship two apps, one background one "real".
    This is probably the best solution in terms of UX but with having to build and maintain two separate apps in one.

@matifali
Copy link
Member

matifali commented May 5, 2025

I wonder how other apps handle this. When I have the same situation with Tailscale, I see

Image

@ethanndickson
Copy link
Member

I wonder how other apps handle this. When I have the same situation with Tailscale, I see

Image

Good to know we can at least detect it. A message like this might be a relatively free win in the meantime.

ethanndickson added a commit that referenced this issue May 8, 2025
Relates to #148.

If the menu bar icon is hidden (such as when behind the notch, or otherwise), reopening the app will display an alert that the icon is hidden.
There's also a button to not show the alert again.

I've also tested that this, and the 'Do not show again' button, work in a fresh VM.

This is the same as what Tailscale does:

https://github.com/user-attachments/assets/dae6d9ed-eab2-404f-8522-314042bdd1d8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants