Skip to content
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

[notifications] settings not applied #148

Open
despecial opened this issue Oct 6, 2019 · 18 comments
Open

[notifications] settings not applied #148

despecial opened this issue Oct 6, 2019 · 18 comments
Labels
bug Something isn't working unconfirmed

Comments

@despecial
Copy link

Desktop (please complete the following information):

  • Mac OS Mojave
  • Firefox 69.0.2

Describe the bug
Preferences set to:

  • Show a notification when the queue finished to false
  • Play sounds to false

Still get sound plus popup window when queue has finished

To Reproduce
Got to preferences and disable mentioned settings above

Expected behavior
No sound, no popup dialogue

Screenshots
Bildschirmfoto 2019-10-06 um 14 33 55

@nmaier
Copy link
Member

nmaier commented Oct 6, 2019

This works for me...

@despecial
Copy link
Author

Thats nice but not here. I get both the popup and the sound.

@nmaier
Copy link
Member

nmaier commented Oct 6, 2019

Do the settings actually stay the same (unchecked) after you a) reload the tab b) reload the extension (disable and enable again) and c) restart the browser?

@despecial
Copy link
Author

despecial commented Oct 6, 2019

a) reload tab
yes, same settings

b) enable/disable extension
yes, stay the same

c) restart browser
still, all settings stay the same

Test download queue: popup and sound playing

After changing the settings from off to on and then to off, the sound is gone but the popup stays

@nmaier nmaier added bug Something isn't working unconfirmed labels Oct 6, 2019
@nmaier
Copy link
Member

nmaier commented Oct 6, 2019

It's hard to fix this without being able to reproduce this, of course.

But I think I found an issue that could in theory cause this in certain browser configurations...

nmaier added a commit that referenced this issue Oct 6, 2019
@nmaier
Copy link
Member

nmaier commented Oct 6, 2019

I committed ^ something that may or may not fix the issue. At least it shouldn't break anything else.

It would be great if you could comment on whether this resolves it for you:

@despecial
Copy link
Author

Interesting. When I check the xpi file in my library I dont even see a libs folder.
This is what I see.
Bildschirmfoto 2019-10-06 um 22 51 24

As for the development version, I will check :) Thanks!

@nmaier
Copy link
Member

nmaier commented Oct 6, 2019

yes, the files in libs get transpiled from typescript into javascript that a browser actually understands, bundles up and placed into a few large javascript files in bundles

@despecial
Copy link
Author

I see, just wanted to edit the current xpi content and check if the change works.
But I guess the yarn way is more effective

@nmaier
Copy link
Member

nmaier commented Oct 6, 2019

And you cannot just modify the xpi anyway, as the browser will check for a valid signature from mozilla and any changes would turn the signature invalid,

@despecial
Copy link
Author

hanging on the build process. I dont have a global python3 env. Damn

@nmaier
Copy link
Member

nmaier commented Oct 6, 2019

You don't need to build at all if you just yarn, yarn watch + yarn webext

@despecial
Copy link
Author

Just updated to the new version. Set the options again, restartet the browser.
Still showing a popup notification plus sound. :(

@nmaier
Copy link
Member

nmaier commented Oct 10, 2019

So what I guessed might be the cause wasn't actually the cause. I'm out of ideas for now.

@despecial
Copy link
Author

Thanks for the effort though. Wondering if anyone else has this problem.
The settings show the correct values for the options but they seem not to be applied by the script.

@nmaier
Copy link
Member

nmaier commented Oct 10, 2019

Well, the one other bug report I marked duplicate of this one. Other than that, nobody reported the issue, not here or not by emailing me.

@msv6r
Copy link

msv6r commented Jun 24, 2020

I have also encountered the problem described by @despecial and @menma1234 running on Ubuntu 20.04.

@kpedro88
Copy link

This still happens for me (FF 117 on Win10). If I go to preferences, turn "Show a notification when the queue finishes downloading" back on, close the tab, reopen the preferences tab and deselect that option again, it is properly applied. However, upon restarting the browser, the setting is lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unconfirmed
Projects
None yet
Development

No branches or pull requests

4 participants