Skip to content

[FEATURE REQUEST]: Preserve View setting after closing #1274

Closed

Description

@DutchPete

Describe your feature request

When I use MT I always set the tab bar and side bar in view because I use them actively. After closing MT and reopening it those settings are back to default, i.e. the bars are not visible and need to be reset via the menu.

What problem does this feature solve? [optional]

I would like the settings to remain when MT is closed, so when I open it again, the 2 bars are still visible.

Additional context [optional]

Activity

  1. fxha commented on Aug 16, 2019

    @fxha
    Contributor

    Persistent UI state should be available with #988. If I remember correctly, @Jocs don't wanted to add default settings for side- and title bar because the state should be saved in the session but if many user request this feature we could add it.

  2. added
    🦄 feature request
    on Aug 16, 2019
  3. changed the title [-][FEATURE REQUEST] Preserve View setting after closing[/-] [+]Preserve View setting after closing[/+] on Aug 16, 2019
  4. changed the title [-]Preserve View setting after closing[/-] [+][FEATURE REQUEST]: Preserve View setting after closing[/+] on Aug 24, 2019
  5. tellmewhy12 commented on Mar 30, 2022

    @tellmewhy12

    I'd also love to see this because I mainly use MarkText as a local Note taking app and because I have my files structured in the sidebar the tabs are a bit distracting, I would love to turn them off.

    I think it makes sense to use either tabs or the sidebar but both is a bit redundant UI imo

  6. tingzhong666 commented on Nov 18, 2023

    @tingzhong666

    I also need this feature and want the outline to be displayed by default

  7. bigsinger commented on May 13, 2025

    @bigsinger

    I also need this feature and want the outline to be displayed by default

  8. Zenopheus commented on Jan 27, 2026

    @Zenopheus

    Same here. I can live without remembering the tabbar since you automatically show it when multiple files are being edited. But the contents of the file would be nice. Perhaps you can add a "pin" button right justified on the same row as the settings cog? So, ctrl-j to show it then click the pin button so it gets remembered.

    I understand if this is a design principle, but consider Obsidian. That's a great editor, but I can't use it because they refuse to allow editing files outside of a vault. Hence, I use your editor.

  9. Jocs commented on Jun 26, 2026

    @Jocs
    Member

    Thank you for the request! This feature has been implemented in MarkText. The sidebar and tab bar visibility state are now persisted via the application's buffered-state mechanism: whenever you toggle either panel the setting is written to disk, and it is restored automatically the next time you open MarkText. If you are still seeing the bars reset to hidden after a restart, please let us know which version you are running and we can investigate further. Closing as already implemented.

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

    🦄 feature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions