insomnium icon indicating copy to clipboard operation
insomnium copied to clipboard

Had to submit twice to effectively execute the request

Open paulo-dc opened this issue 1 year ago • 3 comments

Expected Behavior

When I click on the "send" button on a request with a prompt funtion in the URI, a popup appear in order to provide the information missing.

After setting the desired value, a single click on the button "submit" should send the request.

Actual Behavior

When I click on the "submit" button, instead of sending the request, the popup disappear, et reappear. I have to click again, a second time, on the button "submit", and now the request is sent.

Reproduction Steps

  1. select a request with a prompt functionin the uri
  2. click on send button
  3. provide the desired value and click on submit button

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

0.2.1-b

What operating system are you using?

Windows

Operating System Version

Windows 10 Entreprise 22H2

Installation method

portable

Last Known Working Insomnium version

No response

paulo-dc avatar Oct 18 '23 07:10 paulo-dc

hey thanks for the report; I will need to investigate the prompt function more for this

archywillhe avatar Oct 23 '23 20:10 archywillhe

Hello, many thanks.

I found out this behaviour is not related specifically to Insomnium. It is prefesent also in the version 2023.5.8 of Insomnia. And not only with the prompt function. We can reproduce it in the preferences, in the plugins tab :

  • in Insomnium or Insomnia 2023.5.8, we have the click twice on the check boxe of a plugin to toggle it.
  • In Insomnia v2023.4.0 no issues with prompt function, or in the preferences/plugin tab. One click is enough to do the action

Something changed between version 2023.4.0 -- 2023.5.8 of Insomnia. I will try to take some time to see which version of Insomnia introduce this issue.

paulo-dc avatar Nov 14 '23 14:11 paulo-dc

Finally, it was fast to find the release of Insomnia which introduce this issue !

  • 2023.4.0 : no issue !
  • 2023.5.0 and after : issue present !

paulo-dc avatar Nov 14 '23 14:11 paulo-dc