Terminal misbehaves when streaming with Discord (or Discord misbehaves) - important for remote pair programming during COVID #13708

Closed
opened 2026-01-31 03:49:57 +00:00 by claunia · 18 comments
Owner

Originally created by @vadimkantorov on GitHub (May 2, 2021).

The zoom is constantly changing between the tab itself, and the full window. Thus it's impossible to track the text and typing etc because everything is jumping all the time (in the mode of choosing terminal as streamed app).

Maybe the problem is in the Tab control or some holder window.

Originally created by @vadimkantorov on GitHub (May 2, 2021). The zoom is constantly changing between the tab itself, and the full window. Thus it's impossible to track the text and typing etc because everything is jumping all the time (in the mode of choosing terminal as streamed app). Maybe the problem is in the Tab control or some holder window.
Author
Owner

@zadjii-msft commented on GitHub (May 3, 2021):

Could you be more specific? Is the font size changing, or is the pane literally toggling it's "zoom" state, like the togglePaneZoom command? Is it the text in the terminal control, or in the tab? A gif would be super useful.

@zadjii-msft commented on GitHub (May 3, 2021): Could you be more specific? Is the font size changing, or is the pane literally toggling it's "zoom" state, like the `togglePaneZoom` command? Is it the text in the terminal control, or in the _tab_? A gif would be super useful.
Author
Owner

@vadimkantorov commented on GitHub (May 3, 2021):

I'll record a GIF next time we play a CTF with my friends (that's when the problem reproduces stably) and I view their stream.

Discord would zoom into the tab content for a split-second (in this state the tab headers are not seen, only a particular tab content is seen), then would zoom back out to the whole window. And this continues on loop.

Discord somehow tracks active "window" (of the selected app) to zoom into. I would think that somehow for Terminal the active window changes constantly from being the tab content "window" to being the whole Terminal "window".

@vadimkantorov commented on GitHub (May 3, 2021): I'll record a GIF next time we play a CTF with my friends (that's when the problem reproduces stably) and I view their stream. Discord would zoom into the tab content for a split-second (in this state the tab headers are not seen, only a particular tab content is seen), then would zoom back out to the whole window. And this continues on loop. Discord somehow tracks active "window" (of the selected app) to zoom into. I would think that somehow for Terminal the active window changes constantly from being the tab content "window" to being the whole Terminal "window".
Author
Owner

@vadimkantorov commented on GitHub (May 3, 2021):

It's not font size changing, it's that the active window somehow changes, and Discord zooms into the tab, and then zooms out to the whole Terminal window on loop (as effect of this text position changes, and the font size changes minorly as well, but it's a side-effect of zoom).

I'm talking of text inside console inside the tab, e.g. the typed commands and the output and so forth.

@vadimkantorov commented on GitHub (May 3, 2021): It's not font size changing, it's that the active window somehow changes, and Discord zooms into the tab, and then zooms out to the whole Terminal window on loop (as effect of this text position changes, and the font size changes minorly as well, but it's a side-effect of zoom). I'm talking of text inside console inside the tab, e.g. the typed commands and the output and so forth.
Author
Owner

@vadimkantorov commented on GitHub (May 3, 2021):

When my friend does not select the Terminal window as the streamed app, and streams the whole screen, this problem does not happen (but then his screen is super huge, and on a laptop I can't see much, so he had to use huge fonts), but this is not very convenient.

@vadimkantorov commented on GitHub (May 3, 2021): When my friend does not select the Terminal window as the streamed app, and streams the whole screen, this problem does not happen (but then his screen is super huge, and on a laptop I can't see much, so he had to use huge fonts), but this is not very convenient.
Author
Owner

@DHowett commented on GitHub (May 3, 2021):

This is likely related to our use of a composition surface and somebody's misguided attempt to determine what is a game. I'm not certain what we can do apart from completely restructure our rendering stack. . .

@DHowett commented on GitHub (May 3, 2021): This is likely related to our use of a composition surface and somebody's misguided attempt to determine what is a game. I'm not certain what we can do apart from completely restructure our rendering stack. . .
Author
Owner

@vadimkantorov commented on GitHub (May 3, 2021):

Well, now it is completely unusable when Terminal is selected as streamed app...

Discord is a very popular app, and often is used not for games, but for screen sharing or pair programming - especially with remote work / covid.

@vadimkantorov commented on GitHub (May 3, 2021): Well, now it is completely unusable when Terminal is selected as streamed app... Discord is a very popular app, and often is used not for games, but for screen sharing or pair programming - especially with remote work / covid.
Author
Owner

@vadimkantorov commented on GitHub (May 9, 2021):

Or at least talk to them, maybe complete rendering stack restructuring would not be needed after all...

@vadimkantorov commented on GitHub (May 9, 2021): Or at least talk to them, maybe complete rendering stack restructuring would not be needed after all...
Author
Owner

@ghost commented on GitHub (May 14, 2021):

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

@ghost commented on GitHub (May 14, 2021): This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**.
Author
Owner

@vadimkantorov commented on GitHub (May 14, 2021):

@zadjii-msft What sort of further feedback is expected of me? I think the bot is mistaken...

@vadimkantorov commented on GitHub (May 14, 2021): @zadjii-msft What sort of further feedback is expected of me? I think the bot is mistaken...
Author
Owner

@zadjii-msft commented on GitHub (May 14, 2021):

Oh I suppose that's right. I guess I was expecting a video of some sort, but from everything mentioned here, this sounds like some hijinks that Discord is playing with the window. This probably makes the most sense to file on the Discord issue tracker - I'm not sure there's much else we can do to investigate this on our side.

@zadjii-msft commented on GitHub (May 14, 2021): Oh I suppose that's right. I guess I was expecting a video of some sort, but from everything mentioned here, this sounds like some hijinks that Discord is playing with the window. This probably makes the most sense to file on the [Discord issue tracker](https://support.discord.com/hc/en-us/articles/360046057772-How-do-I-submit-a-bug-) - I'm not sure there's much else we can do to investigate this on our side.
Author
Owner

@vadimkantorov commented on GitHub (May 14, 2021):

Well, all other apps like browsers work fine. Have you tried streaming Terminal with Discord? This must be a frequent scenario for pair programming with COVID

As I said, I'd provide input next time I play a CTF contest with my friend

Thanks for thel ink, I'll also create an issue with Discord

@vadimkantorov commented on GitHub (May 14, 2021): Well, all other apps like browsers work fine. Have you tried streaming Terminal with Discord? This must be a frequent scenario for pair programming with COVID As I said, I'd provide input next time I play a CTF contest with my friend Thanks for thel ink, I'll also create an issue with Discord
Author
Owner

@Pitta commented on GitHub (Oct 8, 2021):

I have this issue was well. Only seems to be a problem with Discord. Issue is exactly as described by @vadimkantorov

@Pitta commented on GitHub (Oct 8, 2021): I have this issue was well. Only seems to be a problem with Discord. Issue is exactly as described by @vadimkantorov
Author
Owner

@lapo-luchini commented on GitHub (Jul 19, 2022):

Here shows a tab 1 which contains while true; do sleep 1; echo HELLO; done and I manually wrote something in tab 2.
From my Windows GUI I'm always seeing a stable tab 2, but each time the echo HELLO goes on in tab 1 it's shown for a moment in the streaming. Another effect is that tab 2 is seen complete with the tab stripe at the top, while tab 1 is shown it's "zoomed in", without tabs on top.
https://user-images.githubusercontent.com/420454/179699365-335fc19a-4961-4996-9fda-4906627c9152.mp4

@lapo-luchini commented on GitHub (Jul 19, 2022): Here shows a tab 1 which contains `while true; do sleep 1; echo HELLO; done` and I manually wrote something in tab 2. From my Windows GUI I'm always seeing a stable tab 2, but each time the `echo HELLO` goes on in tab 1 it's shown for a moment in the streaming. Another effect is that tab 2 is seen complete with the tab stripe at the top, while tab 1 is shown it's "zoomed in", without tabs on top. https://user-images.githubusercontent.com/420454/179699365-335fc19a-4961-4996-9fda-4906627c9152.mp4
Author
Owner

@vadimkantorov commented on GitHub (Jul 19, 2022):

@zadjii-msft Above by @lapo-luchini is a sample similar to what I saw and meant by "zoom in"

@vadimkantorov commented on GitHub (Jul 19, 2022): @zadjii-msft Above by @lapo-luchini is a sample similar to what I saw and meant by "zoom in"
Author
Owner

@zadjii-msft commented on GitHub (Jul 19, 2022):

I maintain that I suspect this is an issue with Discord itself. Did anyone ever open an issue on their issue tracker? If they can point at something we're doing wrong, we can revisit this, but other streaming apps don't seem to have this issue.

@zadjii-msft commented on GitHub (Jul 19, 2022): I maintain that I suspect this is an issue with Discord itself. Did anyone ever open an issue on their issue tracker? If they can point at something we're doing wrong, we can revisit this, but other streaming apps don't seem to have this issue.
Author
Owner

@vadimkantorov commented on GitHub (Jul 19, 2022):

I just submitted a bug request to Discord via https://support.discord.com/hc/en-us/requests/new?ticket_form_id=360006586013, but it did not give me any bug id or handle or a tracker link. So I'm not sure if externals can even see it exists...

I found their tracker: https://bugs.discord.com/, but I can't find my submitted bug there, and it seems that most of bugs are from 2021, so not sure if it's the right place to look

@vadimkantorov commented on GitHub (Jul 19, 2022): I just submitted a bug request to Discord via https://support.discord.com/hc/en-us/requests/new?ticket_form_id=360006586013, but it did not give me any bug id or handle or a tracker link. So I'm not sure if externals can even see it exists... I found their tracker: https://bugs.discord.com/, but I can't find my submitted bug there, and it seems that most of bugs are from 2021, so not sure if it's the right place to look
Author
Owner

@vadimkantorov commented on GitHub (Jul 19, 2022):

So I received a confirmation email with a bug ID: 26840839. But still no URL for a public tracker, so not sure how to collaborate with them on this (tried to contact them at https://twitter.com/vadimkantorov/status/1549353837881950209 )

@vadimkantorov commented on GitHub (Jul 19, 2022): So I received a confirmation email with a bug ID: 26840839. But still no URL for a public tracker, so not sure how to collaborate with them on this (tried to contact them at https://twitter.com/vadimkantorov/status/1549353837881950209 )
Author
Owner

@vadimkantorov commented on GitHub (Jul 19, 2022):

It appears they do not assign public URLs to the bugs anymore and also there is no option for public discussion...

@vadimkantorov commented on GitHub (Jul 19, 2022): It appears they do not assign public URLs to the bugs anymore and also there is no option for public discussion...
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#13708