Position window on startup where it was on prior shutdown.
Categories
(Thunderbird :: OS Integration, enhancement)
Tracking
(Not tracked)
People
(Reporter: utoddl, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
Steps to reproduce:
Started Thunderbird every morning since it was split off from the Mozilla browser, and every morning I've had to move it to the desired location on my screen.
Actual results:
It opens wherever it opens, and the right size, but never, ever, not even once, has it opened where I've placed it for years.
(And yeah, this is now my biggest complaint about Thunderbird, which is to say, I really like it a lot and greatly appreciate the work you folks have put into it over these many years.)
Expected results:
It should open its window in the same location (within reason of course) that it was in when I shut it down the day before.
(And I'll continue to like and use Thunderbird, and encourage others to use it as well. Cheers.)
Comment 1•5 years ago
|
||
Which version are you using? For me, it works.
Reporter | ||
Comment 2•5 years ago
|
||
(In reply to Jorg K (GMT+2) from comment #1)
Which version are you using? For me, it works.
$ rpm -q thunderbird
thunderbird-60.8.0-1.fc30.x86_64
Comment 3•5 years ago
|
||
OK, for me it works on Windows. No idea how the Linux distro specific windows manager is interfering here.
Richard, can you check for us on "some" Linux?
Reporter | ||
Comment 4•5 years ago
|
||
Thanks for asking. As a test, I:
- closed thunderbird
- moved my xulstore.json to xulstore.json-orig
- started thunderbird
- positioned the window (and a few other ui tweaks)
- closed thunderbird
- started thunderbird again
but it had no effect. The window started with the right size, but not in the last position.
I know some other applications (Slack, for example, which is an electron app) do start up in their last position, so I know this can work. I'm willing to put some time into other tests if somebody has a suggestion of what to try.
Comment 5•5 years ago
|
||
On Ubuntu I'm sure it always centers all windows on the desktop. On Fedora I'm not 100% sure it does the same but I think it does. Maybe there is a WM switch to disable this.
Comment 6•5 years ago
|
||
I tried more on Mint, Ubuntu and Fedora.
On Mint and Ubuntu I have the Firefox Nightly and it restores the last position. But this doesn't look very optimal as it opens first centred and then jumps to the last saved position. Tb stays centred.
On Fedora I have Firefox 68 and it stays centred like TB.
So it seems FX has added some logic to restore the last position. I don't know how they do it.
Comment 7•5 years ago
|
||
There are a lot of variables to consider with Window placement on Linux Desktops. Including the DE and any extensions that are installed either by the user or by the distribution. If we are to assume that Mint, Ubuntu, and Fedora are all running the same version of Gnome with the same extensions installed. However, for the sake of the ticket lets make the assumption that everyone is using the exact same thing.
Looking at the Gnome bug list it seems that they have several issues open about this very problem, where in some applications manage their size and location internally while others depend on the window manager to remember and restore these settings. FX must be one of the applications that manages their own location data -or- there is an extension present that restores these setting after FX is launched.
My question in all of this, is whether or not this is something TB needs to address as a bug or something that would be better discussed in the Gnome forums.
Comment 8•5 years ago
|
||
I would also like to request this feature. Almost all other apps remember window position when they are restarted. Thunderbird doesn't even remember which monitor to use.
Fedora 30 64-bit (GNOME 3.32, Xorg 1.20.5)
Comment 9•5 years ago
|
||
(In reply to Jonathan Nicol from comment #8)
I would also like to request this feature. Almost all other apps remember window position when they are restarted. Thunderbird doesn't even remember which monitor to use.
Fedora 30 64-bit (GNOME 3.32, Xorg 1.20.5)
I only have one monitor and don't care where any apps open because I open them all maximized.
When minimized, no matter what the window position is, TB always opens top center of the desktop on Ubuntu 18.04.3 LTS. Same with Firefox.
Mahjongg in the center.
GnuCash where I closed it.
AisleRiot in the upper left, no matter the window position.
LibreOffice where I closed it.
SMPlayer where I closed it.
VLC close to where I closed it.
So we need to file bugs for some other apps or Ubuntu to open all apps where they were positioned on the window when closed.
Updated•2 years ago
|
Description
•