Skip to content
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

[Feature request] Autostart minimize to systray #140

Closed
Bjoern-B opened this issue Apr 14, 2023 · 7 comments
Closed

[Feature request] Autostart minimize to systray #140

Bjoern-B opened this issue Apr 14, 2023 · 7 comments

Comments

@Bjoern-B
Copy link

Would it be possible to add an option to have Betterbird start minimized to the systray instead of having it launch in fullscreen and having to close it everytime on boot.

@Betterbird
Copy link
Owner

For which platform? Windows has "minimise to tray", on Linux we still don't have it, see Issue #111.

What do you mean by "close it every time on boot"? Do you have BB as a startup program?

@Bjoern-B
Copy link
Author

Yes sorry for windows, exactly i have Betterbird as a startup program and everytime i boot windows it then opens but it would be nice if it would just open to the system tray directly so that i still get the notifications while im on my machine but just dont have to close it every time.

@Betterbird
Copy link
Owner

OK. Do you know the mail.biff.show_tray_icon_always? That always shows the icon in the system tray, regardless of whether there is new mail or not. Would be handy in your case to know whether BB is running.

As for the "start minimised", we could investigate an and another option. Any incentive you can offer?

Checking Bugzilla for existing bugs, I found:
https://bugzilla.mozilla.org/show_bug.cgi?id=1679702
https://bugzilla.mozilla.org/show_bug.cgi?id=1816256

@Betterbird
Copy link
Owner

Looks doable. window.minimize() minimises the window, that call must be placed at the right spot in the startup code, with a preference to enable it.

@Betterbird
Copy link
Owner

OK, you should get what you wanted if you set pref mail.startupMinimized to true. We can't make it 100% perfect since the window flashes up for a split-second. Try this build:
https://www.betterbird.eu/downloads/WindowsInstaller/betterbird-102.10.0-bb33-latest-build.en-US.win64.installer.exe

@Bjoern-B
Copy link
Author

That works great thank you

@Betterbird
Copy link
Owner

If you have a Bugzilla account, you could mention in https://bugzilla.mozilla.org/show_bug.cgi?id=1816256 that we implemented the feature.

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

2 participants