From ffeda06d03a0c482bf7d8c1119fb694881d3bc8d Mon Sep 17 00:00:00 2001 From: yusufmntm Date: Mon, 30 Nov 2026 22:26:11 +0300 Subject: [PATCH] feat(settings): a switch to hide the tray icon on Windows and Linux MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Settings → General → "Show Filee in the system tray" reuses the macOS menu bar preference (ShowMenuBarIcon), so the tray icon follows it on every platform. When it is off on Windows or Linux, a caption says Filee keeps running and opens again from the Start menu or the app launcher. Fixes #1867 Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 6 +++++ src/Filee.App/Assets/i18n/ar.json | 2 ++ src/Filee.App/Assets/i18n/bn-BD.json | 2 ++ src/Filee.App/Assets/i18n/de.json | 2 ++ src/Filee.App/Assets/i18n/en.json | 2 ++ src/Filee.App/Assets/i18n/es.json | 2 ++ src/Filee.App/Assets/i18n/fa.json | 2 ++ src/Filee.App/Assets/i18n/fr.json | 2 ++ src/Filee.App/Assets/i18n/hi.json | 2 ++ src/Filee.App/Assets/i18n/id.json | 2 ++ src/Filee.App/Assets/i18n/it.json | 2 ++ src/Filee.App/Assets/i18n/ja.json | 2 ++ src/Filee.App/Assets/i18n/ko.json | 2 ++ src/Filee.App/Assets/i18n/mn.json | 2 ++ src/Filee.App/Assets/i18n/ne.json | 2 ++ src/Filee.App/Assets/i18n/pl.json | 2 ++ src/Filee.App/Assets/i18n/pt-BR.json | 2 ++ src/Filee.App/Assets/i18n/pt-PT.json | 2 ++ src/Filee.App/Assets/i18n/ru.json | 2 ++ src/Filee.App/Assets/i18n/th.json | 2 ++ src/Filee.App/Assets/i18n/tr.json | 2 ++ src/Filee.App/Assets/i18n/vi.json | 2 ++ src/Filee.App/Assets/i18n/zh-CN.json | 2 ++ src/Filee.App/Assets/i18n/zh-TW.json | 2 ++ src/Filee.App/Services/TrayService.cs | 4 +-- .../ViewModels/Pages/GeneralPageViewModel.cs | 6 ++++- src/Filee.App/Views/Pages/GeneralPage.axaml | 7 +++-- src/Filee.Core/Settings/AppSettings.cs | 2 +- tests/Filee.App.Tests/CloseActionTests.cs | 27 +++++++++++++++++-- tests/Filee.App.Tests/RenderTests.cs | 18 ++++++++++--- tests/Filee.App.Tests/TrayServiceTests.cs | 16 ++++++++--- 31 files changed, 116 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e0932320c..7e26d434c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -86,6 +86,8 @@ ko: 전체 화면 게임이나 동영상, 프레젠테이션 중에는 업데이 en: The update notice doesn't appear over full-screen games, videos or presentations: it waits until you next use Filee ko: 업데이트 알림에 '나중에'(3일 뒤 다시 알림)와 '이 버전 건너뛰기'가 생겼고, 처음 실행할 때 알림을 끄는 방법도 알려 줘요 en: The update notice has Later (reminds you in 3 days) and Skip this version, and first run says how to turn it off +ko: Windows와 Linux에서도 설정 → 일반에서 시스템 트레이 아이콘을 숨길 수 있어요 +en: Windows and Linux can hide the system tray icon in Settings → General --> - **No update notice over full-screen games** (#1897). The "new version" card in the bottom-right corner could appear @@ -380,6 +382,10 @@ en: The update notice has Later (reminds you in 3 days) and Skip this version, a named `--json`. Everything after `--` is a file to convert, even if it starts with `-`. The examples in `filee help` use Windows paths on Windows and `~/` paths on macOS and Linux. +- **Hide the system tray icon on Windows and Linux** (#1867). **Settings → General → Show Filee in the system tray** + hides Filee's tray icon while Filee keeps running in the background, like macOS's menu bar switch already does. Open + Filee again from the Start menu or your app launcher whenever you want its window back. + ## 2.5.0