zielu / GitToolBox

GitToolBox IntelliJ plugin
GNU General Public License v3.0
607 stars 76 forks source link

[Feature] Disable Automatic fetch when the screen is locked #260

Open cnrd opened 4 years ago

cnrd commented 4 years ago

First of all thank you for the plug-in.

My problem is that when the screen on macOS is locked, it also locks the keychain, the result is that if I leave my computer for 15+ minutes, I will get a set of password prompts for each 15 minutes that I have left the screen locked.

Would it be possible to add a feature where the automatic fetch is disabled when the screen is locked, to prevent this barrage of login prompts that I have to close upon return?

Thanks

zielu commented 4 years ago

It seems this will require some jna magic

shinramyun commented 1 year ago

I have enjoyed the plugin so far. As mentioned by the user above, that is also a problem for me on Windows. It would be nice to not get a popup when I walked away for lunch or end of the day. Thank you!

zielu commented 1 year ago

Hi, I have some good news - going back to this topic after your comment I managed to find a possible way to do this. I'll need to test it first but there is hope for this feature.