Skip to content

Conversation

@carlos-zamora
Copy link
Member

@carlos-zamora carlos-zamora commented Aug 28, 2019

Summary of the Pull Request

Unfortunately, we can't necessarily guarantee that you can open the clipboard. It just happens -.-. So, let's catch this error and not crash the Terminal.

References

PR Checklist

Copy link

@73794449 73794449 left a comment

Choose a reason for hiding this comment

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

Good change

Copy link
Member

@zadjii-msft zadjii-msft left a comment

Choose a reason for hiding this comment

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

@DHowett-MSFT we should probably push a hotfix update with this change. Dunno if we have others, but this one definitely

@zadjii-msft zadjii-msft added Product-Terminal The new Windows Terminal. Severity-Crash Crashes are real bad news. labels Aug 29, 2019
Copy link
Member

@miniksa miniksa left a comment

Choose a reason for hiding this comment

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

Approved but left unmerged so @DHowett-MSFT can see this and consider for patch release.

@DHowett-MSFT DHowett-MSFT merged commit 7ec6bfc into master Aug 30, 2019
@DHowett-MSFT
Copy link
Contributor

Yes, we should service.

@shem-sargent
Copy link

Thank you @carlos-zamora for addressing this issue so quickly!

Clipboard::SetContent(dataPack);
Clipboard::Flush();
}
CATCH_LOG();
Copy link
Contributor

Choose a reason for hiding this comment

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

Strange thing is that it still crashes to me (every time I do copy). However if I change CRASH_LOG(); to catch(...) { } then there is no longer a crash.

@beevvy
Copy link
Contributor

beevvy commented Sep 18, 2019

Yes, we should service.

@DHowett-MSFT Any ETA for the hotfix? The build of Terminal that is in MS Store is pretty much unusable and it's not even possible to downgrade to a previous release, which I was pretty happy with.

@ghost
Copy link

ghost commented Sep 24, 2019

🎉Windows Terminal Preview v0.5.2661.0 has been released which incorporates this pull request.:tada:

Handy links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Product-Terminal The new Windows Terminal. Severity-Crash Crashes are real bad news.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Copy to clipboard action causes application fault

9 participants