Hi, a Debian user wishlisted that Thunar save the size and position of Thunar window when closing it. Thunar is never really closed, but it could be nice if, when opening a new thunar instance, it could take the last window size and position. Not sure if it would be hard to do, but it'd be nice. Cheers,
Size is already saved/restorted. The position is a task for the window manager.
I don't have 4.6b2 here for test, but is this a 4.6 improvement? (it doesn't do that on 0.9.0, 4.4). When I maximize the window then close thunar, then rerun another instance (thunar daemon running in the background during all operation), thunar window is set at the “default” size.
Correction: only the maximized state is lost (but that may be a wm problem?)
No that's by design. Size of full screen windows is not saved.
(In reply to comment #4) > No that's by design. Size of full screen windows is not saved. Hmhm, why so? Other apps do that
Because... and... that's why!
Created attachment 2022 Store maximize state too. This patch store the maximize state too, but only the window 'size' when the window is not maximized.
And reopen...
Jannis what do you think? Should we restore maximized windows too?
Yes, storing the maximize state would be really great, as every time I open an instance of Thunar, I have to double-click its title bar to maximize it.
Target milestone is passed. Please dont forget about this, i think this shortcoming annoys a lot of xfce users. You got a patch here so it should be a quick fix.
Yep definitely! I would love to be able to use a maximised window whenever I start a new thunar instance. It's the best manager I've used except for this one downside, which can get annoying at times.
Sure, why not. Let's do it. I'm not sure we want to remember maximized + the maximized window size. We probably want the window size used before maximizing to be remembered, so remembering only the maximized state should be good enough.
Yes, exactly. IMHO, the best for *all* applications is to remember the "normal window size" and the "maximized window state", and those only. Definitely not the "maximized window size" without the state as it is very annoying. Mousepad does this and I really don't like it.
commit 46c9c926b2522f9e5527ed2497b5bc5069da70af Author: Jannis Pohlmann <jannis@xfce.org> Date: Fri Oct 16 12:10:40 2009 +0200 Remember the maximize state for new windows. Patch by Nick (bug #4697). This adds a new property 'last-window-maximized' to the ThunarPreferences (written as LastWindowMaximized=true/false in the settings file). We only remember the maximize state if the last window was maximized. Otherwise, we remember the window size and that the window was not maximized at all.