Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about:config changes not setting #578

Closed
NyxStrong opened this issue Oct 7, 2024 · 7 comments
Closed

about:config changes not setting #578

NyxStrong opened this issue Oct 7, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@NyxStrong
Copy link

Description

When adding media.cubeb.backend to about:config and setting it to a string "alsa", the audio backend the pwa is using won't switch even after a restart of the app. I need to set this to stop firefox from changing it's own audio levels when a new song starts in youtube music after I change it via pipewire. It worked in Zen Browser as well as base firefox

Steps to Reproduce

  1. go to about:config
  2. Set media.cubeb.backed to "alse
  3. Restart the PWA
  4. Play and audio source and it will still be set to pulseaudio

Additional Information

image
image

Environment

  • Operating system: Arch linux
  • System architecture: x86-64
  • Desktop environment: Gnome
  • Installation method: AUR
  • PWAsForFirefox extension version: 2.12.5
  • PWAsForFirefox native version: 2.12.5
  • PWAsForFirefox runtime version: 2.12.5
  • Firefox version: 131.0
@NyxStrong NyxStrong added the bug Something isn't working label Oct 7, 2024
@filips123
Copy link
Owner

Please download Firefox from here and check if it works in this version.

@NyxStrong
Copy link
Author

it doesn't work with that firefox either

@NyxStrong
Copy link
Author

NyxStrong commented Oct 7, 2024

probably cause the arch build includes

# Features
ac_add_options --enable-alsa
ac_add_options --enable-jack

@filips123
Copy link
Owner

Well, if the official Firefox build does not enable ALSA, I cannot do much to support it.

You can manually copy the Arch version (from /usr/lib/firefox or similar) into $HOME/.local/share/firefoxpwa/runtime/. alternatively, you can also use the linked runtime feature (#403), but you will have to manually enable the feature when building.

@NyxStrong
Copy link
Author

I'll probably just work on manual copying for now. Is there a reason that's a compile flag and not just an config option?

@NyxStrong
Copy link
Author

manually copying the firefox binary wouldn't work, i copied it over and then hit patch on the extention but not matter what i just opened up a normal firefox window using the profile's environment

@filips123
Copy link
Owner

filips123 commented Oct 9, 2024

Is there a reason that's a compile flag and not just an config option?

I guess it's experimental or not fully supported?

manually copying the firefox binary wouldn't work, i copied it over and then hit patch

Please try to first clear that runtime directory, copy the Arch version (not just the binary, but also all content), and make sure that the directory is writable by your user. Then, try to run "Patch profiles and runtime" from the extension settings again (or firefoxpwa runtime patch from the terminal).

Repository owner locked and limited conversation to collaborators Oct 23, 2024
@filips123 filips123 converted this issue into discussion #583 Oct 23, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants