zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
48.97k stars 2.95k forks source link

Issue: Editor Always Opens in Full Screen #13919

Open samadouhra opened 3 months ago

samadouhra commented 3 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

The Zed editor consistently opens in fullscreen mode, regardless of the state it was in when last closed. This behavior persists across sessions, making it inconvenient for users who prefer the editor to open in a windowed mode by default.

Steps to Reproduce

Environment

notpeter commented 3 months ago

Hi @samadouhra,

Zed currently remembers your fullscreen/windowed settings from the last session and so I believe your workspace database may have been corrupted. Can you exit out of of Zed and run the following from a terminal.

cd ~/Library/Application\ Support/Zed/db
mv 0-stable 0-stable.old

If you are running Preview or building your own dev version, rename 0-preview or 0-dev instead.

Now try restarting Zed and see if the issue persists.

andrewbanchich commented 1 week ago

I'm experiencing this too, but on Linux.

Zed: v0.156.2 (Zed) OS: Linux Wayland ubuntu 24.04 Memory: 31 GiB Architecture: x86_64 GPU: Intel(R) Graphics (RPL-U) || Intel open-source Mesa driver || Mesa 24.0.9-0ubuntu0.1

samadouhra commented 1 week ago

To give more context about the issue here is a recording

When i close the Zed editor in an expanded state the next time i open it , it forgets the previous state,

https://github.com/user-attachments/assets/dff5a574-86ec-4661-a683-0bf11f1f32d6

andrewbanchich commented 1 week ago

Also, my personal laptop and work laptops are both Ubuntu, but this only happens on my work one.

taw00 commented 1 week ago

I'm experiencing this too, but on Linux.

Same. And then I had to hit F11 in order to have the editor window geometry manipulatable. It took me forever and a day to figure that out.

Zed 0.156.2 Flatpak Fedora 40 / GNOME 46.5 / Mutter / Wayland CPU: AMD Ryzen 7 8845HS w/ Radeon 780z GPU: AMD Phoenix3 [Integrated]

I suspect this has something to do with the conversation here: https://github.com/zed-industries/zed/issues/14165 Though, at one point in time, I swear I could manipulate the application's window geometry straight out of the gate.