fanglingsu / vimb

Vimb - the vim like browser is a webkit based web browser that behaves like the vimperator plugin for the firefox and usage paradigms from the great editor vim. The goal of vimb is to build a completely keyboard-driven, efficient and pleasurable browsing-experience.
https://fanglingsu.github.io/vimb/
GNU General Public License v3.0
1.34k stars 99 forks source link

PulseAudio sinks not released (used with Tabbed) #684

Closed machinedgod closed 2 years ago

machinedgod commented 2 years ago

Version: 3.6.0 WebKit compile: 2.26.2 WebKit run: 2.32.4 GTK compile: 3.24.13 GTK run: 3.24.30 libsoup compile: 2.68.3 libsoup run: 2.74.0 Extension dir: /usr/lib/vimb

Steps to reproduce

  1. Run Vimb nested inside Tabbed
  2. Open pages that produces sound (such as YouTube video)
  3. Close tabs

Expected behaviour

PulseAudio sinks are released and removed when page is closed

Actual behaviour

PulseAudio sinks keep piling up

Note

It is possible that this is somehow caused by being nested inside Tabbed (this might confuse PulseAudio), although I use the Ctrl-Q shortcut to tell Vimb to close itself.

Sadoon-AlBader commented 2 years ago

I also run vimb in tabbed but I do not have the same issue you have. As soon as I close the "tab", the sink is released. It looks like you've built vimb on a very old version of webkit and then proceeded to update, did you try make clean and then rebuilding and installing vimb from scratch?

machinedgod commented 2 years ago

It looks like you've built vimb on a very old version of webkit and then proceeded to update, did you try make clean and then rebuilding and installing vimb from scratch?

Hi, thank you for the tip! I haven't tried building my own version at all, I am just using official Arch package. I shall try that next and see if it solves the problem.

I didn't even know that webkit version in my build is old, I wonder if this is a cause of some of the other issues I'm having.

machinedgod commented 2 years ago

I did what was suggested (rather than installing Vimb from packages, I used AUR package to compile it from git souces, and link it against newer webkit2gtk version).

It fixed the problem :-) I am closing this issue.