Since I don't want to have extra issues when I'll test my project on other machines, I've decided to try make some kind of Lock/Unlock some buttons whenever the CPU is busy for Saving/Loading Project file and Exporting/Importing Image file.
I just got started with a very simplistic logic by creating a Global Boolean called: "is_CPU_Busy"
Before I'll add the actual buttons/menus I want to lock, I made a simple 9-patch PANEL with TEXT (Pinned to the Panel) so it will be a visual way to check beside the Console (F12).
The Panel TEXT is out of the Layout by default, and when "is_CPU_Busy" = True it changes position to a specific place:
I actually made the LOADING part works in a way, it's not perfect yet (need to add "on cancel" etc..)
But I'm having issues with the SAVE part... it won't show the PANEL with the Text, I tried to follow what I did in the LOADING but I can't get it to work correct.
I tried some different approaches, I get to show it but then the panel stay on the screen (on save complete) instead of go back to it's position based on the "is_CPU_Busy" Bool, just like it works when I click "LOAD" that's where I got confused.
Console (F12) didn't show anything strange so I'm on a trial and errors now, and I make things more complicated than they should instead of making it clean and efficient.
Note: the screenshots are NOT my current latest version, I'm still playing with the code as you read this post BUT! you can see the rough idea of what I got started (a total mess) but it's just so you can have a look and give me a hint how to make it work more efficient if possible, Any help is appreciated, thanks ahead! :)