+5
Completed

Remember window size and position

Graham Smith 12 years ago updated by David L 8 years ago 11

Would it be possible to remember the size and position of a window that is save-closed? When a window is re-opened at the moment it always appears full height regardless of what it looked like when it was closed.

Answer

Answer
Completed

Some possibility to restore windows in original position if they was saved-closed by green-x or by "close all" is already there for sometime, but this must be enabled in options to work.


Yet the changed position of windows will not be remembered if they was saved automatically in the result of crash or because, for example, they have the custom title or placed inside some group (in this case on close initiated from Chrome they become saved, but with the size and position they have on open, not on close).


The reason for this - to make it work in all cases need implement constant pooling for windows sizes (it's not a CPU or resources friendly and i just don't like this idea), also will be needed to initiate the save on any window size change, and in future an a synchronize event which will goes to server side to synchronize the database. All of this raise too big issues for such a small feature.


Maybe it will be improved in future to cover more cases, when there will be no other more important problems anymore.

For now you can use workaround software/scripts for saving window position based on window title.

It should be quite possible to find or write one which will save window positions by polling current ones and will restore/reapply when appropriate.


Though there will be some bugs, cause using title text as ID is not the best choice, some sites do not provide needed distinctions in some cases, for example

Planned

Yes it is easily possible, even more, i especially implement another algorithm, as this simple approach was not very usable actually, when you need open a lot of windows. But I might add an option to disable this. 

That would be great. Maybe radio boxes in the options:

- cascade

- fixed size and position

- remember size and position

It is already implemented for a long time, yet without cascade, see the options (must be enabled to work, off by default). Just forget to update the bug.

True I have seen I knew I have seen something like that in the options. I have that checked (maybe did it before and forgot) but anyway it does not work. So every time when I open it again it has fixed same width. Only position changes. I thought maybe there is a problem with other plugin like window resizer, so I disable it, but I still have the same problem. Any idea why it is in still "cascading mode" even if I check to save window size and position? Thank you

Hmm, works for me.


"Restore saved windows in the original position and size."


must be checked. Also to save the position and size you must save-close window by green x in TO. And this will start to work only for newly saved windows - not for a saved windows you already have in tree.


If it is not work....

well, that is interesting then.


But i just test it in different scenarios - seems work ok...



Answer
Completed

Some possibility to restore windows in original position if they was saved-closed by green-x or by "close all" is already there for sometime, but this must be enabled in options to work.


Yet the changed position of windows will not be remembered if they was saved automatically in the result of crash or because, for example, they have the custom title or placed inside some group (in this case on close initiated from Chrome they become saved, but with the size and position they have on open, not on close).


The reason for this - to make it work in all cases need implement constant pooling for windows sizes (it's not a CPU or resources friendly and i just don't like this idea), also will be needed to initiate the save on any window size change, and in future an a synchronize event which will goes to server side to synchronize the database. All of this raise too big issues for such a small feature.


Maybe it will be improved in future to cover more cases, when there will be no other more important problems anymore.

Every time I open chrome, it opens in full screen and covers Tabs Outliner. Even if I use the green-x button. I'm using Linux though with gnome 3.12.2, so maybe that's where the problem is?

Having to resize the window all the time got pretty annoying so I switched over to Sidewise for now. I'm not sure how they do it, but every time I open chrome now Sidewise opens in the same place and keeps the main window from covering it up. It's lacking many features that I miss from Tabs Outliner though, so I hope there's a way to get this working in the same way Sidewise does. I'd switch back in a heartbeat if I could figure out how to make the main window not cover the Tabs Outliner window every time I open chrome.
Thanks for this your use-case, It's explain a lot why some people might prefer docking functionality. Was really unaware of such case, as i have wide big screen and newer actually opens Chrome in fullscreen.
+4

I know this is a really old post, but it still shows up at the top of google results. I just want to note that your screen position/size will NOT be saved if you click the green X for a specific tab node. It WILL be saved by clicking the green X on the WINDOW or GROUP node.