cross-posted from: https://sh.itjust.works/post/53430732

When I check my battery, it says "Librewolf is currently blocking sleep and screen locking (Playing audio)". This happens even when there is no audio playing. What's causing this, how do I fix it?

all 6 comments

sorted by: hot top controversial new old
[–] 12 points 9 months ago (2 children)

Most likely, some web page is playing an ad, a video or some audio stream, but without sound activated.

That, or a bug where the block was not removed after being put in place for some stream.

  • source
  • hideshow 2 child comments
  • [–] [S] 2 points 9 months ago (1 child)

    There are no ads in Librewolf, Ublock Origin is installed by default.

    When I tested this, I only loaded one page that could play videos, so nothing is playing in the background.

    The same thing happens on Firefox.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 9 months ago*

    There are no ads in Librewolf, Ublock Origin is installed by default.

    Not as simple as that and not 100%. Anyway.

    If you go to about:preferences, search for autoplay and go to Autoplay Settings, can you confirm default is Block Audio and Video and no exceptions interfering?

    If ensuring that doesn't help, would you be able to share a URL that triggers this behavior?

  • source
  • parent
  • [–] [S] 1 point 9 months ago (2 children)

    This is a comment I posted on the other community.

    Yes, librewolf is running. I intentionally have it open. But there is no audio playing.
    When I kill the process, it does not unblock, even though there is no librewolf process left.
    When I reboot the computer and restart librewolf, it does not block.
    When I play a video in the browser, it blocks again.
    When I close that tab, it is still blocked.
    When I close the browser, it is still blocked, even though there is no librewolf process left.
    (This is the Flatpak version, if that helps)

  • source
  • hideshow 2 child comments
  • 5 comments in c/librewolf@programming.dev view that post
    [–] 1 point 9 months ago (4 children)

    Stupid question, is there still a librewolf process running? Have you tried killing it? Does that free up the system suspend state?

  • source
  • hideshow 4 child comments
  • [–] [S] 8 points 9 months ago (3 children)

    Yes, librewolf is running. I intentionally have it open. But there is no audio playing.

    When I kill the process, it does not unblock, even though there is no librewolf process left.

    When I reboot the computer and restart librewolf, it does not block.

    When I play a video in the browser, it blocks again.

    When I close that tab, it is still blocked.

    When I close the browser, it is still blocked, even though there is no librewolf process left.

    (This is the Flatpak version, if that helps)

  • source
  • parent
  • hideshow 3 child comments
  • [–] 5 points 9 months ago (2 children)

    Is it possible for you to try the appimage, or the binary built for you OS, like installing the rpm if using fedora?

    If this happens there too, maybe there is some issue with your KDE. If it does not, check if the flatpak version has some addon which might be the reason.

    In either case, you should file a bug report.

    You can also try installing the plasma integration addon which can connect the browser and the KDE system, and see if this problem goes away.

  • source
  • parent
  • hideshow 2 child comments