bitsy-ai / printnanny-os

Image repository, change logs, and issue tracking for PrintNanny OS
GNU Affero General Public License v3.0
23 stars 2 forks source link

Recording icon is active when camera is stopped #291

Closed leigh-johnson closed 1 year ago

leigh-johnson commented 1 year ago

Describe the bug

In the top menu bar, the recording icon appears active when the camera is stopped.

To Reproduce

What are the steps to reproduce the issue?

  1. Go to the camera page
  2. Start a recording
  3. Stop the recording
  4. Notice: recording icon is still shown in top navigation bar
  5. Refresh the page
  6. Notice: recording icon is still shown in top navigation bar

Expected behavior

Recording icon is only shown when recording is active.

Screenshots

Screenshot 2023-03-13 at 9 47 11 AM

Issue.txt

-----------------------
Build Info:  |
-----------------------
IMAGE_NAME = printnanny-release-image-raspberrypi4-64-20230312224858
DISTRO_PRETTY = PrintNanny Linux 0.6.6 (Feldspar)
VARIANT_NAME = PrintNanny OS Core
VARIANT_ID = core
DISTRO = printnanny
DISTRO_NAME = PrintNanny Linux
DISTRO_VERSION = 0.6.6
DISTRO_CODENAME = Feldspar
ID_LIKE = BitsyLinux
HOME_URL = https://printnanny.ai
BUG_REPORT_URL = https://github.com/bitsy-ai/printnanny-os/issues
YOCTO_VERSION = 4.1.2
YOCTO_CODENAME = Langdale
MACHINE = raspberrypi4-64
TUNE_PKGARCH = cortexa72
-----------------------
Layer Revisions:      |
-----------------------
meta              = langdale:f59aa3752dbc5552469207894bea9c01bd68fb6e
meta-poky         = langdale:f59aa3752dbc5552469207894bea9c01bd68fb6e
meta-yocto-bsp    = langdale:f59aa3752dbc5552469207894bea9c01bd68fb6e
meta-raspberrypi  = langdale-libcamera-fix:99f5a91d9d4b34ff8c214cf61cd12f375da1a76a
meta-oe           = langdale:f8cb46d803190bb02085c8a7d20957a71d32f311
meta-python       = langdale:f8cb46d803190bb02085c8a7d20957a71d32f311
meta-multimedia   = langdale:f8cb46d803190bb02085c8a7d20957a71d32f311
meta-bitsy        = main:c3194537c1d7df8d8449d1464cf5cef7a4ecf5b0
meta-neural-network = mickledore:f19fa74c2f4c868eda1c48d709b66848f9cca5e8
meta-printnanny   = main:c3194537c1d7df8d8449d1464cf5cef7a4ecf5b0
meta-networking   = langdale:f8cb46d803190bb02085c8a7d20957a71d32f311
meta-filesystems  = langdale:f8cb46d803190bb02085c8a7d20957a71d32f311
meta-initramfs    = langdale:f8cb46d803190bb02085c8a7d20957a71d32f311
meta-webserver    = langdale:f8cb46d803190bb02085c8a7d20957a71d32f311
meta-swupdate     = mickledore:c47a10be18412919f4c7041be05509ba97ac79f4
meta-microcontroller = mickledore:a848733698649628d0c3e34ae04ced0ee6ce3aee
workspace         = langdale:f59aa3752dbc5552469207894bea9c01bd68fb6e

paste issue.txt here



> ℹ️ You can find `/boot/issue.txt` on your SD card. You can also find the contents of `issue.txt` in OctoPrint's Settings > OctoPrint-Nanny > Report Issue tab.