Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save as doesn't change file to the new file in TTk Designer #225

Closed
smartkid2024 opened this issue Jan 29, 2024 · 7 comments · Fixed by #231
Closed

Save as doesn't change file to the new file in TTk Designer #225

smartkid2024 opened this issue Jan 29, 2024 · 7 comments · Fixed by #231
Assignees
Labels
enhancement New feature or request

Comments

@smartkid2024
Copy link

smartkid2024 commented Jan 29, 2024

Hi I have opened the file and then saved it as a new file but the opened file doesn't change to the new file that I created by the save as so if I change something to that file it overrides the old one and the main file in TTk Designer
image

Also when I make some changes and open a new file it doesn't ask to save changes and all my changes will be lost

@ceccopierangiolieugenio
Copy link
Owner

yep,
the logic of the saving mechanism and environment is very basic,
I need to make it more consistent,
I am curious to check if there are some guidelines about consistent uidesign.

@ceccopierangiolieugenio ceccopierangiolieugenio added the enhancement New feature or request label Jan 29, 2024
@smartkid2024
Copy link
Author

yep, the logic of the saving mechanism and environment is very basic, I need to make it more consistent, I am curious to check if there are some guidelines about consistent uidesign.

Also please add undo and redo if it's possible
Also copy paste or duplicate

@ceccopierangiolieugenio
Copy link
Owner

That's already there (the logic at least),
I am waiting to finish the "Shortcut" feature in order to push all the changes and allow "CTRL+Z" "CTRL+Y" to be used for the undo/redo

@ceccopierangiolieugenio
Copy link
Owner

Starting to implement the undo/redo in #228

@ceccopierangiolieugenio
Copy link
Owner

undo/redo is available in
ttkDesigner-0.38.0a0
I will fix the filename issue soon

@ceccopierangiolieugenio ceccopierangiolieugenio linked a pull request Feb 6, 2024 that will close this issue
ceccopierangiolieugenio added a commit that referenced this issue Feb 6, 2024
…change-default-file-after-saveAs

Fix: #225 : improve saveAs logic usecase
@ceccopierangiolieugenio
Copy link
Owner

ceccopierangiolieugenio commented Feb 6, 2024

Filename Issue fixed in
ttkDesigner-0.38.0a2

@ceccopierangiolieugenio
Copy link
Owner

Raised #232 for the ask to save feature
Raised #233 for a widget clipboard (copy/paste) - I feel it can be tricky but I feel that can be implemented with a simple workaround of the undo/redo feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants