Page 1 of 1

Montage/Monitors not working correctly in Firefox

Posted: Fri Apr 28, 2023 2:39 am
by JBE-Zorg
With the latest update (1.37.40~20230427104451-jammy), the montage and individual monitor pages aren't showing/updating properly in Firefox 112.0.2.
Zoneminder Montage - Firefox
Zoneminder Montage - Firefox
zm-montage.png (21.17 KiB) Viewed 1215 times
Images will sometimes pop up and go away, basically acting like it's just updating VERY slowly. The UI essentially appears to lock up and I can't click on anything once I enter montage.

Other menu options seem be working ok, just when trying to view a live image is when the problem shows itself.

Trying the same on Chrome / Edge, everything appears to work normally and the montage/monitors view functions as expected.

Not seeing anything in error log or Firefox Dev Tools that stands out.

Re: Montage/Monitors not working correctly in Firefox

Posted: Fri Apr 28, 2023 9:38 pm
by dougmccrary
Seems they broke multi-port. If you're using that...
1.36.33 is doing the same.
edit
Although that seems to be because 1.37 ate up most of ram. Restart and 1.36 ok again.

Re: Montage/Monitors not working correctly in Firefox

Posted: Sat Apr 29, 2023 12:51 am
by JBE-Zorg
So far, I've been able to narrow it down to something in the latest commit of MonitorStream.js. Replacing that file with the previous commit https://github.com/ZoneMinder/zoneminde ... rStream.js allows Montage to function as it did previously.

Re: Montage/Monitors not working correctly in Firefox

Posted: Sat Apr 29, 2023 2:33 am
by JBE-Zorg
Looks like Lines 156, 158 and 180 in MonitorStream.js (https://github.com/ZoneMinder/zoneminde ... #L156-L158) may be the offending bit of code. Commenting these out allows Montage to function normally in Firefox.

Re: Montage/Monitors not working correctly in Firefox

Posted: Tue May 02, 2023 7:01 am
by dougmccrary
Yes, seems to cure it.
Thank you.