From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4DZLFvHpaF8HSQAA0tVLHw (envelope-from ) for ; Mon, 21 Sep 2020 17:59:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id WJY7EvHpaF9iHAAA1q6Kng (envelope-from ) for ; Mon, 21 Sep 2020 17:59:13 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DA81D9400C7 for ; Mon, 21 Sep 2020 17:59:12 +0000 (UTC) Received: from localhost ([::1]:47220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kKQ5n-00042o-NV for larch@yhetil.org; Mon, 21 Sep 2020 13:59:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49058) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKQ2k-00082o-To for bug-guix@gnu.org; Mon, 21 Sep 2020 13:56:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44581) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kKQ2k-0001wp-JN for bug-guix@gnu.org; Mon, 21 Sep 2020 13:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kKQ2k-0003pp-GM for bug-guix@gnu.org; Mon, 21 Sep 2020 13:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#43487: icecat store names in user profiles break bundled addons Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 21 Sep 2020 17:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43487 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Andreas Enge Received: via spool by 43487-submit@debbugs.gnu.org id=B43487.160071091114676 (code B ref 43487); Mon, 21 Sep 2020 17:56:02 +0000 Received: (at 43487) by debbugs.gnu.org; 21 Sep 2020 17:55:11 +0000 Received: from localhost ([127.0.0.1]:56127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKQ1v-0003oZ-Bm for submit@debbugs.gnu.org; Mon, 21 Sep 2020 13:55:11 -0400 Received: from world.peace.net ([64.112.178.59]:36222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKQ1t-0003o0-Qs for 43487@debbugs.gnu.org; Mon, 21 Sep 2020 13:55:10 -0400 Received: from mhw by world.peace.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kKQ1n-00030I-DB; Mon, 21 Sep 2020 13:55:03 -0400 From: Mark H Weaver In-Reply-To: <20200921131648.GA15766@jurong> References: <87a6xn8tr6.fsf@netris.org> <20200921131648.GA15766@jurong> Date: Mon, 21 Sep 2020 13:53:36 -0400 Message-ID: <87tuvrvww4.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 43487@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: 4bjQF2drNNIs Hi Andreas, Andreas Enge writes: > On Fri, Sep 18, 2020 at 02:48:34AM -0400, Mark H Weaver wrote: >> To temporarily fix these problems while retaining most of your user >> data, one option is to press the "Refresh IceCat=E2=80=A6" button in >> . Choosing this option will reset all your preferences >> and addons to the IceCat defaults, but allows you to preserve the rest >> of your data, including your bookmarks, browser history, cookies, saved >> passwords, and your open tabs. > > thanks for this (very hidden) work-around. I confirm that it has worked > very well for me. I'm glad to hear it! > And I would just like to mention a (not problematic) > caveat: "reset your addons" also includes removing additional add-ons > installed by the user. Yes, thanks for clarifying that point. >> A proper fix will likely involve modifying the relevant code in IceCat >> to either avoid storing the full file names in extensions.json, or else >> to detect them on startup and automatically "refresh" them as needed. > > So refreshing in the above sense should not be done without asking the > user first. Agreed. When I wrote of implementing an "automatic refresh", I meant something very different and much more limited than what "Refresh IceCat" in does: I meant merely to refresh the embedded store names in the user profile to be valid again, without modifying any user customizations. Additionally, if a bundled extension was not explicitly disabled by the user, but became nonfunctional due to this bug, I would like the yet-to-written new code to do what is needed to make it functional again. Also, when IceCat is updated, any bundled extensions should be automatically updated as well. However, any bundled extensions that the user explicitly disabled should stay disabled. Does that make sense? Thanks! Mark