Copy SSH key does not appear on the first try
Discussed on discord, found a workaround, but I doubt this is the intended behaviour so here we go.
Summary
When starting a new installation for a maintener profile for kara.moe, after inputting the git adress in the proper field, the button to generate an SSH key appears, but nothing to copy it. Pressing the button multiple times does nothing.
User has to fill out the form, save, close, and reopen Karaoke Mugen.
Which version and OS are you using?
Linux Mint 22, v8.0.30-next (Sakuya Splendide, 3a142661)
(also tested on Windows 10, on stable release (v8.0.22) portable version.)
How to reproduce the bug?
Input "git@gitlab.com:karaokemugen/bases/karaokebase.git" in the git repo field on the form when edition a karaoke repository. The "Generate new SSH key" appears. The copy SSH key button does not appear. Pressing the Generate SSH Key does not copy a key. Filling the whole form, saving, and coming back to it does not copy a key.
Log error message: "Could not update Git settings for repository : Not a git repository. Has it been cloned properly?"
User has to save, close the program, and open it again for the button to appear.
What's the actual bug behavior?
No option to copy SSH key
What should happen instead?
Button should appear right after clicking "generate SSH key" without having to restart the program
Logs and/or screenshots
No button appears after this step.
"Could not update Git settings for repository : Not a git repository. Has it been cloned properly?" (It has, I copy-pasted the correct adress)