Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Bug JavaScript

A topic by Wenrexa created Oct 14, 2021 Views: 343 Replies: 8
Viewing posts 1 to 6

Strange bug in JavaScript or browser. This did not happen before, but after the release of new versions of FireFox 89-93, strange glitches began to occur if you first click on an empty asset editing field and then click (Save). Then the browser executes the script on Itch and the entire browser becomes striped and does not function. This is solved by crashing random FireFox processes in the manager.

But I think it's JavaScript that's doing something wrong.

I also noticed that every time I edit fields or add my Html, regardless of the rules, Itch adds to all blocks even <Div> adds to the <p> block, which is incorrect and breaks the layout.

For example, when adding a lot of asset widgets, it creates Margin and Padding for each block automatically and adds new lines each time <p></p> it does this a large number of times in empty spaces.

I have noticed for a long time that it is very difficult to edit WYSIWYG, he redoes everything in his own way and does it not well.

Can you, will you change this bug?

Make it possible to edit your style for different elements within the product page itself. So that your styles can't be !important with the author's styles. In other words (I want to make my own page style, but I can't set any elements in the available editable field. For example, I can't set my margin, padding, color, etc. It is very difficult to do this, since the editor changes something all the time and redoes it himself.

For example, if you add a picture and then a second one, then he will add his own after saving the code.

For example, if I now decide to delete one letter anywhere, then the entire page will be redone by an automatic validator and the whole view will deteriorate.
https://itch.io/game/edit/821418#published

Admin

Can you describe the steps to reproduce more specifically?

Additionally, ensure that you aren’t using any browser extensions that might interfere with the page.

(2 edits)

1. Install FireFox 93.0 x64 En browser. (All plugins are disabled)
2. Log in to your account ITCH.IO .
3. Go to any pages of your projects, assets or games. In my case for example:
https://wenrexa.itch.io/cursors6
4. Click the "Published" button
5. Left-click on the window (Details - Editable field project description)
6. Write any text, click on it and then on the window and again on the field.
7. Click on the red button at the top of the "Save" screen.
8. Result: in some cases it will save fine, but in others your browser will freeze and a black window with strange stripes will form.

Admin (3 edits)

I haven’t had a chance to fully test it yet, but that sounds like some kind of graphics driver failure, if it’s corrupting the whole window. Perhaps you can attempt to disable hardware acceleration in the browser to see if that makes any difference. What operating system are you on?

(1 edit)
I think that's not the case.

there was no such bug, I assume that this began to happen after new updates to the FireFox browser. This does not occur in other browsers. But it's still strange that he reacts at this very moment (pressing the Save button).

Windows 10.