-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
opening a popup window closes all other windows #147
Comments
Have the same problem, so annoy! |
I found some issue around this, but I can't fix it. If you split frame like this :
The function There seems to be no problem when there are multiple splits only in the horizontal direction or only in the vertical direction. However, when splits in the horizontal and vertical directions are mixed, it appears to cause issues. |
Oh, maybe you can fix it by revert this commit. but I can't judge whether it is applicable for all user. @@ -201,8 +201,9 @@ HFACTOR, and vertical factor VFACTOR."
(cl-destructuring-bind (dir edges . windows) node
(append (list dir edges)
(cl-loop for window in windows
- unless (and (windowp window)
- (window-parameter window 'window-side))
+ unless (or (and (windowp window)
+ (window-parameter window 'window-side))
+ (not (windowp window)))
collect (popwin:window-config-tree-1 window))))))
(defun popwin:window-config-tree () |
I noticed that everytime I call describe-function or describe-variable and the popwin window opens, it almost always closes all my other window splits that have been open at the moment. This means that all my windows, but the one ive called the popup window from, get closed. Same case with undo-tree.
For some reason this isnt something that really always happens, it happens about 95% of the time though, for the remaining 5% it just works fine and my window layout remains.
The text was updated successfully, but these errors were encountered: