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

Restore maximized window state after hiding to tray #79

Closed hxss closed 2 years ago

hxss commented 3 years ago

After hiding maximized window to tray TB restores in normal state. Systray-x restores any normal window size/position but not maximized state. On startup window state restores correctly.

duguyipiao commented 3 years ago

As a workaround, you can enable the title bar, i.e., disable the client-side decoration.

Ximi1970 commented 3 years ago

Seems to be just working fine with 0.8.0 and 91.2.0. Can you have a look?

duguyipiao commented 3 years ago

Seems to be just working fine with 0.8.0 and 91.2.0. Can you have a look?

Not for me when CSD is enabled. Manjaro Xfce, thunderbird 91.2.0, and the latest dev commit 9da01b8b2e757ae338c2d7fbbbe8df3d85d9449c

Ximi1970 commented 3 years ago

Uh what is CSD?

Ximi1970 commented 3 years ago

Ah found it. :smile: (Client-Side Decoration) Looks like you are disabling the hooks I need to control the TB window.

Ximi1970 commented 3 years ago

There is still no way to control the windows of TB from within TB itself. There is no API to do this. I need the window manager to do it for me....

Ximi1970 commented 3 years ago

@duguyipiao I do not think your problem belongs in this issue. Opened a new one, see #107

Ximi1970 commented 3 years ago

@hxss please have a look if the problem still exists. My window is still maximized when it was docked before.

hxss commented 3 years ago

@Ximi1970 Yes, now the window runs at maximum size. Problem #107 also appeared. And the "start application minimized" option does not work - when logging in, the thunderbird window just opens