Amethyst: BSP occasionally has phantom windows taking up spaces

Created on 8 Aug 2016  ·  11Comments  ·  Source: ianyh/Amethyst

Even though I have only one window open, BSP is still allocating half the space on the screen for a nonexistent second window. When I cycle through other layouts, like tall, the problem goes away, but returns when I come back to BSP. The problem goes away for BSP when I relaunch amethyst.

Trello Card

bug help wanted

Most helpful comment

This is also happening to me. Windows don't regrow to fill empty space in BSP mode. (Which is a shame because I love BSP mode).

Easily replicating this, starting with a big chrome window and just creating new chrome windows (cmd+n/ctrl+n) then closing them again.

No logging output from /Applications/Amethyst.app/Contents/MacOS/Amethyst --log.

All 11 comments

Can you try running in log mode and see if you can reproduce?

$ /Applications/Amethyst.app/Contents/MacOS/Amethyst --log

This should output debug data on the bsp tree operations.

Just seeing this. Does the log get written to a file or just std out?

When run that way it writes to stdout.

@ianyh : I am also seeing this problem. I can consistently recreate it as follows:

  1. Have three windows open - IntelliJ IDEA, Chrome, and a terminal.
  2. Run Amethyst from the terminal.
  3. Change layout to binary space partitioning.
  4. From IntelliJ IDEA, make some change and hit Command-K to bring up the floating "Commit Changes" dialog.
  5. Close that dialog.
  6. There is now an empty "slot" in the BSP layout.

Unfortunately, I don't have time to get this down to a minimal example at the moment. I suspect the only part of the process which is important is the trigger of creating the dialog.

I tried running Amethyst with /Applications/Amethyst.app/Contents/MacOS/Amethyst --log but got no output.

Amethyst version: 0.13.0 (70)
Mac OS X version: 10.14

I also tried enabling "Show debug info: About Layouts" but still didn't get any debug logging.

It may also be worth mentioning that if I cycle through other layouts and return to BSP, the phantom window slot is still there.

This is also happening to me. Windows don't regrow to fill empty space in BSP mode. (Which is a shame because I love BSP mode).

Easily replicating this, starting with a big chrome window and just creating new chrome windows (cmd+n/ctrl+n) then closing them again.

No logging output from /Applications/Amethyst.app/Contents/MacOS/Amethyst --log.

Is there any update on this? I just switched from yabai to Amethyst and BSP is the only thing so far that yabai does better than Amethyst.

Can somebody test this with 0.14.4? I made some changes to the layout and can't reproduce this.

Works for me! @ianyh 🎉

Okay, going to call this closed for now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ulope picture ulope  ·  9Comments

deiga picture deiga  ·  7Comments

sebroeder picture sebroeder  ·  9Comments

ianyh picture ianyh  ·  17Comments

dpfu picture dpfu  ·  11Comments