Skip to content

Use app.dock.hide when connecting to an existing instance #259352

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
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JBlitzar
Copy link

@JBlitzar JBlitzar commented Aug 2, 2025

As discussed in #258824 (comment)

(and previously #131213 (comment))

Calls app.dock.hide() after another running instance is detected.

@deepak1556

@deepak1556
Copy link
Collaborator

Calling hide at this point might be late we could have a flash of the dock icon. Can we try to start the application with dock hidden and if instance can be claimed then call dock.show ?

@bpasero
Copy link
Member

bpasero commented Aug 4, 2025

I like the idea of trying this again, but shouldn't we just restore how it used to be before we removed it? I think I was calling it at a very early point.

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

Successfully merging this pull request may close these issues.

3 participants