Skip to content

Top Bar Visibility Toggle not working as expected #13113

@Pbajaj9

Description

@Pbajaj9

System details:

Positron and OS details:

  • Positron Version: 2026.4.0 (Daily Build)
  • OS: macOS 14.0+ (Sonoma/Sequoia)

Session details:

  • Interpreter: R 4.5.2
  • Project: SKOAP LTFU (Local Workspace)

Describe the issue:

The Positron Top Bar (Search, New/Open buttons, Project name) fails to hide even when toggled off via settings or the Command Palette. This results in a "stuck" UI element that occupies vertical space, breaking the intended minimalist layout.

Steps to reproduce the issue:

  1. In settings.json, set "positron.topBar.visible": false.
  2. Observe that the Top Bar remains visible in the UI.
  3. Run the command Positron: Toggle Top Bar from the Command Palette.
  4. Note that the command does not change the UI state.
  5. Set "window.customTitleBarVisibility": "windowed" and "workbench.statusBar.visible": false (as per my configuration) and reload the window; the bar persists.

Expected or desired behavior:

The Top Bar should be removed from the DOM/Layout, and the Editor/Sidebar should shift up to occupy the top of the window frame.

Actual behavior:

The Top Bar remains visible and interactive despite the false visibility setting. This appears to be a regression in the dailies channel when combined with custom title bar visibility settings.

Were there any error messages?

No errors in the Developer Tools console. The layout engine appears to be ignoring the visibility state of the positron-top-bar component.

Relevant settings.json Snippet:

{
    "window.customTitleBarVisibility": "windowed",
    "workbench.activityBar.location": "bottom",
    "workbench.statusBar.visible": false,
    "workbench.topActionBar.visible": false,
    "positron.topBar.visible": false
}

Metadata

Metadata

Assignees

Labels

area: coreIssues related to Core category.area: uiIssues related to UI category.bugSomething isn't workingsupport

Type

No fields configured for Bug.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions