What happened?
When closing a tab by middle-clicking on the tab (a standard Electron feature), it will (not always?) paste the clipboard contents into the URL bar, which if not an actual URL, will blank out the saved URL for the request. Note that this is different from the feature behavior of middle-clicking in the URL bar to paste (even if this is questionable behavior for a GUI app and should have a toggle to turn off).
Steps to reproduce?
1. Open a saved Request
2. Have text in the clipboard
3. Middle-click on the tab (not the URL bar) to close the Request
4. Clipboard text sometimes pastes into the URL bar
What did you expect to happen?
I expect the tab to close without modifying the saved Request.
Platform
Linux
HTTPie Desktop version
2022.5.1
Relevant log output
Code of Conduct