Close one of the tabs, this causes Toolbelt to "slide" off the right
To get Toolbelt visible again you have to click on the very rightmost line where you can still see a strip of white. Once you move the Toolbelt window to be visible again the buttons are off-center as if they think the window is much larger than it is.
Designs
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related.
Learn more.
That's what it "feels" like is happening but the edges are inside the viewable monitor. I am using Spectacle (https://www.spectacleapp.com) and just hitting cmd+option+f to full size it and I can clearly see the boarders on the screen still. Moving my mouse cursor to the edge lets me resize it so the parent (iTerm2) window is not shifted past the boundaries. Would a screen video capture help? Was there anything else I can gather logging wise?
Ok I see better what's happening now. There seem to be two Toolbelt scenarios:
If I have a window that has more available screen space to the right side of it than the Toolbelt size the window will increase in size to include its current size + default size of Toolbelt.
If I have the window against the right edge of the screen the Toolbelt will take up some of the window size but respect/stay inside the visible screen/current window dimensions.
With scenario 2 setup, if I close a tab it looks like during the redraw it is not keeping track that it's on the edge of the screen so the next tab over's viewable area gets expanded back out to the edge of the screen but Toolbelt is still open and it also gets then redrawn + window expanded outside the screen.
If I drag the window back to the left I see Toolbelt there properly sized it was just being redrawn outside viewable area.
Let me know if that capture got the info correctly.
Thanks for that. It helped me narrow down what's going on, but I still can't explain why the tab got resized to be larger. I think you're right about the toolbelt moving offscreen, but that's not the whole picture. I added some more logging; can you do it again with this build:
I was finally able to reproduce. The steps I followed are:
Create a new window. The toolbelt is not visible initially.
Add two more tabs, totaling three. It does not reproduce with only two tabs.
Show the toolbelt
Make the toolbelt wider by dragging its handle left.
Close the current tab
I don't know why I couldn't do it before, this is close to the original report. Anyway, it looks like when the toolbelt gets resized not all PTYSplitViews get resized.