这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@scribblemaniac
Copy link
Member

Initially this was a fix for the 'x' button of the project recovery dialog not doing anything, however I ended up adding a couple other changes at the same time. There is now a Cancel option in that dialog which will ignore the unrecovered project until next time the program is started. This is an important option when running multiple Pencil2D instances (which you shouldn't do!), and it is in my opinion the most appropriate behavior to take when a user dismisses the dialog without explicitly choosing to open or delete the unrecovered project. This is also now the button that receives focus by default so if the user happens to press enter before reading the dialog, no harm is done.

I also have added support for handling multiple unrecovered projects. Previously, a dialog would only show up for the first unrecovered project, but now it show a dialog for every unrecovered project unless the user has opened one for recovery. It's not the most elegant solution, but it's not a situation that should come up often.

@scribblemaniac scribblemaniac added Enhancement UI Related to the visual appearance of the program labels Nov 6, 2025
@github-project-automation github-project-automation bot moved this to Needs Review in Pull Request Priority Nov 6, 2025
Copy link
Member

@MrStevns MrStevns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested the new functionality and it works as expected for me.

Changes looks good to me 👍

@github-project-automation github-project-automation bot moved this from Needs Review to Approved in Pull Request Priority Nov 16, 2025
@chchwy chchwy force-pushed the multi-project-recovery branch from 39b5c41 to 21f869e Compare November 17, 2025 15:40
@chchwy chchwy force-pushed the multi-project-recovery branch from 21f869e to 083564e Compare November 18, 2025 04:11
@chchwy
Copy link
Member

chchwy commented Nov 18, 2025

Thanks for the contribution.

I would question why Pencil2D shouldn't allow multiple instances to run at the same time. Many drawing apps can do this. But we can discuss it later. Well done!

@chchwy chchwy merged commit 59079f9 into pencil2d:release/0.7.1 Nov 18, 2025
7 checks passed
@github-project-automation github-project-automation bot moved this from Approved to Merged in Pull Request Priority Nov 18, 2025
chchwy pushed a commit that referenced this pull request Nov 18, 2025
Project recovery: add cancel button and multi-project handling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement UI Related to the visual appearance of the program

Projects

Development

Successfully merging this pull request may close these issues.

3 participants