Ximi1970 / systray-x

SysTray-X: A system tray extension for Thunderbird. Needs both the addon AND the companion app installed to work. Will not work with TB flatpaks or snaps.
Mozilla Public License 2.0
217 stars 14 forks source link

TB window is minimized on change of workspace #137

Closed dreisieben closed 12 months ago

dreisieben commented 1 year ago

Describe the bug I have TB running on its own workspace in gnome. When I switch to another workspace (using a keyboard shortcut) and then return to TB's workspace, the TB window is minimized. (Same behavior in X11 and wayland.)

To Reproduce Use multiple workspaces in gnome. Open TB on one workspace. Switch to another workspace using the keyboard shortcut for switching workspaces. Return to the workspace on which the TB window should be open. However, TB window is minimized.

Expected behavior TB window should be open.

Screenshots N/A

Desktop (please complete the following information):

Additional context N/A

JerwuQu commented 1 year ago

For me on i3, setting the "Minimize" action in systray-x settings to "Default minimize" rather than "Minimize to tray" prevents this behavior, but then I cannot close the window instead because the "Close" action doesn't minimize to tray.

I think a solution could be to have another option for "Close" which does the same minimization as the "Minimize to tray" option under "Minimize" does. EDIT: This is what #45 suggests.

Ximi1970 commented 1 year ago

Solved after refactor of window handling. Available in git, develop. Not yet in a release