LazeMSS / OctoPrint-UICustomizer

UI Customizer for octoprint
165 stars 18 forks source link

Webcam view closing #235

Closed NeilSM closed 2 years ago

NeilSM commented 2 years ago

Description

**ENTER DESCRIPTION HERE Describe your problem?

Plugins installed

UI Customizer settings

Software versions

Browser

LazeMSS commented 2 years ago

Whats the URL of you webcam stream?

Can you post a screenshot of how it looks when the web cam view has been closed?

NeilSM commented 2 years ago

The webcam doesn't disappear immediately, it's stays visible for 10 to 20 seconds.

Screenshot 2022-02-20 083046

NeilSM commented 2 years ago

the stream URL is /webcam/?action=stream

NeilSM commented 2 years ago

Also getting camera view duplication when swapping tabs: image

LazeMSS commented 2 years ago

Wauw. Do you have any custom CSS entered?

There must be something confusing my plugin. This should never happen. 🙈

NeilSM commented 2 years ago

Hi, no custom css, just the plugins listed. It started happening right after the last update.

LazeMSS commented 2 years ago

Yes but making a second copy should not be possible because it basically moves the webcam around.

Could you try and refresh your browsers cache by pressing shift+f5 but it should not happen.

Or if you know how could you use the developer console in the browser to inspect the dom for the webcam widget

CBDesignS commented 2 years ago

Yes but making a second copy should not be possible because it basically moves the webcam around.

Could you try and refresh your browsers cache by pressing shift+f5 but it should not happen.

Or if you know how could you use the developer console in the browser to inspect the dom for the webcam widget

I can second the double stream. It seems to happened if float screen (the work arround you mentioned in my bug report) and the stream is active in control tab then switch to a different tab it sometimes duplicates the stream window cam6 .

CBDesignS commented 2 years ago

not sure what info you want from browser debug.. the next img is after selecting the top webcam stream panel cam7 the next img is after selecting the 2nd bottom stream panel. cam8

Not sure if you can zoom into the images and read the contect of the debug info.

NeilSM commented 2 years ago

After updating my other octoprint server on my CR10 I get the same behaviour with a small difference, I get the "camera loading" message when it swap tabs. image

NeilSM commented 2 years ago

Update: the webcam sometimes will reload if you just stay on the tab, it can take a little while but it does come back. If you navigate back to the main tab it will also sometimes just reappear.

LazeMSS commented 2 years ago

@NeilSM and @CBDesignS having "Floating Navbar" installed could be a conflict but its not related to this issue.

But please try disabling pretty gcode ?

LazeMSS commented 2 years ago

This is a duplicate of #234 but keeping it open. I'm 99% sure the bug is related to prettygcode - I have submitted a bug report and a PR to fix it for that plugin (https://github.com/Kragrathea/OctoPrint-PrettyGCode/pull/135)

Until then you can use my the PR version pretty gcode by manual installing the plugin from: https://github.com/LazeMSS/OctoPrint-PrettyGCode/archive/refs/heads/id-bugfix.zip (for help see: https://plugins.octoprint.org/help/installation/ under "Via the URL and the Plugin Manager")

NeilSM commented 2 years ago

This is a duplicate of #234 but keeping it open. I'm 99% sure the bug is related to prettygcode - I have submitted a bug report and a PR to fix it for that plugin (Kragrathea/OctoPrint-PrettyGCode#135)

Until then you can use my the PR version pretty gcode by manual installing the plugin from: https://github.com/LazeMSS/OctoPrint-PrettyGCode/archive/refs/heads/id-bugfix.zip (for help see: https://plugins.octoprint.org/help/installation/ under "Via the URL and the Plugin Manager")

Brilliant, thanks for looking into this :) Not got the printers running today but will test it out as soon as I get a minute. N.

NeilSM commented 2 years ago

Disabled PrettyGcode and tested:

Installed code from your link, tested same as above and all working fine. Thank you.

LazeMSS commented 2 years ago

Should be fixed in https://github.com/LazeMSS/OctoPrint-UICustomizer/releases/tag/0.1.8.9 if not then please reopen this issue.