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

The application crashes when users press ctrl+V while displaying the Date Calculation page. #389

Closed
rudyhuyn opened this issue Mar 26, 2019 · 3 comments · Fixed by #391
Closed

Comments

@rudyhuyn
Copy link
Contributor

Describe the bug
The application (including the public version) crashes when users press ctrl+V if the application only displayed the Date Calculation page during its lifecycle (application started with Date Calculation and no navigation happened).

This bug only happens with Date Calculation, the only page not managing the clipboard.

Steps To Reproduce

  • Copy a random text in your clipboard
  • launch the app
  • Select Date Calculation
  • Close the app
  • Launch the application again
  • Press Ctrl+V (

Expected behavior
The application shouldn't crash

Screenshots

Device and Application Information:

  • OS Build: 10.0.18361.0
  • Architecture: X64
  • Application Version: 10.1812.10048.0
@grochocki
Copy link
Contributor

Good catch, thanks! I can repro easily.

@MicrosoftIssueBot
Copy link
Collaborator

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.

@alexyorke
Copy link

On 10.1902.42.0, pasting text (e.g. issue come i) into the date field then going back to standard yields "Invalid input", even though input was not pasted in using Standard mode. Not sure if this would be an issue or if this is related to this one. It also causes Standard mode to lose its current calculation output when doing so when switching back to it.

HowardWolosky pushed a commit that referenced this issue Apr 15, 2019
…ation and users paste a text (#391)

Fix the else condition in ApplicationViewModel::OnPaste

How changes were validated:
Manually

Fixes #389
@MicrosoftIssueBot MicrosoftIssueBot added fixed and removed triage approved Issue has been approved by Calculator team member Bug Issue is a bug labels Apr 15, 2019
@ghost ghost locked as resolved and limited conversation to collaborators Dec 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants