# "View: Toggle Editor Area Visibility" -- Sizing Issues

**URL:** <https://forum.cursor.com/t/view-toggle-editor-area-visibility-sizing-issues/152611>\
**Category:** Bug Reports\
**Tags:** layout\
**Created:** [February 22, 2026, 9:58pm UTC](https://forum.cursor.com/t/view-toggle-editor-area-visibility-sizing-issues/152611 "2026-02-22T21:58:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![neaumusic](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/neaumusic/32/78868_2.png) [@neaumusic](https://forum.cursor.com/u/neaumusic)\
**Post date:** [February 22, 2026, 9:58pm UTC](https://forum.cursor.com/t/view-toggle-editor-area-visibility-sizing-issues/152611/1 "2026-02-22T21:58:15Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

Using keyboard shortcuts to save space on screen, I can hide the left sidebar, the right side secondary sidebar ‘pane’ or ‘panel’ area, the right side ‘agents’ sidebar, I can CMD+Shift+E to show my file in the browser, or CMD+Shift+S to view my changes in source control view.

As of a few days ago, I started using CMD+Option+E to toggle the editor area (because I don’t tend to use it very much anymore)

I noticed that it seems to have unintended sizing changes – it changes the width of the left sidebar, and when the editor section is restored via toggling, it restores with a really small width, not the original untoggled width

### Steps to Reproduce

1. Assign 'View: Toggle Editor Area Visibility" to a hotkey
2. Use 'View: Toggle Editor Area Visibility" hotkey (with a left sidebar and right pane open – most common usecase especially on a laptop)
3. Notice the left sidebar shrank in width, unexpectedly
4. Use 'View: Toggle Editor Area Visibility" hotkey again
5. Notice as the editor section re-appears, it’s now an incredibly small, unusable width

### Expected Behavior

- The sidebar size should remain untouched
- The editor panel should come back at it’s original size / percent of the window width

### Screenshots / Screen Recordings

### Operating System

MacOS

### Version Information

Version: 2.5.20  
VSCode Version: 1.105.1  
Commit: 511523af765daeb1fa69500ab0df5b6524424610  
Date: 2026-02-19T20:41:31.942Z (3 days ago)  
Build Type: Stable  
Release Track: Default  
Electron: 39.4.0  
Chromium: 142.0.7444.265  
Node.js: 22.22.0  
V8: 14.2.231.22-electron.0  
OS: Darwin arm64 24.6.0

### Does this stop you from using Cursor

No - Cursor works, but with this issue

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [February 23, 2026, 8:49am UTC](https://forum.cursor.com/t/view-toggle-editor-area-visibility-sizing-issues/152611/3 "2026-02-23T08:49:11Z")

</div>

Hey, thanks for the detailed report and the screen recording.

This looks like a known layout issue where panel widths aren’t saved or restored correctly when you toggle visibility. The team is aware. No ETA yet, but your report helps us prioritize it.

Let me know if you notice anything else related to this.

---

<div class="post-metadata">

**Author:** ![neaumusic](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/neaumusic/32/78868_2.png) [@neaumusic](https://forum.cursor.com/u/neaumusic)\
**Post date:** [February 23, 2026, 10:24pm UTC](https://forum.cursor.com/t/view-toggle-editor-area-visibility-sizing-issues/152611/6 "2026-02-23T22:24:32Z")

</div>

Great, sounds good

The default tab management could use some work ( **editor as the starting location** ), and the terminology could be consolidated (secondary side bar, auxiliaryBar, pane/panel)

I primarily need ways to jump between the file browser/editor and the agent/terminal. Haven’t seen a standalone window option, so I’m looking at toggling each section and navigating tabs within each side. There are keyboard shortcuts for this, and the main “when” condition is `auxiliaryBarFocus`.

Current thinking is to override `Control+`` (similar to `CMD+``)

---

<div class="post-metadata">

**Author:** ![neaumusic](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/neaumusic/32/78868_2.png) [@neaumusic](https://forum.cursor.com/u/neaumusic)\
**Post date:** [February 27, 2026, 9:43pm UTC](https://forum.cursor.com/t/view-toggle-editor-area-visibility-sizing-issues/152611/7 "2026-02-27T21:43:20Z")

</div>

For anyone else waiting for a legitimate fix, a workaround is to hide the sidebar first, mess with whats visible, then show the sidebar. This command is a bit of a hack but works well enough for me:

```json

  {
    "key": "ctrl+`",
    "command": "runCommands",
    "args": {
      "commands": [
        "workbench.action.toggleSidebarVisibility",
        "workbench.action.toggleAuxiliaryBar",
        "workbench.action.toggleEditorVisibility",
        "workbench.action.toggleSidebarVisibility"
      ]
    }
  },

```

Currently (based on implementation details – cant toggle editor if theres no sidebar nor aux bar) if starting in split view, this will expand the editor view to full screen first.

Subsequently (normally) this command just toggles between “sidebar + full screen editor” and “sidebar + full screen aux bar”

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [February 28, 2026, 12:13pm UTC](https://forum.cursor.com/t/view-toggle-editor-area-visibility-sizing-issues/152611/9 "2026-02-28T12:13:17Z")

</div>

Hey, that `runCommands` chain workaround is awesome, thanks for sharing it. I’m sure it’ll help other users too.

The bug is still on our radar. We’ll post an update here once there’s a fix.

---

<div class="post-metadata">

**Author:** ![neaumusic](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/neaumusic/32/78868_2.png) [@neaumusic](https://forum.cursor.com/u/neaumusic)\
**Post date:** [March 4, 2026, 10:07pm UTC](https://forum.cursor.com/t/view-toggle-editor-area-visibility-sizing-issues/152611/10 "2026-03-04T22:07:12Z")

</div>

Ok, a few days later and runCommands no longer worked at all. Couldn’t figure out what happened because downgrading/upgrading 2.3 ←→ 2.6 still didn’t restore the functionality.

It seems setting the Layout back to Editor restored `workbench.action.toggleEditorVisibility` functionality (2.4.37) and hopefully something similar works with later versions (will test on 2.6 but I can’t use 2.6 with one of my projects + submodules).

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [March 26, 2026, 10:07pm UTC](https://forum.cursor.com/t/view-toggle-editor-area-visibility-sizing-issues/152611/13 "2026-03-26T22:07:30Z")

</div>

Closed on March 26, 2026, 10:07pm UTC

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
