Skip to content

[FEATURE REQUEST] 多个显示器退出重新打开 #32

Closed

Description

@liuye1296

What it is for

我有多个显示器,在右边的大显示器退出的, 下次打开默认显示在左边显示器了 能否记住上次退出的显示器。 终端大小是有记住的 但是哪个显示器没有记住

How it should work

No response

References

No response

Checked

  • I searched the open issues for the same request.

Activity

  1. added
    enhancement
    on Oct 26, 2026
  2. Raiden-MeixElysia commented on Oct 28, 2026

    @Raiden-MeixElysia
    Contributor

    了解,我确实只做了大小记忆,下个版本修复。

  3. Raiden-MeixElysia commented on Oct 29, 2026

    @Raiden-MeixElysia
    Contributor

    Thank you for the report. Fixed on main: the window now reopens on the monitor and at the place where it was closed, and it stays fully on screen. If that monitor is gone, it opens centered on the primary monitor. This works on macOS, Windows and X11. Wayland compositors place windows themselves. One limit on X11: gpui sees the whole X screen, not the monitors inside it. So if a monitor is unplugged and its position still falls inside the remaining screen, the window opens there instead of centered. The fix ships in the next release.

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions