addons icon indicating copy to clipboard operation
addons copied to clipboard

File editor: resizing browser reloads file

Open ReenigneArcher opened this issue 2 years ago • 10 comments

Describe the issue you are experiencing

Resizing the browser (snapping it to a corner/edge/etc), causes the loaded file to be reloaded... thus losing any unsaved changes.

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

Which add-on are you reporting an issue with?

File editor

What is the version of the add-on?

5.6.0

Steps to reproduce the issue

  1. Open file
  2. Make changes
  3. Resize/snap browser to edge of screen

System Health information

System Information

version core-2023.7.3
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.11.4
os_name Linux
os_version 6.1.34
arch x86_64
timezone America/New_York
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4895
Installed Version 1.32.1
Stage running
Available Repositories 1261
Downloaded Repositories 12
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 10.3
update_channel stable
supervisor_version supervisor-2023.07.1
agent_version 1.5.1
docker_version 23.0.6
disk_total 30.8 GB
disk_used 13.9 GB
healthy true
supported true
board ova
supervisor_api ok
version_api ok
installed_addons Samba share (10.0.2), Duck DNS (1.15.0), File editor (5.6.0), phpMyAdmin (0.8.7), MariaDB (2.6.1), Nginx Proxy Manager (0.12.3), Check Home Assistant configuration (3.11.0), ADB - Android Debug Bridge (0.8.0), AdGuard Home (4.8.12), Network UPS Tools (0.12.0), motionEye (0.19.1), AppDaemon (0.13.3), Z-Wave JS (0.1.84), Advanced SSH & Web Terminal (15.0.5)
Dashboards
dashboards 3
resources 11
views 23
mode storage
Recorder
oldest_recorder_run July 17, 2023 at 8:48 PM
current_recorder_run July 24, 2023 at 2:08 PM
estimated_db_size 190.50 MiB
database_engine mysql
database_version 10.6.12

Anything in the Supervisor logs that might be useful for us?

No response

Anything in the add-on logs that might be useful for us?

No response

Additional information

No response

ReenigneArcher avatar Jul 24 '23 18:07 ReenigneArcher

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[bot] avatar Aug 23 '23 19:08 github-actions[bot]

bump

ReenigneArcher avatar Aug 23 '23 19:08 ReenigneArcher

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[bot] avatar Sep 22 '23 20:09 github-actions[bot]

Working now 🤷‍♂️

ReenigneArcher avatar Sep 22 '23 21:09 ReenigneArcher

Editor discards not saved edits, when browser window is resized. Lost my work because of that.

File editor - Current version: 5.7.0 (Changelog) Started in Chrome Version 120.0.6099.225 (Official Build) (64-bit)

Shall be re-opened, @ReenigneArcher?

0anton avatar Feb 05 '24 11:02 0anton

Yes, it looks to still be an issue... but does now require going to/from a very narrow browser window, instead of just any resize.

ReenigneArcher avatar Feb 05 '24 14:02 ReenigneArcher

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[bot] avatar Mar 06 '24 15:03 github-actions[bot]

bump

ReenigneArcher avatar Mar 06 '24 15:03 ReenigneArcher

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[bot] avatar Apr 05 '24 16:04 github-actions[bot]

It's still relevant.

0anton avatar Apr 06 '24 06:04 0anton

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[bot] avatar May 06 '24 07:05 github-actions[bot]