Open bpasero opened 2 years ago
@Tyriar do you do something to prevent hiding in any case?
Not intentionally at least, no idea how I would communicate that to the layout code.
@sbatten the cause is here:
I don't remember adding that.
@Tyriar thanks, i think we can remove the restriction on view container location, what do you think?
@sbatten actually that might not be the cause after thinking on it more, I think that drives ensuring the view doesn't get closed if you have a setup like problems next to terminal. Would be a pain to manually show it again?
This might be it?
@Tyriar I actually thought the last comment was on a separate issue about deleting the last terminal... I still think that code is relevant for that fix. For this issue, the new code is likely it. I don't recall why this would be that way.
looks like a mistake
@sbatten might have been to try prevent the user from hiding the terminal and not bring it back. I think the restriction should go, I'll remove it.
@sbatten I just hid the terminal panel below and i don't think there's any way of bringing it back outside running a command/keybinding. Was it was added to protect against this case?
Hiding the panel/view works, it's just not when it's in a container view or whatever it's called.
Ah, we don't surface the views on the panel's composite bar context menu so it gets lost unless there are multiple views. This is not a regression and all built-in panel's are not toggle-able at the moment, so I will punt this to february.
Testing #141357
I had dragged the outline view into the side panel where terminal was and would have expected I can now "Hide Terminal".