Skip to content

[v17] Allow Connect to run in background#58924

Merged
gzdunek merged 2 commits intobranch/v17from
gzdunek/backport-58575/v17
Sep 10, 2025
Merged

[v17] Allow Connect to run in background#58924
gzdunek merged 2 commits intobranch/v17from
gzdunek/backport-58575/v17

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

* 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
Merged via the queue into branch/v17 with commit ab4edcc Sep 10, 2025
43 checks passed
@gzdunek gzdunek deleted the gzdunek/backport-58575/v17 branch September 10, 2025 09:09
@doggydogworld doggydogworld mentioned this pull request Sep 18, 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