question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[stashing] Double clicks of buttons throws error and double log entries

See original GitHub issue

If you click either the Restore or Discard buttons multiple times in row rapidly, you get this.

Restore = error msg Screen Shot 2019-04-12 at 2 51 50 PM

Discard = double logs Screen Shot 2019-04-12 at 2 52 32 PM

As for Clear, should we change to Discard so it’s inline with right-click in the Changes list?

5977a42c21, mac

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
shiftkeycommented, May 30, 2019

I was able to reproduce this on Windows with an external mouse and using Restore (with 3 files stashed) instead of Discard:

The impact seems to be minimal (the first git stash pop appears to complete successfully) but I think the app could handle this case better (disable the button while the restore is happening?)

1reaction
iAmWillShepherdcommented, Jun 3, 2019

The impact seems to be minimal (the first git stash pop appears to complete successfully) but I think the app could handle this case better (disable the button while the restore is happening?)

I agree that we should be disabling the button while the restore is working. We do this in other places in the UI, so doing what you suggest would ensure we are being consistent.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Possible fix for the Double Clicking issue on some mice
The Double Clicking issue is when you click once and it fires twice, so it activates twice even though it was pressed once....
Read more >
Visual studio 2019 Version 16.9.6 showing fake errors after build
I'm on Visual Studio 2019. After building the .sln in debug mode, I'm getting errors. When I double click the error from the...
Read more >
How to avoid inserting two same records twice when double ...
I have a popup window where there are two onclick methods as "Submit" and "Discard". When I click submit twice it insert two...
Read more >
Why does my mouse sometimes click twice on it's own ... - Quora
Every time you press a button, it is double clicked, so every now and then it creates two version, corrupts databases and generates...
Read more >
REDCap Frequently Asked Questions - Wiki@UCSF
From Development, you will move your project to Production by clicking the button on the Project Setup page. All survey and data entry...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found