14

With reference to: Bookmarks have evolved into Saves

Double-clicking on the new Saves icon (below the Downvote arrow) displays the An error occurred message approximately 10-20 percent of the time (presumably depends on factors such as double-click speed, quality of internet connection, mouse movement, etc.)

An error occurred

It is reproducible. However, to display the error message it may be necessary to double-click quickly multiple times in a row.

I tested this on Stack Overflow and Meta Stack Exchange

I expected a "Saves Manager Dialog" to appear when I double-clicked the Saves icon, however this has not been implemented.

8
  • 1
    Why a normal user will do such a thing? I see no reason. Commented Oct 6, 2022 at 6:40
  • 9
    I am a normal user. If I see "An error occurred" message, I feel I should report it. I noticed it the very first time I used the feature with just one double-click. The above report about multiple double-clicking is to demonstrate how to reproduce it.
    – PeterJames
    Commented Oct 6, 2022 at 6:42
  • Sure, but to Save a post one click is enough. Clicking it 10-20 times on purpose is trying to make a bug on purpose. Of course, ideally it can be fixed by disabling the button while the request is pending, but what I'm saying is that it's very low impact. Commented Oct 6, 2022 at 6:48
  • My use case was different. I saved a post and then I wanted to move it to another list. However, clicking on the Saves icon simply unsaved it -- which is obviously the correct behavior. So, I tried to double-click it. And I saw the error message. I am sure it is low impact.
    – PeterJames
    Commented Oct 6, 2022 at 6:53
  • 9
    @ShadowTheKidWizard Sometimes my mouse registers two clicks when I click once. If that happens when clicking the button and the error message comes up, it's extremely confusing. Commented Oct 6, 2022 at 6:54
  • 4
    Most likely the same root cause of this bug.
    – 41686d6564
    Commented Oct 6, 2022 at 8:04
  • 1
    A lot of normal users, incl. highly trained Ph.D.s, double-click on things in a web browser, even many years later. Presumably, it is a skill transferred from using desktop GUIs. (Informal) usability testing lets you see such things firsthand. Commented Nov 22, 2022 at 11:59
  • @This_is_NOT_a_forum I fail to see how the Joel Test got anything to do with clicking several times in a row on things. It was good blast from the past to read it, but it's not related here. Commented Nov 22, 2022 at 13:44

1 Answer 1

6

Thanks for reporting this issue! This is caused by a race condition where a user attempts to save a post that's already saved, or unsave a post that's not saved.

The issue happens when someone clicks on the button really fast more than once, but the backend hasn't properly processed the first click yet.

For now, we made some front-end and back-end improvement. This issue shouldn't happen anymore if a user double clicks on the button.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .