gyunaev / birdtray

new mail system tray notification icon for Thunderbird
GNU General Public License v3.0
782 stars 59 forks source link

Birdtray Forgets Thunderbird's Window Was Maximised. #555

Open Atlaimond opened 11 months ago

Atlaimond commented 11 months ago

OS: Linux Mint 21.02 Linux Desktop Manager: Xfce Birdtray version: 1.9.0 Thunderbird version: 115.0.1 (64-bit) - Flatpak org.mozilla.Thunderbird/x86_64/stable Birdtray origin: Terminal; Flatpak install com.ulduzsoft.Birdtray Qt version: NA

Description After Thunderbird is minimised to tray-icon and got back by left clicking on Birdtray tray-icon it reappears in restored down window size instead of the maximised size it was hid away. PS. It remembers the change in size of the windows, so it's a kind of a workaround to stretch Thunderbird's window to maximise-like size and it returns just as it had been minimised. šŸ¤“šŸ’”

Expected behavior Birdtray gets Thunderbird back with maximised window option if it was maximised at minimising.

To Reproduce

  1. Enable "ā˜‘ Hide/show Thunderbird window when clicking on tray icon".
  2. Maximise Thunderbird's window.
  3. Minimise or left-click on Birdtray-icon. Thunderbird gets hidden.
  4. Left click on Birdtray again to make Thunderbird re-appear.

Screenshots

Additional context I disabled all extensions I use when I tried this. In normal circumstances, I use the [Minimize on Close] and [Google Chat Tab] extensions. Also, I've just switch the Flatpak Thunderbird version, and this issue appeared already. It wasn't an issue with the Thunderbird from the Linux Mint official repository installed.

rotalumi commented 10 months ago

This issue began for me immediately after the upgrade to Thunderbird 115 in July.

OS: EndeavourOS (Arch) Desktop environment: Xfce Birdtray version: 1.9.0 1.11.4 (installed from Arch User repository) Thunderbird version: 115.1.1 115.12.2 (installed from Arch Extra repository) Qt version: 5.15.10 5.15.14 (installed from Arch Extra repository)

Edit: Upgraded Birdtray to 1.11.4. The issue persists. Edit: Upgraded Thunderbird to 115.12.2. The issue persists. Edit: Upgraded Qt to 5.15.14. The issue persists.

Reiqen commented 8 months ago

Hello, this problem still exists. Is there any way to fix it? I am using Linux Mint 21.2, Thunderbird is preinstalled, version 115.4.1

Atlaimond commented 8 months ago

Hello, this problem still exists. Is there any way to fix it? I am using Linux Mint 21.2, Thunderbird is preinstalled, version 115.4.1

I still use the method I've mentioned in the beginning of the post. I heard no new solution so far, and I've also got used to it not to maximise the Thunderbird window just stretch it out maximise-like.

Quote:

PS. It remembers the change in size of the windows, so it's a kind of a workaround to stretch Thunderbird's window to maximise-like size and it returns just as it had been minimised. šŸ¤“šŸ’”

rotalumi commented 8 months ago

stretch Thunderbird's window to maximise-like size and it returns just as it had been minimised

I've been doing the same thing.

Another workaround might be to open Thunderbird full-screen in its own workspace. When the Birdtray icon indicates that you have new messages, use your window manager's keyboard shortcut to move to the Thunderbird workspace. When done in Thunderbird, use a keyboard shortcut to return to your main workspace. This workaround has the advantage of re-opening Thunderbird with the keyboard, functionality which seems to be absent with Birdtray.

However, I've found it easiest to follow @Atlaimond's excellent suggestion.

YuruiHong commented 6 months ago

Hello, this problem still exists. Is there any way to fix it? I am using Linux Mint 21.2, Thunderbird is preinstalled, version 115.4.1

I still use the method I've mentioned in the beginning of the post. I heard no new solution so far, and I've also got used to it not to maximise the Thunderbird window just stretch it out maximise-like.

Quote:

PS. It remembers the change in size of the windows, so it's a kind of a workaround to stretch Thunderbird's window to maximise-like size and it returns just as it had been minimised. šŸ¤“šŸ’”

Not working for me on Debian 6.6.8-1, MATE desktop and Thunderbird 115.6.0. No matter how I manually scale the window, after minimizing and making thunderbird reappear, it is always resized to default.

Atlaimond commented 6 months ago

Hello, this problem still exists. Is there any way to fix it? I am using Linux Mint 21.2, Thunderbird is preinstalled, version 115.4.1

I still use the method I've mentioned in the beginning of the post. I heard no new solution so far, and I've also got used to it not to maximise the Thunderbird window just stretch it out maximise-like. Quote:

PS. It remembers the change in size of the windows, so it's a kind of a workaround to stretch Thunderbird's window to maximise-like size and it returns just as it had been minimised. šŸ¤“šŸ’”

Not working for me on Debian 6.6.8-1, MATE desktop and Thunderbird 115.6.0. No matter how I manually scale the window, after minimizing and making thunderbird reappear, it is always resized to default.

I've solved this like that I put Thunderbird window's upper and left sides to stick to the edge of the screen properly, BUT, I only stretch its bottom and right side almost to their proper end, leaving 2-3 millimetres gap in between the window's and the screen edges! šŸ¤

Screenshot_2023-12-28_06-14-50-1

PS. I guess the system's user interface automatically puts a window into maximized state as its borders get very close to the edges of the screen. It happens to me in Linux Mint 21.2, XFCE, I guess it could be the same case in Debian 6.6.8-1, MATE too. šŸ¤·

YuruiHong commented 6 months ago

Hello, this problem still exists. Is there any way to fix it? I am using Linux Mint 21.2, Thunderbird is preinstalled, version 115.4.1

I still use the method I've mentioned in the beginning of the post. I heard no new solution so far, and I've also got used to it not to maximise the Thunderbird window just stretch it out maximise-like. Quote:

PS. It remembers the change in size of the windows, so it's a kind of a workaround to stretch Thunderbird's window to maximise-like size and it returns just as it had been minimised. šŸ¤“šŸ’”

Not working for me on Debian 6.6.8-1, MATE desktop and Thunderbird 115.6.0. No matter how I manually scale the window, after minimizing and making thunderbird reappear, it is always resized to default.

I've solved this like that I put Thunderbird window's upper and left sides to stick to the edge of the screen properly, BUT, I only stretch its bottom and right side almost to their proper end, leaving 2-3 millimetres gap in between the window's and the screen edges! šŸ¤

Screenshot_2023-12-28_06-14-50-1

PS. I guess the system's user interface automatically puts a window into maximized state as its borders get very close to the edges of the screen. It happens to me in Linux Mint 21.2, XFCE, I guess it could be the same case in Debian 6.6.8-1, MATE too. šŸ¤·

Still not working, for my DE ANY modification of window size, including that in your suggestion, will be lost.šŸ˜”

Atlaimond commented 6 months ago

Hello, this problem still exists. Is there any way to fix it? I am using Linux Mint 21.2, Thunderbird is preinstalled, version 115.4.1

I still use the method I've mentioned in the beginning of the post. I heard no new solution so far, and I've also got used to it not to maximise the Thunderbird window just stretch it out maximise-like. Quote:

PS. It remembers the change in size of the windows, so it's a kind of a workaround to stretch Thunderbird's window to maximise-like size and it returns just as it had been minimised. šŸ¤“šŸ’”

Not working for me on Debian 6.6.8-1, MATE desktop and Thunderbird 115.6.0. No matter how I manually scale the window, after minimizing and making thunderbird reappear, it is always resized to default.

I've solved this like that I put Thunderbird window's upper and left sides to stick to the edge of the screen properly, BUT, I only stretch its bottom and right side almost to their proper end, leaving 2-3 millimetres gap in between the window's and the screen edges! šŸ¤ Screenshot_2023-12-28_06-14-50-1 PS. I guess the system's user interface automatically puts a window into maximized state as its borders get very close to the edges of the screen. It happens to me in Linux Mint 21.2, XFCE, I guess it could be the same case in Debian 6.6.8-1, MATE too. šŸ¤·

Still not working, for my DE ANY modification of window size, including that in your suggestion, will be lost.šŸ˜”

That's an unfortunate. I only have just one more idea. I use the Flatpack version of BirdTray. Maybe, if you don't use that one already, that could help. šŸ¤·

Mine says - - - Birdtray / Settings... / About - - - Birdtray version 1.11.4 compiled at Oct 26 2023 18:11:36 using Qt 5.15.10.

rotalumi commented 6 months ago

I use the Flatpack version of BirdTray. Maybe, if you don't use that one already, that could help.

I am using the regular version of Birdtray, not the Flatpak. Yet my window snapping and resizing experience with Thunderbird is the same as yours. So I doubt that switching to the Flatpak version is going to make a difference for @YuruiHong.

You and I are both using Xfce, but @YuruiHong is using MATE, so I suspect that the window manager is making the difference.

@YuruiHong, you might try switching your window manager from Marco to Compiz in MATE System Preferences.