Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminal&SSH addon unreadble CLI in Safari #2186

Closed
Stooovie opened this issue Sep 19, 2021 · 23 comments · Fixed by #2324
Closed

Terminal&SSH addon unreadble CLI in Safari #2186

Stooovie opened this issue Sep 19, 2021 · 23 comments · Fixed by #2324

Comments

@Stooovie
Copy link

The problem

Text can't be read at all in the Terminal addon in Safari.

Environment

Terminal&SSH addon v9.1.3, HA 2021.9.6, Safari on MacOS Monterey beta, also happens in Safari on Big Sur 11.6.

  • Add-on with the issue: Terminal&SSH
  • Add-on release with the issue: 9.1.3
  • Last working add-on release (if known):
  • Operating environment (OS/Supervised): HAOS 6.3 on Rpi4

Problem-relevant configuration

Traceback/Error logs

Additional information

This only happens in Safari, Edge on the same machine is perfectly fine
Screenshot 2021-09-19 at 10 02 43
.

@shodanx2
Copy link

There is also a font issue in Firefox, see below

image

@netweaver1970
Copy link

same issue as #2141
and as #1983

Did you look at those already?

@Stooovie
Copy link
Author

Stooovie commented Sep 20, 2021

#2141 and #1983 are issues different from mine (OP). I just see empty screen in Safari.

@ludeeus
Copy link
Member

ludeeus commented Sep 23, 2021

Disable all browser plugins.
See tsl0922/ttyd#685

@fmeus
Copy link

fmeus commented Sep 24, 2021

Not using any browser plugins but I am having the same issue

@ludeeus
Copy link
Member

ludeeus commented Sep 24, 2021

Is the emulator here showing? https://xtermjs.org/

@fmeus
Copy link

fmeus commented Sep 24, 2021

No it is not showing either

@ludeeus
Copy link
Member

ludeeus commented Sep 24, 2021

Then that is the issue, that is the software running inside the add-on.
It seems you need to disable WebGL2 xtermjs/xterm.js#3357 (last comment)

@fmeus
Copy link

fmeus commented Sep 24, 2021

Then that is the issue, that is the software running inside the add-on.
It seems you need to disable WebGL2 xtermjs/xterm.js#3357 (last comment)

Just checked on macOS and this workaround seems to work. It does require your to turn on the Develop Menu to be able to get to the Experimental Features...

@Stooovie
Copy link
Author

Stooovie commented Sep 27, 2021

xtermjs.org: working on Safari Mac, not working (it shows as empty dark grey rectangle) on Safari iOS. There must've been a change because the addon DID work on Safari iPhone just fine, I have used it to issue "ha core restart" command from my phone countless times.

@ludeeus
Copy link
Member

ludeeus commented Sep 27, 2021

Disable WebGL2 and it should start working again

@Stooovie
Copy link
Author

Stooovie commented Sep 27, 2021

Yes, after disabling WebGL2 in iPhone Safari Experimental features, Terminal does work. It does not, however, work in the official iOS HA app - no way to disable it there. It's not that important but HA is VERY buggy on Safari and webkit-based browsers and apps, and this is just one of the many bugs.

@svensol
Copy link

svensol commented Oct 9, 2021

Yes, after disabling WebGL2 in iPhone Safari Experimental features, Terminal does work. It does not, however, work in the official iOS HA app - no way to disable it there. It's not that important but HA is VERY buggy on Safari and webkit-based browsers and apps, and this is just one of the many bugs.

Confirmed. iOS and iPadOS applications terminal is all grey, disabling WebGL2 allows access in safari but not the app.
Everything is up to date.

@Lemonadel
Copy link

Lemonadel commented Oct 12, 2021

Will someone fix this finally? Same problem on apps for iPad and iPhone…

@apbarratt
Copy link

Getting this issue on Safari on my Mac.

@ludeeus
Copy link
Member

ludeeus commented Nov 9, 2021

It has been fixed in ttyd, but until release it there is nothing that can't be done in the add-on.

@github-actions
Copy link

github-actions bot commented Dec 9, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Dec 9, 2021
@dsegantx
Copy link

What is the status of releasing the fix? It’s quite a long running issue considering it’s solved. Trying to understand the remaining gates to getting this released…?

@github-actions github-actions bot removed the stale label Dec 13, 2021
@ludeeus
Copy link
Member

ludeeus commented Dec 13, 2021

Still waiting for upstream release.

@DevilTears

This comment has been minimized.

@dsegantx
Copy link

Terminal 9.2.2 was just released and I’ve installed it. It says it fixed escape color codes.
I still don’t see different behavior on iPad/Safari. Wondering if the fix was for something else and we’re still awaiting this fix?

@ludeeus
Copy link
Member

ludeeus commented Dec 23, 2021

This issue is still open (not fixed), still waiting for a release..

@xxpas02
Copy link

xxpas02 commented Jan 4, 2022

Issue still present on T&SSH 9.2.2 on HA OS 7.1 2021.12.7 on MacOS 10.15.7 with Safari 15.3 and on Home Assistant iOS app 2021.12.1 on iOS 15.2. Terminal is a grey screen with no prompt, no proper cursor and no text when typing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.