DavidRogers / kato

A Windows client for monitoring Jenkins builds
MIT License
38 stars 26 forks source link

Lose Settings on Reboot #1

Closed dresnick closed 7 years ago

dresnick commented 10 years ago

I've found that Kato loses its settings, whenever I reboot my computer, running Windows 7. By "settings" I mean the Jenkins server and the specific projects that I want Kato to report on. Is there a way to have Kato not lose its settings?

DavidRogers commented 10 years ago

Yes, you just had to close the app manually for it to save... I just deployed a fix for it (85ac2179e27f25b908e80ca1d6ae924007e0742c). Just restart the app and it will auto update!

dresnick commented 10 years ago

Thanks!

From: David Rogers [mailto:notifications@github.com] Sent: Thursday, May 29, 2014 12:35 PM To: DavidRogers/kato Cc: Douglas Resnick Subject: Re: [kato] Lose Settings on Reboot (#1)

Yes, you just had to close the app manually for it to save... I just deployed a fix for it (85ac217https://github.com/DavidRogers/kato/commit/85ac2179e27f25b908e80ca1d6ae924007e0742c). Just restart the app and it will auto update!

— Reply to this email directly or view it on GitHubhttps://github.com/DavidRogers/kato/issues/1#issuecomment-44574648.

This email message may contain confidential information. If you have received it by mistake, please let us know by e-mail reply and then delete it from your system. You may not copy this message or disclose its contents to anyone. The integrity and security of this message cannot be guaranteed on the Internet. All reasonable precautions have been taken to ensure no viruses are present in this e-mail. As our company cannot accept responsibility for any loss or damage arising from the use of this e-mail or attachments we recommend that you subject these to your virus checking procedures prior to use.

Vall3n commented 8 years ago

Kato is still losing settings for tracked projects every time you restart the app. It only remembers the server.

Version 1.2.0.3 (about page)

I can see that the user.config file gets updated by the application whenever I add projects and minimize the app to tray, but the only settings in there are "ViewMode" and "Servers"

DavidRogers commented 8 years ago

Thanks for the report, Ill look into it.

Vall3n commented 8 years ago

The issue here is that the C:\Users{USER}\AppData\Local\Kato folder was not created, seems like the click-once application does not have the correct permissions.

Creating the folder manually is a workaround.

DavidRogers commented 7 years ago

In https://github.com/DavidRogers/kato/commit/ed0fc08f4c42ef51d2d3d57244e264b5680b0a45 I made sure that settings are not saved if there is no internet connection.