Change:
<!-- Please search existing issues to avoid creating duplicates. --- VS Code version: 1.77.1 Jupyter Extension version (available under the Extensions sidebar): v2023.3. Python Extension version (available under the Extensions sidebar): v2023.6.0 OS (Windows Linux distro) and version: Windows 10 professional 22H2 Python and/or Anaconda version: Miniconda3 Windows 64-bit Type of virtual environment used (N/A ...): conda Jupyter server running: Local When I toggle panel (Ctrl+J) and maximize it, the panel should cover the all the area on the right. However, if I first open a .ipynb file and then toggle panel and maximize it, the toolbar is on top of the maximized panel. [NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue] any folder. a .ipynb file and open it. panel (Ctrl+J) and maximize it. my computer, I found the Jupyter notebook toolbar is on top of the maximized panel. Here is a GIF to show what happens. ! <!-- Note: If you think a GIF of what is happening would be helpful, consider tools like , or . --<details<summaryOutput for <codeJupyter</codein the <codeOutput</codepanel (<codeView</code→<codeOutput</code, change the drop-down the upper-right of the <codeOutput</codepanel to <codeJupyter</code) </summary<p</p</details
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.77.2. Please try upgrading to the latest version and checking whether this issue remains. Happy Coding!
The notebook widget is rendered outside of the grid view, and when maximizing the panel/terminal, it's not set to invisible or having it dimension shrunk to zero. Is this a regression from the grid system?
I've updated vscode to the lasted stable version 1.77.2 and the bug is still there.
I did not make any changes here recently. made some in the housekeeping iterations. Can you verify when this started reproducing?
When expanding the panel fully, we're effectively hiding the EditorPart and thus the EditorGroup within. Right now, we're only setting its height to be 0, but , so they won't ever respect that 0 value. The real action here is to really hide the contents of the view. We already do this for the panel itself: https://user-
Is this not a duplicate of ?
It's almost been one year of snowplowing. Let's move this to the Backlog if we have no plans on fixing it in the next week.
This cannot be fixed purely on the grid side of things because the notebook editor does not live in the grid but is controlled by something that does. We tell the editor layout that is no longer visible and its height is 0. The editor tells the notebook that it is no longer visible but gives it a height of 13. If the editor told the notebook the right height, things would work, or if the notebook listened to visibility changes and hid itself things would work.

Discussion:
return this._widget.value; } <ins> override setVisible(visible: boolean, group?: IEditorGroup | undefined): void { super.setVisible(visible, group); if (!visible) { this._widget.value?.onWillHide(); } } </ins> protected override setEditorVisible(visible: boolean, group: IEditorGroup | undefined): void { super.setEditorVisible(visible, group); if (group) {

return; } <del> this._widget.value.layout(dimension, this._rootElement, position); </del> <ins> if (this.isVisible()) { this._widget.value.layout(dimension, this._rootElement, position); } </ins> } //#endregion