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

Modal dialogs often cause VM crashes #23

Open
pavel-krivanek opened this issue Sep 5, 2023 · 1 comment
Open

Modal dialogs often cause VM crashes #23

pavel-krivanek opened this issue Sep 5, 2023 · 1 comment

Comments

@pavel-krivanek
Copy link
Contributor

The Spec-Gtk dialogs, when opened modal, often cause VM crashes after closing.

How to reproduce

Execute this code, always click on the big button to close the dialog.

| app presenter |
20 timesRepeat: [ 
	app :=  SpApplication new useBackend: #Gtk.
	presenter := SpButtonPresenter newApplication: app.
	presenter action: [ presenter window close ].
	presenter openModal.
].

We expected the crashes to be connected with the callbacks of the dialog buttons but, unfortunately, when we tried to remove these buttons completely, the crashes last, they only appeared less often.
On the other hand, there are no crashes when the dialog contains no callback, and it is closed using the window close button.

| app presenter |
20 timesRepeat: [ 
	app :=  SpApplication new useBackend: #Gtk.
	presenter := SpButtonPresenter newApplication: app.
	presenter openModal.
].
@guillep
Copy link
Contributor

guillep commented Sep 5, 2023

Could you post the crash or an excerpt? :)

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

No branches or pull requests

2 participants