tom42
3 Październik 2021 06:11
1
Po aktualizacji do Kasi nie działa mi konsola w przeglądarce Safari na MacOS, w innych przeglądarkach konsola działa normalnie. Gdzie leży problem
To przestało ci działać nie po aktualizacji AIS do Kasi, ale po po aktualizacji Safari do wersji 15.0 na Macu.
Tu masz więcej informacji:
opened 04:01AM - 27 Sep 21 UTC
closed 11:33AM - 23 Oct 21 UTC
question

After updated Safari to 15.0 on Mac, webgl2.0 is now default and text is not showing on ttyd.
Looks this is a xtermjs issue (https://github.com/xtermjs/xterm.js/issues/3357) but can we fall back to dom rendering if webgl2.0 is not supported?
Tu jest zrodlo problemu i opis obejścia:
opened 08:45AM - 02 Jun 21 UTC
closed 08:30PM - 08 Nov 22 UTC
type/bug
browser/safari
## Details
- Browser and browser version: Safari 14.1
- OS version: macOS 11… .3 (Apple Silicon)
- xterm.js version: 4.11.0 (gotty 1.3.0)
### Steps to reproduce
1. install xterm.js with webgl addon
2. open the page in Safari
3. observe missing letters, just background colors can be seen
3. Chrome and Firefox work fine
to samo dzieje się w HA, VS itd…
opened 08:04AM - 19 Sep 21 UTC
closed 09:31AM - 06 Jan 22 UTC
add-on: ssh
<!-- READ THIS FIRST:
- If you need additional help with this template, pleas… e refer to https://www.home-assistant.io/help/reporting_issues/
- Make sure you are running the latest version of the add-on before reporting an issue
- Provide as many details as possible. Paste logs, configuration samples and code into the backticks.
DO NOT DELETE ANY TEXT from this template! Otherwise, your issue may be closed without comment.
- This is the issue tracker for add-ons, feature request for new or existing add-ons should be opened on the forum https://community.home-assistant.io/c/feature-requests
-->
## 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
<!--
An example configuration that caused the problem for you. Fill this out even
if it seems unimportant to you. Please be sure to remove personal information
like passwords, private URLs and other credentials.
-->
```yaml
```
## Traceback/Error logs
<!--
If you come across any trace or error logs, please provide them.
-->
```txt
```
## Additional information
This only happens in Safari, Edge on the same machine is perfectly fine
<img width="1428" alt="Screenshot 2021-09-19 at 10 02 43" src="https://user-images.githubusercontent.com/10572373/133920102-b47d3847-cc99-419a-b072-c9f327ecf0ad.png">
.
1 polubienie
tom42
3 Październik 2021 08:56
3
To ciekawe, bo w poprzedniej wersji Jarek konsola działała bez zastrzeżeń. Nie mogę zablokować webgl bo u mnie nie jest to wyświetlane w preferencjach safari 15
Nie znam się za bardzo na “jabłkowym rezerwacie” ale możesz chyba zainstalować inną przeglądarkę… skoro babol tkwi w WebGL Safari…
Z tego co zobaczyłem to jest kilka przeglądarek na Twój system.
Z resztą zawsze jest dobrze mieć przynajmniej dwie przeglądarki aby np. móc zdiagnozować problem choćby taki jak Twój.
tom42
3 Październik 2021 10:48
5
Jak pisałem na wstępie na innych przeglądarkach działa to normalnie, mam je zainstalowane. Safari jest systemową i działa najszybciej z małym obciążaniem systemu. Ale jak piszecie nie jest to wielki problem.
damu
3 Październik 2021 15:58
6
Safari to silnik WebKid,
Chrome, Opera, Edge to silnik Blink,
Firefox to Gecko.
Notabene WebKid był używany w Chrome do wersji 27
tomek
4 Październik 2021 17:41
7
Ktoś już dostarczył poprawkę, tu:
tsl0922:main
← shohey1226:exclude_safari
opened 06:06AM - 01 Oct 21 UTC
For #780
I'm not sure we will wait for xtermjs to support/fix webgl2.0. This … is the same way as VSCode to avoid the issue for now.
jak ta poprawka zostanie scalona, to przebudujemy ttyd i będzie OK
1 polubienie