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

Application: Implement startup() #710

Merged
merged 11 commits into from
Apr 7, 2023
Merged

Conversation

Marukesu
Copy link
Contributor

@Marukesu Marukesu commented Mar 9, 2023

Handy initialization and CSS loading is done here now, the new-window and quit action are implemented here too since there's no reason for them to be part of the window class. one behaviour diference is that the quit action now closes all windows instead of only the current window matching others elementary applications.

Marukesu and others added 3 commits March 8, 2023 22:40
handy initialization and css loading is done here now, the new-window and quit
action are implemented here too since there's no reason for them to be part of
the window class. one behaviour diferrence is that the quit action now closes
all windows instead of only the current window matching others elementary
applications.
@danirabbit danirabbit requested a review from jeremypw March 13, 2023 22:23
@jeremypw
Copy link
Collaborator

@Marukesu #709 is merged - a conflict needs to be resolved.

Copy link
Collaborator

@jeremypw jeremypw left a comment

Choose a reason for hiding this comment

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

There seems to be a regression in that quitting with the quit action now does not save tabs. Reopening just restores the home tab.

Copy link
Collaborator

@jeremypw jeremypw left a comment

Choose a reason for hiding this comment

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

No regressions found, but the CI is currently failing on tests

@Marukesu
Copy link
Contributor Author

Marukesu commented Apr 5, 2023

@jeremypw testing locally, the CI was falling because of the Idle in on_switch_page() in the MainWindow class. #720 should fix it.

@jeremypw
Copy link
Collaborator

jeremypw commented Apr 5, 2023

For me it was failing in the "quit" action test. I tried to fix it but failed. We could always leave that test out and fix it later if necesssary.

@jeremypw
Copy link
Collaborator

jeremypw commented Apr 6, 2023

#720 now merged ... but CI still failing 😞 However, CI passed locally 🤷‍♂️

@jeremypw
Copy link
Collaborator

jeremypw commented Apr 6, 2023

Hmm, contrary to my previous diagnosis the CI is (now) failing on the "new-window" action test. See #723

@Marukesu
Copy link
Contributor Author

Marukesu commented Apr 6, 2023

Hmm, contrary to my previous diagnosis the CI is (now) failing on the "new-window" action test. See #723

the new-window test is fine, GLib.Test.skip() don't return by itself, so the assertion in the quit test got triggered.

@jeremypw jeremypw merged commit 1a114de into master Apr 7, 2023
@jeremypw jeremypw deleted the maru/gapplication-startup branch April 7, 2023 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants