Skip to content

Left panel size is not remembered when I click on File/Search/TOC #3049

Closed

Description

@WeberAlex

Description

I set the correct size of the left panel but it's replaced by a default size when I collapse it.

  • Can you reproduce the issue?

Steps to reproduce

  1. Set a custom size of the left pane using the double arrow.
  2. Click on one of the button at the left File/Search/Toc to collapse the panel.
  3. Click a second time to expand the panel

Expected behavior:

I expect my custom panel size setting to be remembered during all my session.

Actual behavior:

The panel is resized to a default size everytime I toggle it on/off.

Left panel size after resizing it.
SCR_20220220_192810

Left panel size after collapsing/expanding it.
SCR_20220220_192831

Versions

  • MarkText version: v 0.17.0.-rc1
  • Operating system: Windows 11

Activity

  1. changed the title [-]Left panel size is not remembered when I click on a File/Search/TOC[/-] [+]Left panel size is not remembered when I click on File/Search/TOC[/+] on Feb 20, 2022
  2. added
    🦋 optimization
    on Feb 20, 2022
  3. YalandHong commented on Feb 21, 2022

    @YalandHong

    Dup of #2421

  4. Jocs commented on Jul 2, 2026

    @Jocs
    Member

    Thanks for the detailed report and the clear screenshots! This is the same issue as #2421, which has now been fixed: collapsing the sidebar via the File/Search/TOC icon used to overwrite your custom width with the default minimum, so re-expanding lost your resize. The fix (PR #4769) captures the expanded width before collapsing and also persists the tree section collapse state across toggles, so your custom panel size is now remembered. Closing as a duplicate of #2421. If you still see the panel resetting after updating, please reopen with your version and a quick repro and we'll take another look. Thanks again!

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

    🔭 area/ui🦋 optimization

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions