FormerLurker / Octolapse

Stabilized timelapses for Octoprint
GNU Affero General Public License v3.0
638 stars 99 forks source link

Octolapse plan modal becomes invisible but doesn't reset click blocking, UI is unusable, browser must be refreshed #769

Open blast-hardcheese opened 3 years ago

blast-hardcheese commented 3 years ago

If this is a feature request describe it here

_REPLACE_THISFEATURE_REQUEST_DESCRIPTION_GOES_HERE

Version of Octolapse

Octolapse Version: 0.4.1

Version of OctoPrint

OctoPrint Version: 1.6.1

When you ran into the problem, did you have diagnostic logging enabled?

Diagnostic Logging was Enabled: no

What were you doing when the problem occurred

  1. Navigate to the #control navigation slug (http://.../#control)
  2. Switch away from the tab
  3. Start a print job via your slicer, wait for the planning to auto-close
  4. Switch back to the tab

What should have happened?

Octoprint should have continued working normally

What happened instead?

I couldn't click on anything in the octoprint web UI, the developer settings shows the plan modal (octolapse_snapshot_plan_preview_dialog) was hidden but present in the element list with modal-scrollable blocking all clicks.

Operating System running OctoPrint and Octolapse

OS Name: Linux Os Version: Linux raspberrypi 5.10.60-v7l+ #1449 SMP Wed Aug 25 15:00:44 BST 2021 armv7l GNU/Linux

Printer model & used firmware incl. version

Printer Model: _REPLACE_THISPRINTER_MODEL_GOES_HERE Printer Firmware Version: _REPLACE_THISPRINTER_FIRMWARE_VERSION_GOES_HERE

Browser and version of browser, operating system running browser

Browser: Google Chrome (Version 94.0.4606.71 (Official Build) (x86_64)) Browser OS: MacOS

Link to the gcode file you were printing when the problem occurred

Link to Gcode File: _REPLACE_THISGCODE_FILE_LINK_GOES_HERE

Link to settings.json

Link to settings.json with all passwords removed: _REPLACE_THISSETTINGS_JSON_LINK_GOES_HERE

Link to plugin_octolapse.log

Link to plugin_octolapse.log: https://gist.github.com/blast-hardcheese/c8e671facf73c927dfed50d43d0ea17a

Link to octoprint.log

Link to octoprint.log: https://gist.github.com/blast-hardcheese/bc3ec839d561c23cd9ce6761ecee7cb0

Link to contents of Javascript console in the browser

Link to javascript console output: https://gist.github.com/blast-hardcheese/b1fb2dfb5472d42a4329aae0d60c7fac

Screenshots and/or videos of the problem:

Screenshot/Video Links: image

Please consider becoming a patron

If you like this project, please support my work by becoming a patron, and consider adding a 'star' to the repository. It takes a lot of time and effort to maintain the project and respond to issues. The cost of test prints, software, cameras, printer parts, etc. can quickly add up, so every bit helps.

You can find various videos and tutorials by subscribing to my Youtube channel. You can also follow me on Twitter.

blast-hardcheese commented 3 years ago

Note, this has happened a few times

FormerLurker commented 3 years ago

Thanks for the report. I will take a look. I don't have access to a mac, so hopefully it's something obvious and not specific to that particular browser :)

blast-hardcheese commented 3 years ago

I would hope this is not Mac specific, but happy to test if so. When I get back from a vacation I can try to tighten down the exact reproduction steps if the JS console logs don't make the problem immediately apparent.