r/programming • • Feb 06 '19

Visual Studio Code: January 2019 (version 1.31)

https://code.visualstudio.com/updates/v1_31
790 Upvotes

340 comments sorted by

View all comments

86

u/Dgc2002 Feb 06 '19

Double-click the application icon to close in Windows/Linux

Due to technical tradeoffs, by default, the custom title bar on Window and Linux removes the functionality of double-clicking the application icon to close the window.

Huh, TIL.

41

u/n0rs Feb 06 '19

Been doing this since Windows 3.1 at least

It's a strangely hard habit to break.

25

u/playmer Feb 07 '19

I've been using Windows since 3.1 and I never even knew this was a feature. (Or if I did I forgot very early on) That's so shocking to me.

6

u/eastern Feb 07 '19

Pre-W95, it was the 'hyphen' icon in the top left corner. It's actually always been 'double-click the top left corner to quit'. The icon in said corner changed with the 95-style UI.

24

u/KillianDrake Feb 07 '19

Huh, I've always used the X, how many apps with custom chrome even have that icon anymore.

8

u/ygra Feb 07 '19

I was pleasantly surprised that when Microsoft introduced a custom UI in the title bar with Office 2007 they did not break double-clicking that corner.

Most applications sadly break it, Chrome being particularly bad with handling the title bar in my opinion.

0

u/[deleted] Feb 07 '19

[deleted]

2

u/BassWaver Feb 07 '19

Alt+F4?

You mean Cmd+q

9

u/Sarcastinator Feb 07 '19 edited Feb 07 '19

In the DOS days there was no unified way to actually quit an application, and some games even didn't have a way to quit them. You were just supposed to turn off or restart the computer.

Anyway, common ways to quit were Alt+X, Alt+Q and F10. It was always real fun to try to find out how, and if, you could actually quit a game. One game, Thexder the Firehawk 2 by Sierra, used Alt+Q. F10 deleted all your save games without a prompt or even an indication that it did. Real fun when some other applications used F10 as quit.

5

u/AnotherEuroWanker Feb 07 '19

The accepted method was PLOKTA.

0

u/BassWaver Feb 07 '19

I'm just memeing the other guy lol

3

u/Sarcastinator Feb 07 '19

I know. Just thought some might find it interesting since not everyone lived through or remember much from that time.

1

u/Phrygue Feb 07 '19

Control-Z?

14

u/coderstephen Feb 07 '19

Weird. I never knew that was a thing in any OS.

0

u/AndrewNeo Feb 07 '19

Weirdly I didn't run into this problem until yesterday. I've been using VS Code for a couple years now.