[Pkg-mozext-maintainers] Bug#971693: webext-ublock-origin-firefox not compatible with non-empty user.js file
On Mon, 5 Oct 2020 21:02:09 +0200 Markus Koschany wrote: > Hello, Hello Markus, Thanks for replying. > I have searched for a solution for this kind of problem but the more I > dig into it the more I come to the conclusion that this kind of > behavior is intentional. If you normally install addons via Firefox' > addon feature, Firefox will tell you to restart the browser when you > make an upgrade. It is comparable to Debian upgrades, some of them > may require a restart and it can't be avoided. > > Regarding the user.js file: I have just created one in my profile > directory with a single line to change a setting, but I couldn't > reproduce this problem on Firefox 78.3 with uBo 1.30.0 in stable. My > workaround would be: save all your uBo settings (if you have made any > changes, better safe than sorry), shut down Firefox, then remove > user.js. Then restart Firefox and try to enable/disable the addon > again. Afterwards you can readd your custom user.js file. If I do this with my current profile, it fails, even before re-enabling the custom user.js file. If I create a fresh new profile, uBo is active. Then I close the browser and copy the preferences I need directly to the pref.js file at the end (instead of user.js), and restart the browser: - the preferences are accepted (checked in about:config), - and uBo remains active. But if after I create a user.js file with one only single preference, even with a default one like browser.cache.disk.enable (set to true), it fails. And surprisingly, it fails again after removing the user.js file. It seems to be related to the user.js file whatever the preferences inside. And is irreversible. It can be circumvented by adding all custom preferences to the pref.js only (and saving the most important one elsewhere) without creating a user.js file. > > If you send me your user.js file I can try to reproduce the problem in > unstable tomorrow. Any preference triggers the problem and one is enough. You can test this one for example (I gave another example above): user_pref("browser.tabs.tabMinWidth", 80); If you do this, consider to use a fresh new profile. > > There is also an addon debug mode for Firefox. This one allows you to > skip restarts and you can make modifications to Firefox and your addon > which get instantly applied. I will try that, but the most likely, I will stick to the normal addon from the addon firefox feature. Just one more remark: I met the same problem with webext-keepassxc-browser since 81.0 firefox version. Best regards Pascal ___ Pkg-mozext-maintainers mailing list Pkg-mozext-maintainers@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-mozext-maintainers
[Pkg-mozext-maintainers] Bug#971693: webext-ublock-origin-firefox not compatible with non-empty user.js file
Hello, On Mon, 05 Oct 2020 09:58:26 +0200 pdorm...@free.fr wrote: > Package: webext-ublock-origin-firefox > Version: 1.30.0+dfsg-1 > Severity: normal > > Dear Maintainer, > > The bug is similar to #969123: ublock-origin is not started unless disabling > and re-enabling the addon or creating a new profile. But the latter fails as > soon as a user.js is filled with some preference properties (I tested all kind > of properties, it fails as soon as user.js is non empty). I have searched for a solution for this kind of problem but the more I dig into it the more I come to the conclusion that this kind of behavior is intentional. If you normally install addons via Firefox' addon feature, Firefox will tell you to restart the browser when you make an upgrade. It is comparable to Debian upgrades, some of them may require a restart and it can't be avoided. Regarding the user.js file: I have just created one in my profile directory with a single line to change a setting, but I couldn't reproduce this problem on Firefox 78.3 with uBo 1.30.0 in stable. My workaround would be: save all your uBo settings (if you have made any changes, better safe than sorry), shut down Firefox, then remove user.js. Then restart Firefox and try to enable/disable the addon again. Afterwards you can readd your custom user.js file. If you send me your user.js file I can try to reproduce the problem in unstable tomorrow. There is also an addon debug mode for Firefox. This one allows you to skip restarts and you can make modifications to Firefox and your addon which get instantly applied. Regards, Markus signature.asc Description: OpenPGP digital signature ___ Pkg-mozext-maintainers mailing list Pkg-mozext-maintainers@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-mozext-maintainers
[Pkg-mozext-maintainers] Bug#971693: webext-ublock-origin-firefox not compatible with non-empty user.js file
Package: webext-ublock-origin-firefox Version: 1.30.0+dfsg-1 Severity: normal Dear Maintainer, The bug is similar to #969123: ublock-origin is not started unless disabling and re-enabling the addon or creating a new profile. But the latter fails as soon as a user.js is filled with some preference properties (I tested all kind of properties, it fails as soon as user.js is non empty). Best regards -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (990, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 5.8.0-2-amd64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_USER Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled webext-ublock-origin-firefox depends on no packages. Versions of packages webext-ublock-origin-firefox recommends: ii firefox 81.0-2 Versions of packages webext-ublock-origin-firefox suggests: pn ublock-origin-doc -- no debconf information ___ Pkg-mozext-maintainers mailing list Pkg-mozext-maintainers@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-mozext-maintainers