Open jwdevel opened 9 years ago
After experimenting some more, there are cases where you can middle-click paste into the URL bar successfully.
You must first normal-click somewhere in the main pane of the window (eg: in the "body" portion).
So, this works:
I'm not sure if this is the same as previous versions. It may be that I had gotten used to that practice (or lucky with it), and this version behaves the same as previous ones...
(migrated from google code — whoops)
What steps will reproduce the problem?
Expected behavior:
I expect my copied text to be pasted into the URL bar. In other programs, such as firefox, this is indeed what happens.
Actual behavior:
As soon as the rest-client window becomes active, it highlights the text in the URL bar, causing that to become the primary selection.
Then the middle-click is processed, which ends up just duplicating whatever text was already in the URL bar.
What version of the product are you using? On what operating system?
version 3.4.2, on Fedora 21.
Please provide any additional information below.
This used to work in a previous version of rest-client. The previous version did have the bad behavior of auto-selecting the URL often, but in this particular case, it would paste the text before mucking with the selection. I don't know what changed to cause this.
I note that you can paste in this way into the "body" window (maybe other places, too). This bad behavior is specific to the URL bar.
In general though, it would be nice if rest-client just left selections alone, to avoid this issue completely.
Copy/paste when operating purely inside rest-client (either via Ctrl+C/Ctrl+V or the PRIMARY selection) works as expected.