crittermike / shortkeys

A browser extension for custom keyboard shortcuts
https://www.shortkeys.app/
Other
1.02k stars 163 forks source link

Shortkeys intermittently losing JavaScript snippets on restart and Google Chrome crashes #387

Open aresnick opened 4 years ago

aresnick commented 4 years ago

Not sure what the best information to include for reproduction is, but over the past two months ShortKeys has repeatedly and silently lost my keybindings for a variety of JavaScript snippets. I'm not sure when the behavior began, but I noticed it sometime after the recent visual refresh. Since then, on several occasions when normally quitting Chrome or when Chrome has crashed and been restarted, I've found all of my ShortKeys snippets gone.

Running macOS Catalina v10.15.7 with Google Chrome Version 86.0.4240.198 (x86_64).

Any hints as to how to debug or capture more useful information for this issue would be appreciated!

crittermike commented 4 years ago

Well this is concerning. This is the first report I've seen of this. Can you give me a rough idea of how often it's happening? Once a week? More/less?

Also, is there any chance that you have an extension or a Chrome setting which is clearing your preferences/storage each time Chrome quits? I've seen that in the past - people set it up so that Chrome clears everything out with each reload (history, cookies, etc.) and don't realize that doing so also clears extension preferences.

aresnick commented 4 years ago

It's probably happened four or five times in the past two months? Often enough that I started backing up my snippets with the Export 😋

Ah, that's interesting about the clearing preferences/storage. I didn't realize that. I'd be a little bit surprised if it was a browser setting, since I have it syncing to my Google account, but here are the current settings which may be relevant…

image

Here is what the "Clear browsing data" setting looks like, though I don't believe this executes on quit, and I don't use it: image image image

And here are my current extensions via chrome://system/; I don't believe any of them clear preferences/storage on quit or similar though:

aapocclcgogkmnckokdopfmhonfmgoek : Slides : version 0_10
ahfgeienlihckogmohjhadlkjgocpleb : Web Store : version 0_2
akmmhbokbfhghenajahbcmogcbghiamg : YouTube Liberation: Anti-Distraction Skin : version 0_1_4
aohghmighlieiainnegkcijnfilokake : Docs : version 0_10
aomjjhallfgjeglblehebfpbcfeobpgk : 1Password extension (desktop app required) : version 4_7_5_90
apdfllckaahabafndbhieahigkjlhalf : Google Drive : version 14_5
bdakmnplckeopfghnlpocafcepegjeap : RescueTime for Chrome and Chrome OS : version 3_2_10
blpcfgokakmgnkcojhhkbfbldkacnbeo : YouTube : version 4_2_8
chphlpgkkbolifaimnlloiipkdnihall : OneTab : version 1_35
cjpalhdlnbpafiamejdnhcphjbkeiagm : uBlock Origin : version 1_31_0
dbepggeogbaibhgnhhndojpepiihcmeb : Vimium : version 1_66
dpjamkmjmigaoobjbekmfgabipmfilij : Empty New Tab Page : version 1_2_0
ejddcgojdblidajhngkogefpkknnebdh : AutoplayStopper : version 1_8_1
felcaaldnbdncclmgdcncolpebgiejap : Sheets : version 1_2
fngmhnnpilhplaeedifhccceomclgfbg : EditThisCookie : version 1_6_3
gfdkimpbcpahaombhbimeihdjnejgicl : Feedback : version 1_0
iaefpjibipfaofmigecedfapfgplmplo : Autohide Downloads Bar : version 1_3
iahnhfdhidomcpggpaimmmahffihkfnj : JSON-handle : version 0_6_2
icdipabjmbhpdkjaihfjoikhjjeneebd : Kindle Cloud Reader : version 1_7_0_1
imgohncinckhbblnlmaedahepnnpmdma : Google Duo : version 2020_4_14_1036
kmendfapggjehodndflmmgagdbamhnfd : CryptoTokenExtension : version 0_9_74
knheggckgoiihginacbkhaalnibhilkk : Notion Web Clipper : version 0_2_3
lfpjkncokllnfokkgpkobnkbkmelfefj : Linkclump : version 2_9_1
logpjaacgmcbpdkdchjiaagddngobkck : Shortkeys (Custom Keyboard Shortcuts) : version 4_0_1
mfehgcgbbipciphmccgaenjidiccnmng : Cloud Print : version 0_1
mhjfbmdgcfjbbpaeojofohoefgiehjai : Chrome PDF Viewer : version 1
neajdppkdcdipfabeoofebfddakdcjhd : Google Network Speech : version 1_0
nffaoalbilbmmfgbnbgppjihopabppdk : Video Speed Controller : version 0_6_4
njabckikapfpffapmjgojcnbfjonfjfg : cookies.txt : version 1_14_1
nkeimhogjdpnpccoofpliimaahmaaome : Google Hangouts : version 1_3_15
nmmhkkegccagdldgiimedpiccmgmieda : Chrome Web Store Payments : version 1_0_0_5
oejgccbfbmkkpaidnkphaiaecficdnfn : Toggl Track: Productivity & Time Tracker : version 1_66_10
pbcodcjpfjdpcineamnnmbkkmkdpajjg : Link to Text Fragment : version 1_2_0
phacniajokfchdcamjhonkbhlcipplno : Scratch 3 Developer Tools : version 0_2_4
pjkljhegncpnkpknbcohdijeoejaedia : Gmail : version 8_3
pkedcjkdefgpdelpbcmbmeomcjbeemfm : Chrome Media Router : version 8720_1005_0_2
pmcmeagblkinmogikoikkdjiligflglb : Privacy Redirect : version 1_1_43

Thanks for the prompt response! Let me know what else I might be able to check into…

crittermike commented 4 years ago

Yeah, that all looks fine to me. Very odd. I'll investigate and ponder a bit.