Repository navigation
fix: synfig studio was not saving synfigapp settings on quit - #2751
Merged
Merged
Conversation
ice0
previously approved these changes
Jul 16, 2022
ice0
reviewed
Jul 16, 2022
Steps to reproduce the problem: 1. Select Bline Tool 2. Change a parameter in Tool Options Panel (e.g. Opacity or Line Width) 3. Restart Synfig Studio 4. Select Bline Tool and see the change was not saved. Reason: Since synfig#2497, we finally use Gtk::Application as base class for `App`. `App` is destructed before `MainWindow` is closed (basically at start). So, stuff done on quitting before merging synfig#2497 was not done on the right time now. As `signal-shutdown` is only called in primary instance of Gtk::Application, it's the proper moment to delete and finish stuff on application exit.
rodolforg
force-pushed
the
fix-missing-shutdown
branch
from
July 16, 2022 12:26
603ef9b to
42f459f
Compare
ice0
approved these changes
Jul 16, 2022
Collaborator
|
Merged. Thank you! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Steps to reproduce the problem:
Reason:
Since #2497, we finally use Gtk::Application as base class for
App.Appis destructed beforeMainWindowis closed (basically at start).So, stuff done on quitting before merging #2497 was not done on the right time now.
As
signal-shutdownis only called in primary instance of Gtk::Application,it's the proper moment to delete and finish stuff on application exit.