Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-maximized Zed-window grows larger when closed and opened again #17870

Open
1 task done
name-changer opened this issue Sep 16, 2024 · 1 comment
Open
1 task done
Labels
defect [core label] linux linux-wayland Linux Wayland serialization Restoration of the editor state after a restart workspace Feedback for workspace management, layout, interactions, etc

Comments

@name-changer
Copy link

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

When Zed (0.152.3) is not maximized, and I close and open the application, the window 'grows' bigger by a few pixel (maybe 20-30 or so, so it's quite noticeable).

After closing and opening Zed a few times, I can't see the statusbar at the bottom anymore, because the window grows bigger than my current resolution. Since I typically only maximize my editor windows vertically, but not horizontally, this is a bit annoying, since I now have to periodically resize the way too large window.

Environment

Zed: v0.152.3 (Zed)
OS: Linux Wayland opensuse-tumbleweed 20240913
Memory: 15.5 GiB
Architecture: x86_64
GPU: AMD Radeon RX 6600 XT (RADV NAVI23) || radv || Mesa 24.1.7

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

Zed.log
2024-09-16T11:16:42.689467444+02:00 [INFO] ========== starting zed ==========
2024-09-16T11:16:42.716274638+02:00 [INFO] perform;
2024-09-16T11:16:42.716330319+02:00 [INFO] authenticate;
2024-09-16T11:16:42.716384051+02:00 [INFO] read_command;
2024-09-16T11:16:42.716425712+02:00 [INFO] Opening main db
2024-09-16T11:16:42.716657038+02:00 [INFO] new;
2024-09-16T11:16:42.716710159+02:00 [INFO] socket reader;
2024-09-16T11:16:42.71709961+02:00 [INFO] keep_updated;
2024-09-16T11:16:42.717978483+02:00 [INFO] Using git binary path: None
2024-09-16T11:16:42.738627222+02:00 [ERROR] No such file or directory (os error 2) about ["/home/nc/.config/github-copilot"]
2024-09-16T11:16:42.738795796+02:00 [INFO] initializing context server client
2024-09-16T11:16:42.738878098+02:00 [INFO] Registering built-in prompt template: content_prompt
2024-09-16T11:16:42.739104884+02:00 [INFO] Registering built-in prompt template: edit_workflow
2024-09-16T11:16:42.739292459+02:00 [INFO] Registering built-in prompt template: step_resolution
2024-09-16T11:16:42.739613278+02:00 [INFO] Registering built-in prompt template: terminal_assistant_prompt
2024-09-16T11:16:42.739752102+02:00 [INFO] No prompt template overrides directory found at /home/nc/.local/share/zed/prompt_overrides. Using built-in prompts.
2024-09-16T11:16:42.74007015+02:00 [INFO] extensions updated. loading 3, reloading 0, unloading 0
2024-09-16T11:16:42.741158539+02:00 [WARN] request completed with error: failed to connect to the server
2024-09-16T11:16:42.74118443+02:00 [WARN] request completed with error: failed to connect to the server
2024-09-16T11:16:42.74120307+02:00 [WARN] request completed with error: failed to connect to the server
2024-09-16T11:16:42.741221241+02:00 [WARN] request completed with error: failed to connect to the server
2024-09-16T11:16:42.741249252+02:00 [WARN] request completed with error: failed to connect to the server
2024-09-16T11:16:42.74193391+02:00 [INFO] activate is not implemented on Linux, ignoring the call
2024-09-16T11:16:42.741978821+02:00 [INFO] Opening main db
2024-09-16T11:16:42.772208039+02:00 [WARN] request completed with error: failed to connect to the server
2024-09-16T11:16:42.77224298+02:00 [INFO] perform;
2024-09-16T11:16:42.77227124+02:00 [INFO] authenticate;
2024-09-16T11:16:42.772295011+02:00 [WARN] request completed with error: failed to connect to the server
2024-09-16T11:16:42.772327152+02:00 [INFO] read_command;
2024-09-16T11:16:42.772346892+02:00 [WARN] request completed with error: failed to connect to the server
2024-09-16T11:16:42.772372883+02:00 [WARN] request completed with error: failed to connect to the server
2024-09-16T11:16:42.772547968+02:00 [INFO] socket reader;
2024-09-16T11:16:42.774764647+02:00 [WARN] request completed with error: failed to connect to the server
2024-09-16T11:16:42.782445664+02:00 [INFO] set environment variables from shell:/usr/bin/zsh, path:/home/nc/.local/bin:/usr/local/bin:/usr/bin:/bin
2024-09-16T11:16:42.793355219+02:00 [WARN] request completed with error: failed to connect to the server
2024-09-16T11:16:42.7937463+02:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-09-16T11:16:42.804184721+02:00 [INFO] Enabling Vulkan Portability
2024-09-16T11:16:42.804210632+02:00 [INFO] Enabling color space support
2024-09-16T11:16:42.812354822+02:00 [INFO] Adapter: "AMD Radeon RX 6600 XT (RADV NAVI23)"
2024-09-16T11:16:42.812389793+02:00 [INFO] Ray tracing is supported
2024-09-16T11:16:42.819303499+02:00 [INFO] Using surface present mode MAILBOX
2024-09-16T11:16:42.819561606+02:00 [WARN] Unable to forbid exclusive full screen
2024-09-16T11:16:42.820257165+02:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-09-16T11:16:42.820286086+02:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-09-16T11:16:42.820321777+02:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: PreMultiplied }
2024-09-16T11:16:42.824598433+02:00 [INFO] Using GPU: GPUSpecs { is_software_emulated: false, device_name: "AMD Radeon RX 6600 XT (RADV NAVI23)", driver_name: "radv", driver_info: "Mesa 24.1.7" }
2024-09-16T11:16:42.825182179+02:00 [WARN] request completed with error: failed to connect to the server
2024-09-16T11:16:42.82522011+02:00 [INFO] Opening main db
2024-09-16T11:16:42.826419792+02:00 [INFO] Using surface present mode MAILBOX
2024-09-16T11:16:42.826753791+02:00 [WARN] Unable to forbid exclusive full screen
2024-09-16T11:16:42.827382168+02:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: Ignored }
2024-09-16T11:16:42.834549021+02:00 [INFO] Using surface present mode MAILBOX
2024-09-16T11:16:42.83487972+02:00 [WARN] Unable to forbid exclusive full screen
2024-09-16T11:16:42.835235379+02:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: PreMultiplied }
2024-09-16T11:16:42.844369046+02:00 [WARN] request completed with error: failed to connect to the server
2024-09-16T11:16:42.844409467+02:00 [INFO] Opening main db
2024-09-16T11:16:42.844431938+02:00 [WARN] request completed with error: failed to connect to the server
2024-09-16T11:16:42.844456089+02:00 [WARN] request completed with error: failed to connect to the server
2024-09-16T11:16:42.977196783+02:00 [INFO] Using surface present mode MAILBOX
2024-09-16T11:16:42.977515472+02:00 [WARN] Unable to forbid exclusive full screen
2024-09-16T11:16:42.984580122+02:00 [WARN] request completed with error: failed to connect to the server
2024-09-16T11:16:42.984639024+02:00 [WARN] request completed with error: failed to connect to the server
2024-09-16T11:16:43.018795397+02:00 [WARN] request completed with error: failed to connect to the server
2024-09-16T11:16:43.055441856+02:00 [INFO] Node runtime install_if_needed
2024-09-16T11:16:43.122078485+02:00 [INFO] starting language server. binary path: "/home/nc/.local/share/zed/node/node-v22.5.1-linux-x64/bin/node", working directory: "/", args: ["/home/nc/.local/share/zed/copilot/copilot-v0.5.0/dist/agent.js", "--stdio"]
2024-09-16T11:16:43.162861006+02:00 [WARN] request completed with error: failed to connect to the server
2024-09-16T11:16:43.280374029+02:00 [INFO] starting language servers for Zig: zls
2024-09-16T11:16:43.28041005+02:00 [INFO] starting language server "zls", path: "/home/nc/dev/zig/aoc", id: 1
2024-09-16T11:16:43.28152006+02:00 [INFO] starting language servers for Zig: zls
2024-09-16T11:16:43.281635244+02:00 [INFO] Initializing default prettier with plugins {}
2024-09-16T11:16:43.281655574+02:00 [INFO] starting language servers for Zig: zls
2024-09-16T11:16:43.281674135+02:00 [INFO] starting language servers for Zig: zls
2024-09-16T11:16:43.28186118+02:00 [INFO] Initializing default prettier with plugins {}
2024-09-16T11:16:43.28188895+02:00 [INFO] Initializing default prettier with plugins {}
2024-09-16T11:16:43.282468866+02:00 [WARN] request completed with error: failed to connect to the server
2024-09-16T11:16:43.28261014+02:00 [INFO] starting language server. binary path: "/home/nc/.local/bin/zls", working directory: "/home/nc/dev/zig/aoc", args: []
2024-09-16T11:16:43.292756113+02:00 [WARN] unhandled capability registration: Registration { id: "register-workspace/didChangeConfiguration", method: "workspace/didChangeConfiguration", register_options: None }
2024-09-16T11:16:43.306968777+02:00 [INFO] Language server with id 1 sent unhandled notification workspace/semanticTokens/refresh:
null
2024-09-16T11:16:43.309743942+02:00 [INFO] Language server with id 1 sent unhandled notification workspace/semanticTokens/refresh:
null
2024-09-16T11:16:43.366170256+02:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-09-16T09:16:43.363Z] Agent service starting",
  "metadataStr": "[DEBUG] [agent] [2024-09-16T09:16:43.363Z]",
  "extra": [
    "Agent service starting"
  ]
}
2024-09-16T11:16:43.367518612+02:00 [INFO] Language server with id 0 sent unhandled notification client/registerCapability:
{
  "registrations": [
    {
      "id": "ac9b16cf-e6b6-4cc8-8fa9-9f8ff9afe699",
      "method": "workspace/didChangeWorkspaceFolders",
      "registerOptions": {}
    }
  ]
}
2024-09-16T11:16:43.391720275+02:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-09-16T09:16:43.371Z] Telemetry initialized",
  "metadataStr": "[DEBUG] [agent] [2024-09-16T09:16:43.371Z]",
  "extra": [
    "Telemetry initialized"
  ]
}
2024-09-16T11:16:45.754331187+02:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-09-16T11:16:45.770132654+02:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-09-16T11:16:45.785300283+02:00 [INFO] Creating a descriptor pool for at most 256 sets
2024-09-16T11:16:45.800266067+02:00 [INFO] Creating a descriptor pool for at most 256 sets
@name-changer name-changer added admin read Pending admin review defect [core label] triage Maintainer needs to classify the issue labels Sep 16, 2024
@notpeter notpeter added workspace Feedback for workspace management, layout, interactions, etc linux serialization Restoration of the editor state after a restart linux-wayland Linux Wayland and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Sep 16, 2024
@dhunter
Copy link

dhunter commented Sep 19, 2024

Getting something similar with X11/Gnome. Not sure if this is actually a different issue than #5258, (or #9416) but if it is, it's not related to either the window manager or desktop environment in Linux, (though I am also using Tumbleweed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect [core label] linux linux-wayland Linux Wayland serialization Restoration of the editor state after a restart workspace Feedback for workspace management, layout, interactions, etc
Projects
None yet
Development

No branches or pull requests

3 participants