"Close all tabs?" dialog should highlight the "default" option #4729

Closed
opened 2026-01-30 23:55:09 +00:00 by claunia · 6 comments
Owner

Originally created by @zadjii-msft on GitHub (Oct 30, 2019).

refer to screenshot:

image

Pressing enter here closes the window, because that's the focused/default button on this dialog. However, there's no way of knowing which is the selected button right now. We should either use the accent color with the button, or manually display the focus rect (is that even possible)?

Also for discussion: Should "close" be the default option here?

Originally created by @zadjii-msft on GitHub (Oct 30, 2019). refer to screenshot: ![image](https://user-images.githubusercontent.com/18356694/67896977-7238c780-fb2b-11e9-8899-f232d649e234.png) Pressing enter here _closes the window_, because that's the focused/default button on this dialog. However, there's no way of knowing which is the selected button right now. We should either use the accent color with the button, or manually display the focus rect (is that even possible)? Also for discussion: Should "close" be the default option here?
Author
Owner

@DHowett-MSFT commented on GitHub (Oct 30, 2019):

Gut feeling: cancel should be the default option.

@DHowett-MSFT commented on GitHub (Oct 30, 2019): Gut feeling: cancel should be the default option.
Author
Owner

@carlos-zamora commented on GitHub (Nov 2, 2019):

Classic Edge:
image

Pressing Enter does trigger "Close all". Surprisingly, they don't make it clear that that's the default button here. We definitely should though.

On a separate note, consider adding that checkbox? (that should definitely be it's own issue though)

@carlos-zamora commented on GitHub (Nov 2, 2019): Classic Edge: ![image](https://user-images.githubusercontent.com/11050425/68063455-5c173c80-fcce-11e9-9d1a-ba5c9e3c0d38.png) Pressing Enter does trigger "Close all". Surprisingly, they don't make it clear that that's the default button here. We definitely should though. On a separate note, consider adding that checkbox? (that should definitely be it's own issue though)
Author
Owner

@mdtauk commented on GitHub (Nov 2, 2019):

You could use the Accented Button style for the default option

@mdtauk commented on GitHub (Nov 2, 2019): You could use the Accented Button style for the default option
Author
Owner

@jantari commented on GitHub (Nov 3, 2019):

My opinion is that you should use the focus rectangle.

When you only have two buttons and they are different colors it is still not clear which one is active.

@jantari commented on GitHub (Nov 3, 2019): My opinion is that you should use the focus rectangle. When you only have two buttons and they are different colors it is still not clear which one is active.
Author
Owner

@cinnamon-msft commented on GitHub (Jan 22, 2020):

Along with this issue, the styling should be fixed as well to match the other dialog boxes.
Mockup proposal:
image

In terms of what should be default, I'd argue if we have the checkbox for "don't show this again", it should be Cancel. Otherwise, Close All Tabs should be default.

@cinnamon-msft commented on GitHub (Jan 22, 2020): Along with this issue, the styling should be fixed as well to match the other dialog boxes. Mockup proposal: ![image](https://user-images.githubusercontent.com/48369326/72943040-df728800-3d29-11ea-8f49-ad4bae3f105b.png) In terms of what should be default, I'd argue if we have the checkbox for "don't show this again", it should be Cancel. Otherwise, Close All Tabs should be default.
Author
Owner

@ghost commented on GitHub (Feb 13, 2020):

:tada:This issue was addressed in #4401, which has now been successfully released as Windows Terminal Preview v0.9.433.0.🎉

Handy links:

@ghost commented on GitHub (Feb 13, 2020): :tada:This issue was addressed in #4401, which has now been successfully released as `Windows Terminal Preview v0.9.433.0`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v0.9.433.0) * [Store Download](https://www.microsoft.com/store/apps/9n0dx20hk701?cid=storebadge&ocid=badge)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#4729