Skip to content

Editor window expands beyond viewport when many files are open on macOS #1479

Description

@DucTamIT

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

  • The whole editor layout expands beyond the visible window/viewport width
  • Horizontal overflow appears
  • Parts of the interface on the right side become cut off or difficult to access
Image

Expected Behavior

  • The editor should remain constrained to the viewport/window width
  • Opening many files should not cause the overall layout to expand horizontally
  • Only the tab area should handle overflow, for example with horizontal scrolling, tab shrinking, or an overflow menu

Steps To Reproduce

  1. Open CPEditor on macOS
  2. Open many files so that the number of tabs exceeds the available window width
  3. Observe the file tab bar at the top of the editor

CP Editor Version

7.0.2

OS

macOS 15.6 Sequoia

Are you willing to contribute to this?

  • I'm ready to fix this (and will open a PR soon)
  • I'd like to have a try (with the help of the maintainers)
  • No, thanks

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions