Skip to content

[v18] Allow Connect to run in background#58923

Merged
gzdunek merged 2 commits intobranch/v18from
gzdunek/backport-58575/v18
Sep 10, 2025
Merged

[v18] Allow Connect to run in background#58923
gzdunek merged 2 commits intobranch/v18from
gzdunek/backport-58575/v18

Conversation

@gzdunek
Copy link
Copy Markdown
Contributor

@gzdunek gzdunek commented Sep 9, 2025

Backport #58575
Backport dialog improvements from #58858

changelog: Teleport Connect now runs in the background by default on macOS and Windows. On Linux, this behavior can be enabled in the app configuration

gzdunek and others added 2 commits September 9, 2025 12:41
* Add tray icons for Mac and Linux

* Fix resources path

* Add config option

* Set tray when the app launches

* Integrate app with tray

* Notify UI when window visibility changes

* Terminate foreground sessions when window is hidden

* Open dialogs first before showing window

* Improve docs

* Rely on `window.isVisible()` to tell if window is hidden or not

* Change `WindowsManagerIpc.WindowVisibility` to `RendererIpc.WindowVisibility`

* Rename "window visibility" to "background mode"

* Revert "Open dialogs first before showing window"

This reverts commit b17147c.

* Simplify mounting/unmounting documents

* Use different GUIDs for packaged and dev app

* Make sure window is not destroyed before using it

* Renames

* Improve dialog message

* Add `isDestroyed` to window mock

* Fix comment

* `database` -> `databases`

* Improve readability

(cherry picked from commit 6cef4f3)
@gzdunek gzdunek added this pull request to the merge queue Sep 10, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 10, 2025
@gzdunek gzdunek added this pull request to the merge queue Sep 10, 2025
Merged via the queue into branch/v18 with commit 92bee13 Sep 10, 2025
44 checks passed
@gzdunek gzdunek deleted the gzdunek/backport-58575/v18 branch September 10, 2025 09:20
@doggydogworld doggydogworld mentioned this pull request Sep 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants