-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Linux] Add option to disable client side decoration / enable native titlebar #14165
Comments
It would be nice if there is a setting to remove the title bar all together. It takes up space and doesn't really add anything. |
I would also like to have the option to enable a native titlebar/window decoration. Different Linux Desktop Environments (DE) provide different functionality, some of which include
None of these features are implemented by the zed titlebar. Instead, these features are currently inaccessible or are only accessible knowing the keyboard shortcut to open a window manager specific window menu (Alt+F3 on KDE/Plasma), if the Linux DE provides such a shortcut. Applications like Firefox, Chromium, VS Code, Intellij (new UI), and others allow to toggle between an application specific and a native titlebar/window decoration. zed unfortunately doesn't even allow to show the native titlebar/window decoration on top of the application specific toolbar. Instead, the menu option to toggle the native titlebar is disabled in KDE/Plasma's window menu. To close my post: I do like the editor, which feels more responsive than some editors I am currently (loving that the editor comes with build in VIM mode). |
You can actually switch to window decorations by running with A setting in
|
Unfortunately, some desktops (GNOME) have not and do not plan to add SSD support on Wayland. Libdecor, however, should work fine. If you or other contributors are interested, I think the setting |
@apricotbucket28 thanks for pointing out the environment variable. Regarding the window menu: I know that I can access the menu (using the keyboard shortcut) but without setting |
Wouldn't the following work?
|
You can already do that with the aforementioned I think a setting in settings.json for toggling CSD/SSD would be nice though, and a PR for that would likely be accepted. Something like |
I understand that Gnome doesn't plan on integrating SSD, but a sizeable chunk of linux users do use Gnome. And if VSCode can draw native titlebars, I don't see why Zed can't implement the same. |
VSCode is an electron app, so it uses the Electron implementation, which builds on Chromium. Zed is novel. If GNOME users want system window decorations, there are a few possibilities:
After writing this out, I get the feeling there should be a separate issue thread, titled something like "Better/Themeable CSD on Linux" or "Native (style) decorations on GNOME". |
has a decision been made on this |
Check for existing issues
Describe the feature
Hello!
Would be nice if we have an option to disable the client side decoration (enable the default native titlebar).
This way, we could integrate the editor way better with the environment.
Here is an example of VS Code using native titlebar instead of its own:
And here is Zed:
The window buttons (to close, minimize and maximize) are different and the border radius are different.
With others windows opened, it looks out of place.
If applicable, add mockups / screenshots to help present your vision of the feature
No response
The text was updated successfully, but these errors were encountered: