Azgaar / Fantasy-Map-Generator

Web application generating interactive and highly customizable maps

Home Page:https://azgaar.github.io/Fantasy-Map-Generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to save map, similar to #987

revsys413 opened this issue · comments

Describe the bug

Error message appears when attempting to save map with any of the three options, similar to issue #987. Second, seemingly related error message pops up after attempting to Retry. Message, system, and browser are different so new report worth making.

Steps to reproduce

  1. Click triangle button in the corner, if the menu isn't already open
  2. Click bolded Save text at the bottom of the menu, in any tab
  3. Select any of the three options presented, besides Close
  4. For the second part of the bug, click Retry in the opened dialog box

Expected behavior

I expected to be able to save my map as a file as per normal program function.

.map file

(.map file unattachable for obvious reasons)

Screenshots

image
image

Plain-text error messages:
ReferenceError: CompressionStream is not defined compressData@save.js?v=1.93.00:209:57 saveMap@save.js?v=1.93.00:9:37 onclick@:1:8
ReferenceError: CompressionStream is not defined compressData@save.js?v=1.93.00:209:57 saveMap@save.js?v=1.93.00:9:37 Retry@save.js?v=1.93.00:29:18 _createButtons/jquery-ui.min.js:1:102587 dispatch@jquery-3.1.1.min.js:3:10315 add/q.handle@jquery-3.1.1.min.js:3:8342

System

  • Version: v1.93.01
  • Browser: Waterfox G5.1.10 (64-bit)
  • OS: Windows 10 Home 10.0.19045 Build 19045
commented

Hello @revsys413,
Is it happening on other browsers? It looks this one doesn't support the compression.
I can make the compression optional, but want to understand how many users have the issue.

I don't know if possible but we can use a polyfill like 101arrowz/compression-streams-polyfill

commented

Compression is rolled back, now it should work as before

commented

I don't know if possible but we can use a polyfill like 101arrowz/compression-streams-polyfill

We probably can, but it won't solve the other issue - compression/decompression is slow on big maps, so we cannot use it as a main method.