atom-remember-session icon indicating copy to clipboard operation
atom-remember-session copied to clipboard

Package not working on 0.169.0

Open diegocard opened this issue 10 years ago • 5 comments

After upgrading to 0.169.0, this packaged seemed to stop working.

I'm using the latest windows installer, but I tested it on a Mac and I got the same result.

Thanks

diegocard avatar Jan 09 '15 18:01 diegocard

I'm seeing a similar problem - it doesn't remember my session. Not getting any errors through the UI either.

magic-lantern avatar Jan 19 '15 21:01 magic-lantern

I can confirm the same issue on 0.175.0 (OS X).

mzgajner avatar Jan 26 '15 14:01 mzgajner

This is not a solution but a workaround: If you edit remember-session.js in your .atom/packages/remember-session/lib directory, you can add this line of code around line 20: setInterval saveSession, 3000

Here is what line 20 looks like when I posted this: https://github.com/hampustagerud/atom-remember-session/blob/12c685b2206c61b34e0a6bc344134f48bff8f4d9/lib/remember-session.coffee#L20

I don't know why atom is not firing the beforeunload event anymore... are these events? Maybe this will help the dev: https://gist.github.com/ardcore/9262498

kylepaulsen avatar Jan 27 '15 03:01 kylepaulsen

Thanks @kylepaulsen, this fixed it - except for the fact it's not saving panes (no matter how many i have before closing, i just get one after reopening).

mzgajner avatar Jan 27 '15 10:01 mzgajner

@mzgajner Ah, yeah, I can see that. This is my second day trying atom so I hadn't even used panes yet. Unfortunately I don't think a fix (or workaround) can be done in one line like last time. I don't think this plugin is even storing the pane that a tab was on - so that would need to be done as well as writing code to re-open tabs into the correct pane. I might try to investigate more later when I have time.

kylepaulsen avatar Jan 27 '15 18:01 kylepaulsen