ContextSearch-web-ext icon indicating copy to clipboard operation
ContextSearch-web-ext copied to clipboard

ContextSearch extension randomly breaks and requires a reinstall

Open killpotts opened this issue 2 years ago • 2 comments

Hi, I am using Waterfox and ever since version G5.1.2 ContexSearch now has a random chance to completely self-bork when Waterfox is closed. Upon reopening Waterfox when this happens, the extension will no longer function in any way ( Clicking Toolbar button does nothing, extension settings shows a blank white page, menu no longer exists in right-click, basically 100% borked. )

The only way to fix this is to completely reinstall the extension, however this loses all data any so I have to rebuild search engines from scratch. This has happened three times since G5.1.2 and upgrading to the beta does not fix it. Any idea what's going on? This is a great extension, but at the moment it is far too unstable to be used.

killpotts avatar Sep 06 '23 16:09 killpotts

I'll try to play around with waterfox, but there's no certainty I'll see the bug you are seeing. You might try inspecting this addon through about:debugging#/runtime/this-firefox and see what errors pop up when the addon is loaded. I suspect some kind of config corruption, but there's no way to tell unless I see the bug as well.

If you find a repeatable method for crashing the addon on next launch, let me know.

ssborbis avatar Sep 07 '23 05:09 ssborbis

I discovered a bug related to site search engines that causes the user config to not load properly. It may only show up after using a legacy-style site engine, corrupting the node tree, and cause the next session to fail. I can't say for sure that's the problem you've been seeing, but if so, update 1.46.21 should fix it by correctly repairing the node tree on launch.

ssborbis avatar Oct 01 '23 07:10 ssborbis