zed icon indicating copy to clipboard operation
zed copied to clipboard

Zed does not show the minimize and close buttons

Open danielbmeireles opened this issue 6 months ago • 5 comments

Summary

Zed does not show the minimize and close buttons.

Description

Zed does not show the minimize and close buttons:

Image

Steps to reproduce:

  1. Open the app

Expected Behavior: Zed must show the basic window management buttons (minimize, close, etc). Actual Behavior: No button is shown

My settings.json is very basic:

  "features": {
    "edit_prediction_provider": "zed"
  },
  "icon_theme": "Catppuccin Mocha",
  "telemetry": {
    "metrics": false,
    "diagnostics": false
  },
  "ui_font_size": 16,
  "buffer_font_size": 16,
  "theme": {
    "mode": "system",
    "light": "One Light",
    "dark": "Catppuccin Mocha"
  }

Any help is appreciated!

Zed Version and System Specs

Zed: v0.188.5 (Zed) OS: Linux Wayland fedora 42 Memory: 14.4 GiB Architecture: x86_64 GPU: AMD Radeon Graphics (RADV REMBRANDT) || radv || Mesa 25.0.6

danielbmeireles avatar Jun 02 '25 09:06 danielbmeireles

That looks odd. Also looks like the content scale is completely wrong (screenshot only shows what looks like the top right corner of the window contents). What is your monitor setup like, including display scale?

jansol avatar Jun 02 '25 09:06 jansol

Hello!

Regarding the screenshot, I only captured the top-right corner. My screenshot tool (Gradia) automatically generated all the gradient effects. Sorry about that.

My screen configuration is the following:

Logical monitors:
1)	(x, y) = (0, 0)
	scale = 1.25
	transform = 0
	primary = true
	monitors:
	1)	- connector = eDP-1
		- monitor mode ID = [email protected]
		- underscanning = false
Properties:
	layout-mode = 1
Physical displays:
1)	- connector = eDP-1
	- vendor = LEN
	- product = 0x403a
	- serial = 0x00000000
Config hash: 449295198

danielbmeireles avatar Jun 02 '25 09:06 danielbmeireles

As a guess, there's https://github.com/zed-industries/zed/pull/31836 which might help?

SomeoneToIgnore avatar Jun 02 '25 11:06 SomeoneToIgnore

I tried to change the scaling factor, and the error is still happening.

danielbmeireles avatar Jun 02 '25 12:06 danielbmeireles

I worked around the issue with the following line in my .zshrc file:

# Zed editor workaround
export ZED_WINDOW_DECORATIONS server

danielbmeireles avatar Jun 04 '25 12:06 danielbmeireles