IgnorantGuru / spacefm

SpaceFM File Manager
http://ignorantguru.github.com/spacefm/
GNU General Public License v3.0
487 stars 73 forks source link

Spacefm does not preserve pane sizes with tiling window managers #646

Open orbea opened 8 years ago

orbea commented 8 years ago

OS: Slackware64-current spacefm-1.0.5-x86_64-1_SBo spectrwm-3.0.1-x86_64-1_SBo

When using the tiling window manager spectrwm anytime I open a new window such as a terminal in the same workspace as spacefm this causes the spacefm window to adjust its size accordingly, but does not correctly preserve the sizes of the interior panes. This then leaves the user to fix the pane sizes manually which is not really a major issue, but it gets quite bothersome after a while.

Here are some scrots to help illustrate the issue.

Spacefm as it appears normally in my workflow. 1 Spacefm only fails to preserve the size of the Show Devices pane when a new window is opened. 2 Spacefm's pane layout is completely disrupted if the new window is then closed. 3

IgnorantGuru commented 6 years ago

SpaceFM does not do any autosizing of panes, whether you manually change the window size or your WM does. I can leave this open as a request.

One may also use socket commands to query window size and change pane sizes in a running window, and use events to trigger those changes, thus automating most aspects of the sizing. Some bash required.

nazar-pc commented 6 years ago

What about an option to keep panes 50% of width/height all the time? I think that would cover most of use cases. I'm also using tiling window manager and it is quite tedious to adjust size.

orbea commented 6 years ago

It might help to point out that deadbeef had this same issue and has been able to solve it.

https://github.com/DeaDBeeF-Player/deadbeef/issues/1432 https://github.com/DeaDBeeF-Player/deadbeef/pull/1544

Maybe these will offer some clues on how to solve this in spacefm too?

clemencyworld1 commented 5 years ago

spacefm tiles well with sawfish window manager's smart tile script. Maybe its the way the window manager implements tilling

orbea commented 5 years ago

I notice my example pics are broken and I will have to make news ones...the problem is not that spacefm doesn't tile fine, its that the layout of the spacefm window does not handle being resized well.

clemencyworld1 commented 5 years ago

spacefm tiles well with sawfish window manager's smart tile script. maybe it's how the window manager implements tilling.