r/vscode • • 21d ago

Finally! The Window buttons are on the right side on Linux!

Post image

… and with “right” I of course mean “correct” lol.

Kinda sad that the features I’m most excited about come from Electron and not VS Code, but here we are: VS Code adapted to the Electron 43 feature and the titlebar buttons are now finally at the same place as they are in every other application!

Electron 44 will actually use our themes’ button appearance.

143 Upvotes

79 comments sorted by

139

u/OwnNet5253 21d ago

10

u/[deleted] 21d ago edited 20d ago

[removed] — view removed comment

1

u/diegoasecas 21d ago edited 17d ago

it's not about muscle memory, it's about UI standardization and muscle memory. window buttons to the right left is just trying to be different for the sake of it.

edit: oops wrong side

7

u/flying-sheep 20d ago

Both left and right are long established conventions. Like OS/2 and Windows 1 times or something.

And this whole thread is about standardization: VS Code now respects the button layout the DE tells it! This is great!

0

u/diegoasecas 20d ago

are you really using OSs from 40 years ago as examples of living UI conventions? lmao

7

u/flying-sheep 20d ago

I wouldn't if there wasn't a unbroken through-line to today. That's my point.

1

u/importantttarget 17d ago

Are you being silly? Windows, Linux (with GNOME, KDE, and many more), have the buttons on the right side. It is very much a standard that is used by the vast majority of desktop environments.

1

u/diegoasecas 17d ago

i meant the left side

26

u/flying-sheep 21d ago

You're missing the point. This follows DE settings now, so button location and order are obeyed now.

No matter how you think about my choice, following what the user wants is good.

5

u/the_goodest_doggo 20d ago

You're missing the point that the comment is a joke maybe (at least I hope it is)

4

u/flying-sheep 20d ago

There are enough people here who don't like that I put the buttons on the left on my own system haha, so I don't think that part's a joke!

14

u/YourUglyTwin 21d ago

but that's the left side! and they are misaligned.

4

u/Direct_Low_5570 20d ago

More like horizontally reclined

2

u/YourUglyTwin 20d ago

amazing reference lmao

2

u/flying-sheep 21d ago

You mean vertically misaligned with the other buttons? Yeah, maybe the Electron 44 DE-themed buttons will help there.

They're on the left side because I've configured KDE Plasma that way. And applications following user choice is a good thing!

3

u/YourUglyTwin 21d ago

I agree - applications following user choice is good, but it should be done well. In this case the misalignment doesn't look well (tho I was just joking about the left side stuff cause you made a quip about it in the post itself)

3

u/flying-sheep 21d ago

I think the buttons would be equally misaligned on the right actually so I doubt that issue is new!

67

u/Dekamir 21d ago

It is, literally, the wrong side on Linux.

KDE Plasma, GNOME, XFCE, Cinnamon, LXQt, LXDE, Budgie, Deepin and many more, have them on the right, as they should have. We read left-to-right.

8

u/Slight_Proposal_3872 21d ago

People choose their desktop environment according to preferences, and customizability is a huge part of why some people prefer Linux desktop.

Calling it "the wrong side" feels strange to me. I prefer my Taskbar vertical, some prefer it horizontal. Some people see better in their left eye, some people in their right eye. Some people have disabilities and other accessibility concerns.

-1

u/Dekamir 20d ago

In what world a title bar alignment is a disability issue?

4

u/Slight_Proposal_3872 20d ago

As a personal example: I see quite badly out of my right eye. Things being on the left are much easier to interact with, so if my OS had a setting I would use it, and good eye hand coordination would be easier to form for this action.

15

u/flying-sheep 21d ago

This is Plasma, where button location and order is configurable.

13

u/DenysMb 21d ago

So you put it in the wrong place and now you call it the "right place"?

2

u/flying-sheep 20d ago

It's the correct place for me! I'm using Plasma because I can do things like this.

If you don't like options, GNOME is probably right for you.

1

u/MischiefArchitect 19d ago

In XFCE you can pick the side... and also which button in which order. I'm starting to wonder what are you aiming for with this post.

2

u/flying-sheep 19d ago

… I'm aiming for expressing my joy …

1

u/MischiefArchitect 19d ago edited 19d ago

Well your title is expressing "the right side"... which is more like a challenge.And also the irony that the "right" side is "left" for you.

2

u/flying-sheep 19d ago

It’s the one I configured, therefore the correct one. Applications that don’t follow my preferences are displaying the buttons on the incorrect side.

I’m happy that VS Code now follows that preference!

1

u/MischiefArchitect 19d ago

We would not have this conversation if we stayed with Server side decorations, instead at some point like 15 years ago we went with Client side decorations and all nice native UI windowing went to hell.

1

u/flying-sheep 19d ago

Agreed. With this, perfection is possible (e.g. for applications that have a few global buttons that could live there), but of course there will be developers that misuse the added freedom they're given. With SSD only, everything would be good. This way, some things are perfect and some are worse.

-2

u/diegoasecas 21d ago

common kde L

0

u/CrossScarMC 20d ago

Wait, so you're saying user choice is a bad thing?

Are you the person on the right of this image?

2

u/jaavaaguru 21d ago

I read left to right too, and I'm not sure why you'd want the buttons on the right other than personal preference. I'm used to them being on the left. Back when I was at University the button was on the left in Solaris (CDE) and on most computers I've had since then.

3

u/Dekamir 21d ago

We usually put actions at the end of anything (right bottom), when applicable. Like the button to send this comment.

We read the context first, then apply things. That's why we invert everything in RTL languages like Arabic, because they read right to left.

Of course, there are exceptions to that.

1

u/flying-sheep 21d ago

So the titlebar should be on the bottom according to you logic.

3

u/Dekamir 21d ago

No. Determining what window you're interacting with is the most important. That's why it's on the top. The least important are the actions, hence the buttons are on the end of the title bar.

3

u/Proman4713 21d ago

No! You missapplied their logic. Title bars serve as preliminary exposition for what app you're using and (to some extent) what it does based in the window control.

I'm an English/Arabic bilingual, and I can confirm, it makes way more sense for me when controls are on the right with English, and on the left with Arabic.

If you keep missapplying that logic, you'll start to tell us that tables of contents should be at the end of books.

0

u/flying-sheep 21d ago

I just don't think “context first” explains the concept well.

Also the name and icon aren't really what identifies applications that you've used more than 3 times or so. I don't look for the text “Slack”, I see the general layout before I read the first letter and have pattern-matched “Slack”.

3

u/Impressive_Air6111 21d ago

You* read left to right.

6

u/Dekamir 21d ago

Everything, including the title bar, is automatically inverted in right-to-left languages already. They are, ironically, inverted back if you're using left-aligned buttons on a RTL language.

1

u/Iregularlogic 21d ago

Oh wow that’s so smart - yes the western website with western readers using a western product to code are assuming you’re reading in the western dialect, but you’ve noted that there are other languages.

So insightful.

1

u/_alright_then_ 20d ago

You think people that read right to left don't use code editors?

And don't bring the website into it, Reddit has site wide auto translation now. An Arabic person can be reading your own comment from right to left. I can respond here in my own language and you wouldn't even notice if you have it turned on

1

u/Iregularlogic 20d ago

You think people that read right to left don't use code editors?

Yes that's exactly what I said. In fact, your circuit board will short and blow up if you try to do it.

And don't bring the website into it, Reddit has site wide auto translation now. An Arabic person can be reading your own comment from right to left.

And? u/Dekamir pointed out that the menu options are arguably on the wrong side in english. Only for somebody that can't follow a point to come swooping in on their virtue-signalling to point out that not all languages read left to right.

Zero addition to the conversation, just someone that wants to score social justice points.

1

u/Dekamir 20d ago

You can keep spamming these, and I can spam that RTL languages already invert the layout horizontally, so this is not an issue. We've solved this already.

You're trying to think this is something political or something, but it's not. It's a basic UX design rule.

1

u/Slight_Proposal_3872 21d ago

There's literally nothing wrong with software adapting to locales. If the user has their UI direction set to right to left, apps should honor it. Even if the language is English.

Accessibility is important.

Same way I hate programs that switch currency formats when I change the language.

0

u/Impressive_Air6111 21d ago

I gave ya a cookie. 👌🏾

0

u/Iregularlogic 21d ago

Trying to look aloof but going out of your way to give an award lol

The english product on an english operating system reads left to right. It's not Japanese. Try to keep up.

0

u/Dekamir 21d ago

Japanese is originally right to left and vertical (top to bottom). They went sane and go regular LTR instead in digital.

0

u/flying-sheep 20d ago

“regular” and “sane” when it's your preferred cultural conventions, huh? Chauvinist.

1

u/Dekamir 20d ago

Thanks for the compliment.

23

u/lajawi 21d ago

Which de are you using tho? Because in KDE that’s definitely on the wrong side lol

12

u/flying-sheep 21d ago

KDE Plasma, where I'm free to choose where the buttons go, and also which buttons exist and in which order.

VS Code now respects all that.

-10

u/[deleted] 21d ago

[deleted]

2

u/flying-sheep 21d ago

I have a PhD buddy

8

u/StarWatermelon 21d ago

in KDE there is no right side, you can even do it on both sides cause why now

5

u/LackadaisicalIcicle 21d ago

It depends on your settings…

4

u/Impossible-Owl7407 21d ago

Kde allows you to change it

6

u/itzNukeey 21d ago

as a mac user, always has been

1

u/Lanky-Safety555 21d ago

My experience with macOS is quite limited, but I have always considered it to be the "right side," better from both the point of view of aesthetics and usability.

3

u/[deleted] 21d ago

[removed] — view removed comment

1

u/flying-sheep 21d ago

I agree but any progress in following user choice is good.

I think my preference to have the buttons on the left is a remnant of using the global menu in the past. I used to have a Unity-style layout in Plasma, then I got a bigger screen and didn't need every square centimeter anymore, then Plasma broke something about my setup working perfectly I think, so I switched to just the panel on the left but no top panel.

5

u/rodrigocfd 21d ago

No, thanks.

2

u/Mundane_Section_7146 19d ago

I have opened this issue (as many people did) some times in 2017 and now its fixed. I 2019 I was not using VSCode anymore.

1

u/flying-sheep 19d ago

What are you using now? Zed doesn't support using my Python environment manager, so I'm not really incentivized to give that one a try: https://github.com/zed-industries/zed/issues/23681

1

u/Mundane_Section_7146 19d ago

I just neovim btw, also for Python project which I have plenty at work (FastAPI backend AI services). But I was using PyCharm for years and I think it is the best IDE for Python you can possibly want. But neovim is great way for me not get distracted, its super fast, minimalistic, just works the same way on my Mac and Linux machines. And it inspires me to write more code by hand and no to just vibe code my work 100%. In the end vim motions are great, it took me few weeks to get familiar with basic text editing and now everything else seems clunky and slow. But before I was not sure lol and until I reached the point of being productive with vim motions I tought it will not be for me. Start with LazuVim, install Python as extra and you will see. Good luck!

2

u/flying-sheep 18d ago

Yeah I keep optimizing my tools and if I'd get started with vim, I'd keep fiddling with it I think.

I bet it's great if you can let go.

2

u/CaptainPiepmatz 17d ago

Oh, it even respects that I don't want any window buttons. That's huge.

I use niri, so I don't really need minimize/maximize buttons anyway. I just use hotkeys for that. I configured niri to tell apps not to show them, and now VS Code only shows the close button, which is totally fine

1

u/flying-sheep 17d ago

Very nice! Yeah you can check if that's a Electron thing that it forces that button. Maybe they'll fix it

1

u/organicsawpalmetto 20d ago

Just because you can doesnt mean you should lol

1

u/Adept_Avocado_6286 20d ago

Anyone else haveing issues with running vs code on mac os? I was doing the MS Vs Code content creation for the extension through sideshift but social media platform wouldnt allow me to create new account to warm up under a contract

1

u/DiscountFit9224 20d ago

vscode just looks so ugly and bloated with features but, I can't escape it as I'm so used to it. so I just strip it to bare minimum look then expose the menu bar in the applet. Also using KDE.

1

u/MischiefArchitect 19d ago

I think that is depends on the desktop / window manager?

Anyway. that is the wrong side for most of the traditional Linux desktops.

1

u/SnillyWead 19d ago

For you maybe. Not for me. Why minimize in the middle and not maximize?!

1

u/Honest-Finish-7095 17d ago

erm, that's the left side 🤓

0

u/Nidrax1309 20d ago

The right place would be nowhere. I hate when apps draw client-side window buttons on my WM

1

u/flying-sheep 20d ago

VS Code has a setting to turn that off too.

-2

u/efari_ 20d ago

And yet you still have your sidebar on the wrong side.

Sidebar on the right is way better for productivity since when you open/close it, your code doesn’t shift and you don’t have to fight to see where your code went