Skip to content

Change the pty host responsiveness notification to a status bar item - #185255

Merged
Daniel Imms (Tyriar) merged 1 commit into
mainfrom
tyriar/ptyhost_status_bar
Jun 15, 2023
Merged

Daniel Imms (Tyriar) merged 1 commit into
mainfrom
tyriar/ptyhost_status_bar

Conversation

@Tyriar

Copy link
Copy Markdown
Contributor

Part of #130320

Simulated a failure with "terminal.integrated.developer.ptyHost.startupDelay": 10000:

image

New developer command:

image

I discovered #185254 when working on this, it's not a regression from main.

@meganrogge

Copy link
Copy Markdown
Collaborator

If terminals may stop working, don't we want it to be extremely clear that we're aware of this and provide a way to fix it?

I worry ppl won't discover the status bar item

@Tyriar

Copy link
Copy Markdown
Contributor Author

Megan Rogge (@meganrogge) it's pretty obvious because of the warning color, but since it's a status bar item we can dismiss it immediately when it's no longer valid.

image

@meganrogge

Megan Rogge (meganrogge) commented Jun 15, 2023 •

Copy link
Copy Markdown
Collaborator

does the message get read when using a screen reader?

and do you have to click the status bar item to see that or does it show automatically?

@Tyriar

Copy link
Copy Markdown
Contributor Author

Megan Rogge (@meganrogge) it depends on whether new status bar items are announced.

I could go with a notification in screen reader mode, but this seems like an issue with status bar items if they don't already?

@meganrogge

Copy link
Copy Markdown
Collaborator

and do you have to click the status bar item to see that or does it show automatically?

and yes let's go with a notification for screen reader users and create an issue abt the status bar if it doesn't work already

@meganrogge

Copy link
Copy Markdown
Collaborator

Toggling screen reader accessibility mode - which adds a status bar item - does not get announced to me

@Tyriar

Copy link
Copy Markdown
Contributor Author

Megan Rogge (@meganrogge) it would be better if this problem was solved generally, such as an announcement flag on the status bar item which optionally alerts it. But that's out of the scope of this change imo, the impact on screen reader users should be very small as it's a very small edge case when pty responsiveness is an issue.

@Tyriar
Daniel Imms (Tyriar) merged commit c46768c into main Jun 15, 2023
@Tyriar
Daniel Imms (Tyriar) deleted the tyriar/ptyhost_status_bar branch June 15, 2023 19:48
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants