linuxmint / muffin

The window management library for the Cinnamon desktop (libmuffin) and its sample WM binary (muffin)
GNU General Public License v2.0
197 stars 93 forks source link

Window goes out of tiling when using f3 split window #301

Open mtwebster opened 7 years ago

mtwebster commented 7 years ago

@overkill22 commented on Tue Oct 10 2017

Issue I tile the window on the right or left of the screen, press f3 to split the Nemo window into 2 parts, move to any folder >>> the window goes out of the tiling. This happens only while tiling on the left or right (taking half of the screen), not when tiling in the corners or at the top or bottom. If the split window is activated before tiling the window, Nemo won't allow the tiling on the side or corner, only at the top or bottom.

Steps to reproduce 01. Open Nemo; tile the window on the left or right; split the window with f3; browse folders.

02. Open Nemo; split the window with f3; try to tile on the left or right, or corners.

Expected behaviour

  1. I can browse the folders with the split window (f3) when the window is tiled to the left or right of the screen as I can do when the window is tiled at the top, bottom, corners of the screen.

  2. I can tile the window to the left, right, corners of the screen, when the window is in split mode (f3) as I can do at the top and bottom.

01-tile-then-f3-01 01-tile-then-f3-02 02-f3-then-tile-01 02-f3-then-tile-02


@mtwebster commented on Wed Nov 15 2017

I'm pretty sure this is a window manager (muffin) issue. Many program windows will attempt to tell the window manager what their minimum size can be, and the window manager may refuse to tile in a certain orientation if the resulting window size would be smaller than those minimums.

I can reproduce this, but not always. And I'm not sure what the connection is with navigating folders being the thing that triggers this. I have a feeling it may only happen when navigating between folders that use different views (such as navigating between a list-view folder and icon-view folder.) - can you test this?

Even with dual panes and the sidebar I can still tile in any spot on my monitor, but I think somehow during view changes, the window manager is thinking it needs to un-tile this window (for whatever reason, but my suspicion is that the window has reported it's minimum sizes to be larger than the current actual size, breaking the tile state.)

overkill22 commented 7 years ago

I have "list-view" as the default setting and don't use any other view style. I'm still facing the problem but only while tailing to the left or right side (not the top-left, top-right, bottom-left, bottom-right ). Curious thing: it happens ALWAYS while tiling on the left side, while it happens less while tiling on the right side.