Red Hat Bugzilla – Bug 1032888
Fail to copy & paste whole ssh url with middle click on Firefox25
Last modified: 2015-05-14 21:31:23 EDT
Description of problem:
Create an app and add ssh key. Go to app view page (i.e. app/console/application/<uuid>-<app_name>) and check ssh url. Then tried to copy&paste ssh url with middle click. Only can copy the word under mouse, fail to copy the whole ssh url although selecting all.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create an app and add ssh key
2. Go to app view page and try to copy & paste ssh url
Only can copy&paste the word under mouse with middle click, can't copy&paste whole ssh url althought selecting all.
Should copy&paste whole ssh url with middle click.
Will modify code to select text immediately on mousedown. Will merge in https://github.com/openshift/origin-server/pull/4216
Not sure if this will allow the OS to copy on middle-click, but it's the best we can do.
It looks like firefox will not allow middle-click to copy text out of the input field. Can close as cantfix since the browser doesn't appear to allow it.
Commit pushed to master at https://github.com/openshift/origin-server
Fix bug 1032888: select ssh url on mousedown