Skip to content

[Bug] "Toggle Tabbar" state resets to on after opening more than one file #5581

Closed

Description

@jessicaione101

Description

When I disable the tab bar, it stays disabled until I open more than one file, then it turns on by itself. I tried custom and native title bar, and "Restore previous editor state" is on.

Steps to Reproduce

  1. Open two or more files in tabs.
  2. Mark "Toggle Tabbar" off in the View menu or with the keyboard shortcut (tab bar is hidden).
  3. Close all files, or all files except one, using the sidebar, File menu or keyboard shortcut (tab bar is still hidden). The bug doesn't happen if more than one file is left open in this step.
  4. Open a second file (in case one file was left open in the last step), or more than one file (in case all files were closed in the last step). Tab bar shows up by itself.

Expected Behavior

Tab bar stays hidden until "Toggle Tabbar" is toggle on again manually.

Actual Behavior

Tab bar appears and "Toggle Tabbar" is toggle on by itself.

Screenshots / Logs

No response

Operating System

Linux (Other)

MarkText Version

0.19.1 (AUR)

OS Version

Arch Linux

Reproducibility

  • I can reliably reproduce this issue

Activity

  1. added
    🦋 optimization
    on Sep 29, 2026
  2. added a commit that references this issue on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🦋 optimization

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions