quellus / GDTuber

A dynamic PNGTuber program made in Godot
MIT License
21 stars 12 forks source link

Windowsizelock #96

Closed Addaadostuff closed 1 month ago

Addaadostuff commented 1 month ago

Its Functional, but the settings arent saved at this State

Menu items created, Function linked WindowManager extended

Addaadostuff commented 1 month ago

I can implement

The spin boxes should automatically populate with the actual window size when the lock is enabled

but saving and loading is a problem right now.

Screenshot 2024-08-02 184645

Should not add it to version 0.9 and 0.10 wont work, and also 0.11 will be a proplem in loaddata if version >= 0.11: means => 0.2 > 0.11 I think the "Version" should change to string before adding these value in _load_data.

_save_data looks fine to already add it to.

What do you think?

quellus commented 1 month ago

Oof I forgot about the version number issue. We don't want to increment to 1.0 until we hit a milestone. Code and I were talking about changing version number to a string and we have it on the roadmap. Looks like we're at a tipping point where it needs to be our highest priority now. I think this issue might be blocked by that. I'll spend some time working on it today.

Addaadostuff commented 1 month ago

okay, if possible i would want to avoid making a rebase, (bad memories from a lot of failed merges) You could make another issue /pull request after you are done. Or inlcude these 3 variables while you are already chancing the save/load functions.

quellus commented 1 month ago

I don't mind rebasing and resolving the merge conflicts! Whatever happens, I'll make sure your commits stay intact so you get credit for your contributions

quellus commented 1 month ago

I did the version string thing in #102 . Need Code's review though. There is a chance we won't get it merged until Sunday, but I'll poke him and see if he has time.

quellus commented 1 month ago

Code and I just looked at your latest changes in a call and here's our notes:

We did the save system change. It shouldn't cause any merge conflicts. Just need to merge our main branch into yours!

Addaadostuff commented 1 month ago
  • Every time the lock is toggled, the window shrinks by 10 pixels

I stoped the shrinking, but i can't fix the margin changes on the title.

https://github.com/godotengine/godot/issues/81640