hass-configurator icon indicating copy to clipboard operation
hass-configurator copied to clipboard

File Editor caracters are shifted form cursor

Open guiguid opened this issue 4 years ago • 4 comments

Hi, With the 5.0 update of the File Editor Addons, I've a 5/6 caracter shift with the cursor !

HA-FileEditor5 0-caracterbug

This strange bug isn't présent in previous release. It's fonts related ?

Tested with : Firefox 75, with -safe-mode + cache cleaning on linux manjaro 20 Chromium Version 81.0.4044.122 on linux manjaro 20

HA : 0.109.1 File editor : 5.0.0

arch | x86_64 dev | false docker | true hassio | true os_name | Linux os_version | 5.6.5-3-MANJARO python_version | 3.7.7 timezone | Europe/Paris version | 0.109.1 virtualenv | false

I've uninstall and reinstall File editor addon with no succes.

Link Issue : https://github.com/home-assistant/hassio-addons/issues/1261

guiguid avatar Apr 30 '20 18:04 guiguid

+1

itsyoshio avatar Jan 02 '21 14:01 itsyoshio

I can't reproduce this problem with a standalone-installation. Does this only apply to certain filetypes? And do you have the editor somehow embedded within another page, or is it a native page with just the editor?

danielperna84 avatar Jan 02 '21 17:01 danielperna84

It happens in the core_configurator addon aswell as in esphome (all installed via hassos supervisor) and any other place this editor is used.

https://user-images.githubusercontent.com/12760988/103536318-97913600-4e92-11eb-8417-f31d3c2735cb.mp4

Doesn't matter wheather i'm on my instance or on a friends (different network, host, instance) so it is related to my Notebook. I tried Hard Reloading but not no avail.

I'm on Manjaro with GNOME Shell 3.38.2 on Wayland and Chromium 87.0.4280.88 (Official Build) Arch Linux (64-bit)

itsyoshio avatar Jan 04 '21 12:01 itsyoshio

What I meant by standalone is installing the HASS-Configurator application itself without any container. Since you are on Linux, please try the following:

cd /tmp
python3 -m venv venv
source venv/bin/activate
pip install hass_configurator
# This will install the HASS-Configurator application within the temporary virtual environment
# Then start with
hass-configurator
# The output will be something like:
INFO:2021-01-04 22:57:00,382:hass_configurator.configurator:Starting server
INFO:2021-01-04 22:57:00,383:hass_configurator.configurator:Listening on: http://0.0.0.0:3218

You should then be able to point your browser at http://127.0.0.1:3218 and get the configurator. This is a plain installation, and I now have done this multiple times on different machines and never got the problem you are reporting. So from my point of view, this is not a problem with the application.

Edit:
I just installed the latest Manjaro Linux in a VM, installed the configurator as mentioned above, and in Chromium it's working as designed as well. So as it stands, the cause of the problem is not the Configurator in my opinion.

danielperna84 avatar Jan 04 '21 22:01 danielperna84