kickscondor / fraidycat

Follow blogs, wikis, YouTube channels, as well as accounts on Twitter, Instagram, etc. from a single page.
Other
1.76k stars 56 forks source link

Fraidycat is amnesic (loss of all settings, perhaps temporarily?) #208

Open insanity54 opened 3 years ago

insanity54 commented 3 years ago

Before you start.

Desktop

Describe the bug I've been using Fraidycat in Brave for several months and it's been great.

Recently, I've noticed a problem with Fraidycat becoming amnesic. I'll open Fraidycat, and none of my followed feeds are present. It's as if Fraidycat has factory reset itself, and I see the default message, "Let's get Fraidycat going, yeah? Click the + button to add someone!(...)"

The first time I saw this issue, I thought a reinstall would help. I removed Fraidycat extension from my browser, then installed, then one by one manually added the twitter feeds I had followed previously. Everything was fine for a few days, but today when I opened Brave and then Fraidycat, Fraidycat had lost all it's settings again.

No idea how to troubleshoot past a reinstall of the extension.

kickscondor commented 3 years ago

I don't use Brave much - so hard to say what's going on. A few starter questions:

Oh and thank you for reporting this! I'd like Fraidycat to work well on Brave.

insanity54 commented 3 years ago

If you give it time, do your feeds show up?

The first time I saw this issue occur, I recall a subset of my feeds returning. Lately, I haven't been patient enough to wait and see.

Are you using browser sync?

Negative. I got paranoid about security a few months ago, so it's currently not set up. Sync was enabled previously, though. I'm unsure if my Sync usage overlapped the time when I have used Fraidycat.

Oh and thank you for reporting this! I'd like Fraidycat to work well on Brave.

Cool beans! I'm happy to hear that. I've previously enjoyed Fraidycat in Firefox, and I'd be happy to help test Fraidycat in Brave browser. I installed standalone Fraidycat as a temporary workaround for ingesting my news, so I'll reinstall Fraidycat in Brave and see if I can better answer your first question.

newterritories commented 3 years ago

Hello, I just wanted to chime in and say I had a loss of the majority of my feeds (but not ALL?) in the past week, on Google Chrome on a Mac. I am a big fan of Fraidycat and have been using it in Chrome since maybe last summer, and loaded in a few different categories of "Blogs", "VIP Twitter", "Reddits", etc... and now the Blogs only have 2 instead of the original 15 I was following, and Reddits is completely gone... Can you help? Thank you! Samantha

kickscondor commented 3 years ago

Ok - this is very troubling. Let me find some time to address this over the weekend. Thank you for taking the time to let me know!

newterritories commented 3 years ago

Hi I just checked yesterday and settings are BACK! I’m not sure what happened, but seems to all be back to normal with my account. Thank you!

idmyn commented 3 years ago

I've also seen this happen to fraidycat installs on brave. In my experience it works fine for a couple of weeks/months and then one day everything is gone. It happened to me just now and after doing a JSON full import only one feed showed up. Really odd 🤔 Happy to help debug! (p.s. love the extension)

adilosa commented 3 years ago

fwiw this has just happened for me on the Mac desktop app. JSON export and HTML export show different subsets of only some of my follows.

the 🏠 tab is now empty showing the default "Let's get Fraidycat going, yeah?", and only some follows in only one of my other tabs remains. in fact, a follow I just recently added to 🏠 since this issue started is now also gone.

I'm on 1.1.7, which I upgraded to recently

adilosa commented 3 years ago

So, I opened up my Firefox version to export my feeds from that one. Interestingly, I observed the same behavior all of a sudden - but the version where all the feeds eventually load in. At the start, only the same two tags were there: 🏠 and "Engineering Blogs".

I note that the only tag it loaded in both cases, is also my only tag with a space " " in the name. It's an old tag from back when that was allowed. Might be something there?

edit: it also happens to be just my "first" tag. I got rid of the one with the space in it, and a similar behavior occurs on load now. that tag loads first, then eventually all the others do

nikonikoniko commented 3 years ago

Hello - I can also confirm this behaviour happening on (arch) linux desktop, installed through the AUR https://aur.archlinux.org/packages/fraidycat-git/

Opening fraidycat, adding some feeds, and closing it again does not retain any changes. When I open it again I am greeted with an unconfigured window.

kickscondor commented 3 years ago

Ok I've submitted an initial fix to this - is out now for Firefox and Brave. Give it a go! May need to do more work to improve this - but should be a good start.

jordanthornquest commented 3 years ago

I've also run into this issue on the macOS Electron application (v1.1.7). Checking the Application Support data, it appears my feeds are all present as expected in feeds.json and social.json, and the feeds are also present in feeds/ as individual JSON files. However, only a handful of these feeds are loading into the application on launch.

omentic commented 3 years ago

My experience with this has been that it consistently happens when I'm not connected to the internet and launch Chromium, and fixes itself after relaunching the browser while connected to the internet.

link2xt commented 1 year ago

I think the reason is that Window.localStorage API is used instead of WebExtensions storage.

The documentation says:

Although this API is similar to Window.localStorage it is recommended that you don't use Window.localStorage in the extension code to store extension-related data. Firefox will clear data stored by extensions using the localStorage API in various scenarios where users clear their browsing history and data for privacy reasons, while data saved using the storage.local API will be correctly persisted in these scenarios.