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

fix crash dialog dismiss behavior #2360

Merged
merged 1 commit into from
Jan 3, 2025
Merged

Conversation

ge0rdi
Copy link
Contributor

@ge0rdi ge0rdi commented Jan 3, 2025

When crash dialog was dismissed (escape, close dialog), PhShowTaskDialog returned IDCANCEL which value (2) was the same as value for "Normal" dump button.

It was probably not expected to create crash dump when user dismissed the dialog.

So we will use distinct values for custom dialog buttons.

When crash dialog was dismissed (escape, close dialog), `PhShowTaskDialog` returned `IDCANCEL`
which value (2) was the same as value for "Normal" dump button.

It was probably not expected to create crash dump when user dismissed
the dialog.

So we will use distinct values for custom dialog buttons.
@ge0rdi
Copy link
Contributor Author

ge0rdi commented Jan 3, 2025

One more thing related to crash dialog.
It seems many users create mini dumps that contain just bare amount of information.

Shouldn't we somehow encourage them to create at least normal dump?
We can make that button default.
Or add information that this is preferred.

What do you think?

@jxy-s
Copy link
Member

jxy-s commented Jan 3, 2025

One more thing related to crash dialog. It seems many users create mini dumps that contain just bare amount of information.

Shouldn't we somehow encourage them to create at least normal dump? We can make that button default. Or add information that this is preferred.

What do you think?

I think the default is appropriate (exit without collecting a dump). I would prefer at least a normal dump from crashes. I think the encouragement "this dump file is the most useful" is probably reasonable as it is. I'm not sure if adding "preferred" is a substantial nudge over what is already there.

@jxy-s jxy-s merged commit d3c722c into winsiderss:master Jan 3, 2025
3 checks passed
@ge0rdi ge0rdi deleted the crash-dialog-fix branch January 3, 2025 18:30
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.

2 participants